All Collections
Connect your Devices
Connect an Arduino UNO + WIZnet WizFi250 to Ubidots over HTTP
Connect an Arduino UNO + WIZnet WizFi250 to Ubidots over HTTP

Learn to setup and connect the WIZnet WizFi250 of Seeedstudio with Ubidots IoT Application Development Platform over HTTP.

Sergio M avatar
Written by Sergio M
Updated over a week ago

The Wifi shield(Fi250)is a economic internet connectivity solution that is easily enabled using Arduino software. The Wi-Fi module supports IEEE 802.11b/g/n mode with a maximum speed up to 65Mbit/s. The Wifi shield (Fi250) combines with an on-board antenna making it easy to build your project in a small, protective case. 

The module comes with a computer interface software which allows you to control and upgrade the module via USB-UART converters.

Following this guide you will be able to POST data to Ubidots using the WIZnet WizFi250 shield connected to an Arduino UNO Board in just a couple of minutes!



  1. Hardware Setup 

  2. Setting up the Arduino IDE 

  3. Sending (POST) Data to Ubidots 

  4. Summary

1. Hardware Setup 

1. To begin, place the WIZnet WizFi250 shield atop the Arduino UNO and gently apply pressure to connect the shield's pins with the board's headers. Now with the Arduino Uno +  WizFi250 shield assembled you are able to connect to the internet via WiFi.

2. Setting up Arduino IDE

1. Download the Ubidots WizFi250 library and install it. For a detailed explanation of how to install libraries using the Arduino IDE, simply refer to this Ubidots guide.  

3. Sending (POST) Data to Ubidots

With the following sample code you will be able to post the ANALOG readings taken from Arduino Board analog port A0, A1 and A2.

1. To post your first value in Ubidots, open the Arduino IDE and paste the sample code below. Once you have pasted the code, you will need to assign the following parameters:

  • The SSID of the WiFi and the Password of the network

  • The Variable ID of the variables you will be updating in Ubidots. If you do not have the variable IDs, simply create the shell variables you need and then update your firmware to contain the correct Variable IDs. 

#include "UbidotsWizFi250.h"
#define WLAN_SSID       "OpenWRT"  // Your WiFi SSID, cannot be longer than 32 characters!
#define WLAN_PASS       "Your_pass_here"  // Replace it with your WiFi pass
// Security can be OPEN, WEP, WPA, WPAAES, WPA2AES, WPA2TKIP, WPA2

#define TOKEN "Your_token_here"  // Replace it with your Ubidots token
#define VARLABEL_1 "Your_variable_label_here" // Replace it with your Ubidots' variable ID
#define VARLABEL_2 "Your_variable_label_here" // Replace it with your Ubidots' variable ID
#define VARLABEL_3 "Your_variable_label_here" // Replace it with your Ubidots' variable ID

Ubidots client(TOKEN);

void setup() {
  while(!client.wifiConnection(WLAN_SSID, WLAN_PASS, WLAN_SECURITY));


void loop() {
  float value = analogRead(A0);
  float value2 = analogRead(A1);
  float value3 = analogRead(A2);

2. Next, Verify your code within the Arduino IDE. To do this, in the top left corner of our Arduino IDE you will see the "Check Mark" icon; press it to verify your code. 

3. Upload the code into your Arduino UNO + Ubidots WizFi250. To do this, choose the "right-arrow" icon beside the "check mark" icon. 

4. To verify the connectivity of the device and the data sent, open the serial monitor by selecting the "magnifying glass" icon in the top right corner of the Arduino IDE to see the connectivity logs. 

NOTE: If no response is seen in the serial monitor, try unplugging your Arduino Uno and then plugging it again. Also, make sure the baud rate of the Serial monitor is set to the same one specified in your code 115200 

At this point, the variables assigned in the code will be updating the analog readings the taken from the board.

DEPLOYMENT NOTE: The WIZnet WizFi250 module may have some issues with SoftwareSerial library. For this reason is impossible to implement a getValue  function.

4. Summary 

With this simple tutorial you are able to POST data to Ubidots with the ease of the Arduino IDE and an Arduino UNO Board + WIZnet WizFi250 Module.

Now its time to create Ubidots Dashboards to visualize your data and deploy your IoT solution!  :) 

Other readers have also found useful...

Did this answer your question?