Send data to Ubidots using RN131
=================================
Communicate with the RN131 module through the serial port. Plug your device to your computer and open a serial terminal.
The speed must be 9,600 bauds, then enter the following commands in the serial terminal. You should type the string “$$$” before each set of commands to enter the command mode:
**Command set #1:**
```
$$$
factory RESET
reboot
```
**Command set #2:**
* Replace WIFISSID for you SSID
* Replace WIFIPASSWORD for the password of you Network.
Note: if your network has spaces something like "Wifi Net" you must replace the spaces with the character "$" ex: Wifi Net => Wifi$Net
```
$$$
set wlan ssid WIFISSID
set wlan pass WIFIPASSWORD
set wlan join 1
save
reboot
```
**Command set #3:**
* Replace TOKEN whit your Ubidots token (https://app.ubidots.com/userdata/api/)
* Replace with your DATASOURCE_ID.
```
$$$
set ip proto 18
set ip host 0
set ip remote 80
set dns name translate.ubidots.com
set com remote POST$/microchip/rn131/?tk=TOKEN&value=
set option deviceid DATASOURCE_ID
set q sensor 0xFF
set option format 0xF
set sys auto 3
save
reboot
```
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.