Start with Arduino UNO WiFi

Connecting the Arduino UNO WiFi

To connect the Arduino UNO WiFi to your computer, you'll need a USB cable. 
The USB cable provides the power and the data communication to the board. 
When programming the UNO WiFi, you must choose "Arduino UNO WiFi" from the "Tools > Board" menu in the Arduino IDE.

Installing Drivers for the UNO WiFi

The first time you plug an UNO WiFi into a Mac, the "Keyboard Setup Assistant" will launch. There's nothing to configure with the UNO WiFi, so you can close this window by clicking the red button in the top left of the window.

Keyboard Setup Assistant
If you previously installed Arduino IDE, you already have drivers installed. 
If you haven't yet installed Arduino IDE, download the Windows version of the Arduino software from the official page here
When the download finishes, launch the file to install the software and the drivers. 
If you downloaded the .zip version of the IDE, unzip the downloaded file. Make sure to preserve the folder structure. 
Now your drivers will be downloaded and installed from the Internet, directly from Windows. 
If you have issues, you can find the "drivers" folder inside the unzipped file, for manual installation.

There is no need to install drivers for Ubuntu 10.0.4 
In some computers, you need to set up user permissions and some udev rules. 
You can find detailed informations on how to achieve this at this page.

First Configuration

After powering -up the board, wait about a minute. 
Now, connect your PC/MAC Wi-Fi on Arduino UNO WiFi AP, ESSID like this: Arduino-Uno-WiFi-xxxxxx 
Open your browser on your PC/MAC and connect at this link:

This is the view that you will see: 
Arduino UNO WiFi Webpanel

To modify the Hostname click on CHANGE or select the WiFi on the left menu. You can use the name that you prefer to give a personal identity to your board. Write a new name and then click on CHANGE
WiFi configuration menu 
Connect the Arduino UNO WiFi to your AccessPoint Router, selecting your network from the WiFi Menu, insert the correct password and then click on CONNECT, as shown in the image below: 
WiFi section 
When the board is connected to the network, the ip address will appear at the top of the panel: 
Connection to the network 
Now connect the PC to the same board network and try to access the board by inserting the ip address in the browser. 
IP address 
Click on WiFi in the left menu and change the Wi-Fi configuration mode switching to STA MODE, as shown in the image below: 
Select STA mode 
It is important to switch in STA MODE because the board will be visible on the Arduino IDE and furthermore, you will be able to protect it from possible vulnerability, since it will no longer be visible as an open network.

Now the "Mode Changed" message should appear at the top of the panel: 
Configuration completed 
Now, you can access the webpage using your hostname: http://hostname.local 
Your Arduino UNO WiFi is ready.

Now you can use your board and upload the first sketch following this other guide.

If you want more information on the Web-panel of the Arduino UNO WiFi click here.


You must download the new Arduino IDE that supports Arduino UNO WiFi, from this link:

We suggest that you use the Ciao Library using the Arduino UNO WiFi. 
You can include the library in your project using the Arduino IDE menu.

RestAPI example with ThingSpeak

Arduino UNO WiFi RestAPI Example with ThingSpeak
Follow all steps of this guide to upload your first sketch on Arduino UNO WiFi.

Arduino IDE - download and install

First you need the IDE. 
You can download it from here
After that you have downloaded the latest version Arduino IDE, extract it using 7-zip. 
Now double click to install it, if you have downloaded the installer file.

Keep in mind that to use the Arduino UNo Wifi you need the IDE 1.7.9 or later.

Lauch the Arduino IDE

Open the Arduino folder and double-click on the Arduino application. 
Aruino IDE 
Home Arduino IDE 
If you are a Windows user and you have downloaded the administrator version then you need to click on right button of mouse and select the voice "Execute as administrator", to start the program.

Connect the board

Connect the Arduino UNO WiFi board to your computer using the USB cable, as shown in the below image: 
Arduino UNO WiFi board 
The green power LED (labelled PWR) should go on. 
When you connect your board, pay attention that the cable is correctly inserted then push strong.

Upload sketch

