Go Down

Topic: Put me out my misery! Simple Wifi test not working! (Read 638 times) previous topic - next topic

alphabeta279

Ok, trying to simply follow the tutorial on this page:
http://arduino.cc/en/Tutorial/WiFiWebClientRepeating

- Arduino Uno / IDE 1.05
- Copy/pasted the code to check I've got it spot on
- Set my Wifi SSID/Pass
- Ran Sketch

All connects to wifi fine, however get :
connection failed
disconnecting.
in Serial Monitor.

Any ideas on how I can debug/fix this? It's like it's struggling to see this page:
http://www.arduino.cc/latest.txt

Many thanks in advance?

robtillaart

Do other wifi sketches work?

Can you post your code? I assume you have modified it a bit after downloading...
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

SurferTim

#2
Jan 05, 2014, 06:04 pm Last Edit: Jan 05, 2014, 06:16 pm by SurferTim Reason: 1
Have you upgraded the firmware in your wifi shield? If you are using IDE v1.0.5 or v1.5.5, then you probably need to upgrade.

edit: For info on upgrading, read this post and follow the link there.
http://forum.arduino.cc/index.php?topic=206765.msg1521117#msg1521117

alphabeta279

Hi folks,

Robtillart: nope, code exactly like link - deliberately keeping simple to debug this problem. Only change is my ssid and wifi password...and no you can't see them! ;)

Surfertim: hmmm that seems like a likely suspect. Before I go through the whole process, is there an easy way to check the current version of the wifi shield firmware? That way I can confirm before I leap!

robtillaart

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

SurferTim


Surfertim: hmmm that seems like a likely suspect. Before I go through the whole process, is there an easy way to check the current version of the wifi shield firmware? That way I can confirm before I leap!

Yes. The post on the link above has a short sketch that displays the firmware version. If it shows 1.0.0, then you need an upgrade. If it shows 1.1.0, then you don't. If you need an upgrade follow the link on that post to help you through the upgrade process.

alphabeta279

Ah, sorry don't know how I missed that! Am on version 1.0.0, so let's see if we can upgrade!

alphabeta279

Ok, genius! It's worked, am flashed to firmware 1.1.0 and have run a quick check of the wifirepeating demo which works great:
http://arduino.cc/en/Tutorial/WiFiWebClientRepeating

Have repointed to my local network server and it's now reading my website code beautifully, my LEDs will very shortly be being controlled by my dynamic CMS content!

Thanks very much for your help, it's much appreciated!

Go Up