Make an Arduino SD Card Web Server
by Conor M in Circuits > Arduino
35 Views, 0 Favorites, 0 Comments
Make an Arduino SD Card Web Server
This guide will guide you on how to make an Arduino web server that runs HTML files from an SD card.
Have Fun!
You Will Need:
An Arduino Uno:
US Link: http://amzn.to/2mnu5dv
UK Link: http://amzn.to/2m480iD
An Ethernet Shield:
US Link: http://amzn.to/2m480iD
UK Link: http://amzn.to/2m480iD
A Micro SD Card (Preferably 32 GB):
US Link: http://amzn.to/2m480iD
UK Link: http://amzn.to/2m480iD
An Ethernet Cable:
US Link: http://amzn.to/2m480iD
UK Link: http://amzn.to/2m480iD
A USB A to B Cable:
US Link: http://amzn.to/2m480iD
UK Link: http://amzn.to/2m480iD
USB Wall Plug:
US Link: http://amzn.to/2m480iD
UK Link: http://amzn.to/2m480iD
Arduino IDE: http://amzn.to/2m480iD
Get the Code:
Download the index.txt file and rename the extension to .htm instead of .txt (Keep the index name or it won't work). Put this file in the root directory of the formatted SD card.
Also Download the Arduino code and upload it to you Arduino Uno, after changing the IP address so it will work with your router.
We are nearly done at this stage :-)
Assemble the Server:
Place the Ethernet shield on top of the Arduino Uno and plug the micro SD card into the card reader on the shield.
Plug the ethernet cable into the ethernet shield and your router.
Finally plug in the Arduino using the USB cable and USB wall cable.
You should now be able to access the server on the IP address you chose.
If you want you could edit the server by using a text editor or https://html-online.com/editor/
See if you can make it accessible when connected to other Wi-Fi networks (or mobile data). You will need to go into router settings to do this so make sure you know what you are doing because if you change the wrong setting(s) you might be locked out and unable to change it back.