My UNO WiFi Rev2 just arrived today and everything seems to be working fine except the wifi. When I run either the ScanNetworks or the ScanNetworksAdvanced sample program, here's the result I get:
Scanning available networks...
** Scan Networks **
number of available networks: 0
Scanning available networks...
** Scan Networks **
Couldn't get a WiFi connection
There are at least 3 wifi networks here that it should be able to recognize (2 of which are the 2.4 and 5 GHz networks from my modem). I've also tried turning on my phone's hotspot, which it also fails to recognize. When I try the ConnectWithWPA program, it just says "Attempting to connect" endlessly.
Does anyone know what's wrong here? Am I just making a stupid mistake, or is there something wrong with the board?
The problem for me was, my Arduino card was powered by both the USB to my computer and a 5V charger at the same time. If I unplugged the charger, everything started working again.