I have just bought an Arduino Uno WiFi (the Wifi is integrated onto the Uno board). There is a special library for this ArduinoWiFi.h which I have installed, but the examples for this are very limited. It does not seem compatible with the existing WiFi.h library which is for the shield.. Is there any documentation - I can't find anything after searching - everything seems to relate to the separate shield. Many thanks.
The Uno WiFi is an arduino.org board: http://www.arduino.org/products/boards/arduino-uno-wifi. You are on the arduino.cc website. Two different companies, two different IDEs, different hardware. It is definitely not compatible with the WiFi library because that library is written for completely different WiFi hardware.
The most important thing you need to know is the WiFi hardware on your board is ESP8266. The Uno WiFi communicates with the ESP8266 via serial. There is only one serial channel on the Uno, which is also used for programming and output to the Serial Monitor so they have added an expander chip:
On the Arduino Uno Wi-Fi there’s a SC16IS750IBS IO Expander Single UART with I2C-bus/SPI interface that allows the communication between AtMega 16u2, AtMega 328p and the ESP8266EX.
Once you have figured out the specifics of using that expander any ESP8266 information specific to the AT firmware will be relevant. Note that there are other firmwares for the ESP8266 and they can even be programmed directly by installing a 3rd party core in the Arduino(.cc only?) IDE. That information is not relevant.
Thank you for your advice. I had completely missed the subtlety of the two different companies, as in every other respect they look identical.
Dear Kayartee,
I recently got me the Arduino Uno Wifi as well.
I'm planning to use it to control a clock I'm building. For this I want to use the Wifi to synchronise the Arduino time through the Network Time Protocol (NTP).
For this I'm searching for an example getting this done with the Arduino Uno Wifi.
I noticed your busy with the Arduino Uno Wifi as well.
Any hints?
I hope you (or somebpdy else ) can help me out.
It looks as if the Uno Wifi needs a different IDE - 1.7.10 where Genuino (?) uses 1.6.11.
Ubuntu Linux uses something called Arduino 2:1.0.5, which at a guess is the much older
1.0.5 IDE.
I usually program Arduinos from the command line, but with the lack of information
on the Wifi I think I'll have to go back to the IDE, which is apparently specifically
configured for the device.
Anyway, good luck - Will
In case anyone is still sorting this out, I thought I'd share what I've learned.
At this point (Jan 2017) you still have to download the Uno Wifi library yourself, presumably because it is still not finalized, but since we bought developer boards, that shouldnt be too surprising.
Get the current library from GitHub - arduino-libraries/WiFi_for_UNOWiFi_rev1: Arduino WiFi Library and put it in your Libraries folder, restart the IDE and (hopefully) you will see under File/Examples (Examples from Custom Libraries*) Arduino Wifi/
by * I mean that this will I've in Custom Libraries for now, until it is officially released when it presumably moves up to Built-in Examples.
It's kind of a shame it's taken so long to have an Uno Wifi when there's now so much potential confusion with the Shield and various other workarounds, but hey. Progress.