Maduino Zero WiFi Halow
1.Introduction
Maduino Zero WiFi Halow is based on 32-bit Atmel's SAMD21 MCU and WiFi Halow module. Wi-Fi HaLow is a wireless communication technology based on the IEEE 802.11ah standard, which offers longer transmission distance, lower power consumption and better penetration capability than traditional Wi-Fi, making it ideal for IoT application scenarios.
//待补充产品图
2.Features
- ATSAMD21G18, 32-Bit ARM Cortex M0+
- Support AT Command
- Support Micro SD Card
- Interface: I2C/SPI/UART/18*GPIO
- Arduino Compatible
3.Interface
//待补充引脚定义图
4.Usage
1.Install Arduino IDE v1.8.19.
2.Install the Arduino Zero package in Arduino IDE.
- Select "Tools-->Board-->Boards Manager"
- Search "Arduino Zero", select version 1.8.2 and click install.
4.1 AT command Test
This demo program allows users to send AT commands to the module through the serial communication, and is designed to provide a convenient way for users to test the module, query the current status of the module, and other related operations.
-
Open the AT_Test by Arduino.
-
Use Type-C USB cable to connect the board and PC, and select correct Port number from the menu item below Board on the Tools Menu.
-
Select "Tools-->Arduino SAMD BoardS-->Arduino/Genuino Zero (Native USB Port)"
- Click Upload button to upload firmware to the board.
- Open the Serial Monitor to begin your test.
AT+CHAN_LIST //Setting the working frequency list
AT+BSS_BW //Setting the BSS bandwidth
AT+SSID //Setting the SSID
AT+KEYMGMT //Setting the encryption mode
AT+PSK //Setting the encryption password
AT+MODE //Setting the working mode
AT+RSSI //View device signal quality RSSI
AT+CONN_STATE //Checking the Connection Status
AT+WNBCFG //View device parameter information
AT+STA_INFO //View STA Information
AT+SCAN_AP //Scan for surrounding AP information
4.2 Transmits T&H data to another board
This demo sets one board to AP mode, which is responsible for receiving temperature and humidity data; And the other board is set to STA mode, which connects to the DHT11 for collecting temperature and humidity data and sending the data to the AP.
Prepare:
-
WIFI Halow boards*2
1.Install DHT sensor library v1.4.6
- Click “Tools> Manager Libraries” to search for and install DHT sensor library.
2.Wiring schematic:
WIFI Halow | DHT11 |
---|---|
PA04 | DATA |
3V3 | VCC |
GND | GND |
3.Open the wifi_halow_STA by Arduino.
4.Choose your frequency and comment out the other one.
- Click Upload button to upload firmware to the board.
5.Open the wifi_halow_AP by Arduino.
6.Choose your frequency and comment out the other one.
Note:AP and STA must be the same frequency.
-
Click Upload button to upload firmware to the another new board.
-
Open the Serial Monitor, you will see the temperature and humidity data sent from the STA.
5. FQA
You can list your question here or contact techsupport@makerfabs.com for technology support. Detailed descriptions of your question will be helped to solve your question.