Arduino Uno WiFi

Connecting the Arduino UNO WiFi

To connect the Arduino UNO WiFi to your computer, you'll need a USB cable. 
This USB cable provides power and data 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

OSX 
The first time you plug a 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 dialogue by clicking the red button in the top left of the window.

Keyboard Setup Assistant
Windows 
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 Internet, directly from Windows. 
If you have issues, you can find the "drivers" folder inside the unzipped file, for manual installation.

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

First Configuration

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

This is the view that you must aspect: 
Arduino UNO WiFi Webpanel

To modify the Hostname click on CHANGE or select the WIFI on the left menu. You can use name that you prefer for identify more easy the board. Write new name and after click on CHANGE. 
WiFi configuration menu 
Connect the Arduino UNO WiFi to yours AccessPoint Router, selecting your network from WiFi Menu, inserting the correct password and clicking on CONNECT, as shown in the below image: 
WiFi section 
When the board will be connected to network, it will be shown the board ip address: 
Connection to the network 
Now, connect the PC to the same board network and try to access to the board inserting the ip address on the browser. 
IP address 
Click on WIFI in the left menu and change the wifi configuration mode switching to STA MODE, as shown in the below image: 
Select STA mode 
Warning: 
It is important switching 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.

Now it should appear the below screen. 
Configuration completed 
Now, you can access to webpage using the your hostname: http://hostname.local 
Your Arduino UNO WiFi is ready.

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

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

Software

you must download new Arduino IDE that support Arduino UNO WiFi, from this link:

http://www.arduino.org/software#ide

We suggest you to use Ciao Library for using the Arduino Uno WiFi. 
You can include in your project that library 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 Arduino.org 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.

Note: 
Keep in mind that to use the Arduino UNo Wifi you need the Arduino.org 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 
Warning: 
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. 
Note: 
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 way: 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 appear in Tool>Port menu a device called COMxx(Arduino Uno WiFi) as shown in the below image, then select it: 
Port menu 
Note: 
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 since 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 as a device called hostname at XXX.XXX.XXX.XXX (Arduino Uno WiFi) as shown in the below image: 
Network ports menu 
Note: 
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 that the operation is completed. 
Sketch uloaded 
If the Uploading is correctly completed then the Led13 will blink each second.

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

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: http://192.168.240.1/ 
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 (xxx.xxx.xxx.xxx) 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: 
Image 
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