Go Down

Topic: Arduino Uno with Wifi_shield and Webserver issue (Read 618 times) previous topic - next topic

Ludgy

Aug 21, 2013, 11:24 am Last Edit: Aug 21, 2013, 12:32 pm by Ludgy Reason: 1
I've finally come to the point where I am well and truly stuck and require any assistance possible.

I've scrounged the following sketch from the web here http://startingelectronics.com/tutorials/arduino/ethernet-shield-web-server-tutorial/SD-card-AJAX-XML-web-server/
and have managed to get it working to a point.

The shield connects properly and serves the page (although a little slow for my liking).
Upon viewing the serial output, I see that the webpage sends a request to the Arduino every second and this is fine until you start clicking things...

Then, it all stops responding and I just can't figure out why.
Any assistance would be fantastic.

I've attached the Sketch and webpage below.

Ludgy

I think I figured it out!!!

I reckon the Arduino wasn't having enough time to reply to the webpage's 1 second requests so I changed the timeout to 5 seconds and now it seems stable!

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy