I have some very simple test code:
#include "WiFi.h"
void setup() {
Serial.begin(9600);
Serial.println("go");
WiFi.status();
Serial.println("done");
}
void loop() { }
I'm using an Arduino Uno v3, and connected to a WiFi sheild, rev3. Nothing else is connected to it. I send it and see the following in the serial monitor:
go
And that's it, never gets to "done".
Things I have already tried:
Notably, all the lights on the shield are off. The link light blinked a bit when I was upgrading the firmware, though. I have been able to get the ethernet shield working.
Thoughts?
This is a bit old, but I ran into this exact same problem. I had performed what seemed like a proper updating of the Arduino Wifi Shield firmware. After doing so all my Arduino sketches would immediately hang on any call to the WiFi library.
My issue was an incorrect firmware update process using my Mac. When using ArduinoWifiShield_upgrade_mac.sh to update, the script would update the HD WiFi Module Firmware, then print:
Done. Remove the J3 jumper and press the RESET button on the shield then type [ENTER] to upgrade the firmware of the shield..
But that's not the correct process. Following this process the shield is no longer in DFU mode and the next update will fail. That was my first try. My second try was simply not removing the jumper at all. That seemed to succeed, but resulted in the scenario mentioned by the poster. Here's the process that resolved it for me:
The above process successfully fixed my issue, which I could not find any other posts regarding. I hope it's useful to someone else.
I had the same problem, the wifi shield could not connect to the hotspot. That time, I used arduino-1.0.3 version. But it worked with arduino-1.0.1 . I think you should try the this version of Arduino IDE with the code in the libraries folder. Your problem may come from your access point. Try the other one. Good luck!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.