Pages: [1]   Go Down
Author Topic: Put me out my misery! Simple Wifi test not working!  (Read 500 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 211
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Do other wifi sketches work?

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

Rob Tillaart

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

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 139
Posts: 5853
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: January 05, 2014, 12:16:56 pm by SurferTim » Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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! smiley-wink

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!
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 211
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

fair enough
Logged

Rob Tillaart

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

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 139
Posts: 5853
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Pages: [1]   Go Up
Jump to: