WiFi/Bluetooth/ZigBee 3 in 1 Shield for Arduino

Hardware and software

For debug whether a new wifi module normally work, we need the following hardware and software, as shown in Table 2-1.

Number Name Quality Function
1 WiFi module 1 Wireless communication
2 Arduino shield 1 WiFi connection
3 USB to RS232 1 Transformation and connection
4 5V1A voltage adapter 1 Provide voltage
5 Antenna 1 Transmit WiFi signal
6 PC tools 1 3:7
7 Mobile tools 1 3:8

The required materials are shown in Figure 2-1.

  1. Wifi module From Figure 2-1, wifi module has two rows of pins. If seen it in detail, there are labels for the two rows pins in wifi module, i.e., p1 and p2, which is denoted by the first row pins and the second ones. Each row of pins has 14 pins. Certainly, different type of wifi module is corresponding to the different labels. For example, wifi module is shown in Figure 2-2 has a mental shell, which facilitates heat dissipation, and its pins are labeled from 1 to 28. Similarly, all of the pins are arranged into two rows, each of which has 14 pins. Its schematic diagram could be seen in Figrue 2-3. When the 28 pins are inserted into the Arduino shield board, wifi signal is changed into serial signal, and/or vice versa. In general, there are two MAC addresses in the wifi module, which are used to look for the Application Point (Ap). The relevant context can be referred to the association in the first lesson part.
Number Function Direction Description
1 VCC Power in 5V power input
2 GND GND Power grand
3 WLAN_LED O WIFI start instruction
4 VDD Power out 3.3V power output
5 LINK_2 O Net gape 2 connection instruction
6 USB_P I/O USB signal +
7 USB_M I/O USB signal -
8 STA/GPIO_0 I/O Status instruction/GPIO_0
9 GPIO_1 I/O GPIO_1
10 ES/RST I Exit the passthrough/recovery factory value
11 TXOP2 A Net gape 2 TX-P
12 TXON2 A Net gape 2 TX-N
13 RXIP1 A Net gape 1 RX-P
14 RXIN1 A Net gape 1 RX-N
15 RXIN2 A Net gape 2 RX-P
16 RXIP2 A Net gape 2 RX-P
17 TXON1 A Net gape 1 TX-N
18 TXOP1 A Net gape 1 TX-P
18 RTS_N/GPIO_2 I/O Net gape 2 RTS
20 UART_RX I Serial 1 RX
21 UART_TX O Serial 1 TX
22 RXD/GPIO_3 I/O Serial 2 RX
23 LINK1 I/O Net gape 1 connection instruction
24 CTS_N/GPIO_4 O Serial 1 CTS
25 WPS/RST I WPS button/recovery factory value
26 TXD/GPIO_5 O Serial 2 TX
27 VDD_1_8 Power out Net gape 1.8V output
28 VCC Power in 5V input
  1. Arduino shield board

    From Figure 2-1, the Arduino shield board has two power provision ways; one is RS232 interface. As show in Figure 2-1, by using the cable USB to RS232, wifi signal can be changed into USB signal to computer by RS232 interface. So, when the wifi module are inserted into the Arduino shield, the power is provided by USB cable. But, since the Arduino and the shield board are powered by USB from computer, it may be not enough for the power source. Therefore, the best way to provide voltage is the use of power adapter. This can promise the enough power. In addition, by utilizing such Arduino shield, the communication ways can be wifi and Bluetooth (ble) for the short wireless communication.