Skip to content

Webduino webserver hanging after a short period fixed by disabling the SD card

mahmoud-samy edited this page Sep 6, 2014 · 1 revision

While starting to use the Webduino the webserver stopped working after a short periode. After a few day's searching and trying decided to stop and look for an other library. I then found a tip on internet to disable the SD card. If there is a memmory card in the SD slot the ethernet library will hang frequently. So its not an Webduino issue but because the dependancy of the Etnernet library you will get stucked.

After disabeling the SD card things ran much better.

void setup() { // disable the SD card by switching pin 4 high // not using the SD card in this program, but if an SD card is left in the socket, // it may cause a problem with accessing the Ethernet chip, unless disabled pinMode(4, OUTPUT); digitalWrite(4, HIGH); }

Source: http://startingelectronics.com/tutorials/arduino/ethernet-shield-web-server-tutorial/basic-web-server/


MORE investigation is required Ex: SD-card WebServer