The Arduino UNO Wifi can be programmed in two ways: via Serial or via OTA, both these methods will be shown in this guide.

Programming via Serial

This is the classic procedure used to program all Arduino boards.

Select the board

Select the Arduino Uno WiFi as board from Tools>Board menu. 
Board menu

Select port

If the board is correctly connected to PC then it will appear in Tool>Port menu a device called COMxx(Arduino Uno WiFi) as shown in the below image, then select it: 
Port menu 
If it doesn't appear as serial device then check the connection, try to change the cable or the USB port.

Select the Blink sketch from File>Examples>1.Basics menu. 
Examples menu

Upload the sketch

Now you can upload the sketch, clicking on Upload button as shown in the below image: 
Uploading Sketch 
Wait that the operation is completed. 
Sketch completed

Programming via OTA

Power the board, for example connected it to PC using the USB cable or using an external power. 
Connect the PC on the same board network. 
Now the procedure to program the board via OTA is the same of that shown above but it differs only when you select the port. Now you must select the board from network ports menu. 
Below all steps:

Select the board

Select the Arduino Uno WiFi as board from Tools>Board menu. 
Board menu

Select port

Select the board from Tool>Port>Network ports menu it will appear a device as shown in the below image: 
Network ports menu 
Be sure that the PC and the board are connected to the same network and that the board is in STA MODE, for more information look the Getting started guide.

Select the Blink sketch from File>Examples>1.Basics menu. 
Examples menu

Upload the sketch

Now you can upload the sketch, clicking on Upload button, as shown in the below image: 
Uploading Blink sketch 
Wait the end of the operation. 
Sketch uloaded 
If the Uploading is been correctly completed then the Led13 will blink each second.

Now try to upload another example or try to create your custom sketch.

The Arduino UNO WiFi uses a particular library to manager the WiFi.
If you are using the Arduino 1.7.x then you need to use the ArduinoWiFi.h library that it is already included in the IDE.
Instead you are using the Arduino 1.8.x then you need to download the UNOWiFiDev.Edition library from Library Manager.

Look these examples:

The Arduino UNO WiFi has a Web panel that it can be reached in different ways: 
- If the board isn't been configurated yet, you can access inserting in the browser this link: 
In this case look the getting started guide to configure it. 
- If the board is been correctly configured then you can insert the ip address ( or the hostname(hostname.local/) from browser.

The Web panel has a simple menu that it is formed from five items: OVERVIEW, SERIAL MONITOR, WIFI,CONNECTIVITY and DEBUG LOG. 
The Home page of the Web Panel corresponds to OVERVIEW menu, as shown in the below image: 
Arduino UNO WiFi Web panel 
In the Overview are shown all the informations about the configuration board: 
the hostname, the network SSID, Wifi address, Wifi mode,... 
Web panel: Overview 
Clicking on SERIAL MONITOR appears a serial monitor useful to display the results when you upload a sketch. 
Web panel: Serial Monitor 
Furthermore in this section it is possible to reset the microcontroller clicking on RESET uC button. 
Reset uC from Web panel 
Instead selecting from left menu the WIFI section, you can change the hostname simply typing the new hostname in the dedicated bar and after to click on CHANGE button, as shown in the below image: 
Web panel: WiFi 
It is possible also to switch to STA MODE or STA+AP MODE clicking the specific button, but keep in mind that it is advised to switch only in STA MODE because so the board will be visible on the Arduino IDE and, furthermore, you will be able to protect it from possible attacks, since it will no longer be visible as open network. 
Web panel: Configuration mode 
It is possible to connect the board to a network selecting it, inserting the correct password and clicking on CONNECTbutton. 
Web panel: Connection to the network 
In this section you can also choose if to use the DHCP or the Static IP, as shown in the picture: 
In the CONNECTIVITY section you can enable the connection services for example the client MQTT and the SLIP: 
Web panel: Connectivity menu 
Finally in the DEBUG LOG it is shown the debug log and it is possible to reboot the WiFi clicking the WiFi REBOOTbutton: 
Web panel: Debug Log