Turn-key PCB assembly services in prototype quantities or low-volume to mid-volume production runs

Building complete webserver with Arduino, SD card and ENC28J60

Luca has been working with ENC28J60 shield. He was able to send big files including images and html pages. So no he pushed things further and built a webserver with Arduino, SD card and ENC28J60. He connected SD card module and ENC28J60 to Arduino via SPI interface.

arduino_sd_webserver

He wrote sketch that handles static data that are fetched from SD card and dynamic resources like AJAX that are handled by sketch. Files in SD card are stored by using tinyFAT library that require less RAM to work. Static resources are sent from webserver with GET method. Different approach is with dynamic content. It is rendered within Arduino sketch. In his example AJAX call is triggered every 30 seconds to update uptime on webpage. All resources are open and accessible on GitHub.

[..Source link..]

Bookmark the permalink.

Leave a Reply