RAK2305 WisBlock Wireless Module Quick Start Guide
Prerequisites
- Assemble the RAK2305 with a WisBlock Base and WisBlock Core by following the RAK2305 Installation Guide.
- Download and install the Arduino IDE, then add the RAKwireless Core boards by installing the RAKwireless Arduino BSP.
- USB Cable
- Li-Ion/LiPo battery (optional)
- Solar charger (optional)
- USB to UART TTL adapter(to flash image)
- Jumper (to flash image)
Software Configuration and Examples
The RAK2305 operates using the ESP-AT firmware developed by Espressif. In this setup, a WisBlock Core acts as the initiator sending AT commands via UART, and the RAK2305 acts as the target processing the commands one by one.
For the complete list of supported commands, refer to the Espressif AT Command Set online documentation.
Initial Test of the RAK2305 WisBlock Wireless
The AT commands start with AT and end with a new line (CR LF) and the default baud rate of AT Command UART is 115200.
Make sure to use the setup() function with timeout.
void setup()
{
time_t timeout = millis();
// Open serial communications and wait for port to open:
Serial.begin(115200);
while (!Serial)
{
if ((millis() - timeout) < 5000)
{
delay(100);
}
else
{
break;
}
}
}
- First, you need to select the WisBlock Core you have.
Selecting RAK4631 as WisBlock Core.
- Then select RAK11310 as WisBlock Core.
Examples
For RAK4631 WisBlock Core
- ESP-AT Command Test - Waits for an AT command typed at the console, sends it to the RAK2305, and waits for a reply.
- Connect to Access Point - Connects to a known access point and sends a ping to "8.8.8.8" every 5 seconds.
For RAK11310 WisBlock Core
- ESP-AT Command Test - Waits for an AT command typed at the console, sends it to the RAK2305, and waits for a reply.
- Connect to Access Point - Connects to a known access point and sends a ping to "8.8.8.8" every 5 seconds.
For All WisBlock Cores
- AT Command Examples from Espressif - Official Espressif AT command examples.
