The RN131/171 is a 802.11 b/g Wi-Fi evaluation kit that can be used to quickly add Wi-Fi connectivity to embedded applications. It has the flexibility to connect directly to a PC via a standard USB interface or to embedded processors through the TTL/UART interface.

This guide explains how to send all the analog inputs of your RN131/171 evaluation kit to Ubidots, without writing any code.



Ubidots provides a custom API endpoint for this kits. If you’re already familiar with Ubidots, you’ll notice this is not the typical guide where you code your device to send specific values to the cloud. On the contrary, this guide programs your device to send all the analog pins in a single post, having Ubidots automatically create the needed variables to display their data.

1.- As a logged in Ubidots user navigate to the “Sources” tab.

2.- Create a data source of the type “Microchip”–>“RN131/171 Evaluation Kits”:

3.- Provide the authentication details of the WiFi network your device will be connecting to:

4.- Plug the RN131/171 to your computer and follow the on-screen instructions on how to program it through the USB serial port. You’ll need to download a serial terminal like RealTerm for Windows, CoolTerm for Mac or Picocom for Linux. Ubidots will display the commands needed to program your device:

Establish a connection at 9,600 bauds with the device:

You can copy and paste the commands ONE BY ONE, except for the “$$$” symbols, which must by typed manually:

5.- Once you’ve entered the commands and rebooted, your device should output “OK” status responses every 3-5 seconds, depending on your WiFi speed. This means it’s sending data successfully.

6.- Go back to your Ubidots account and click on your datasource; you should see 9 variables, representing the analog pins in your device!

7.- Ubidots just created 9 variables, corresponding to the 9 analog pins of the device. Let’s say we’ll only be using “Sensor 4”, which has a motion sensor connected to it. This is where the motion sensor would be connected to:

  • RN131-EK
  • RN171-EK
Did this answer your question?