This project was to create a webserver with all the common features we are used to but on an Arduino platform.
Installing webservers today can be a complicated process, whether you use a simulator such as XAMPP or professional applications such as Microsoft IIS - you must know the basics of webservers and networking, what technologies you want to use, where to find them and how to install them etc.
Writing a webserver from scratch provides insight into how they work and creates a platform to learn and tinker with.
- Easy to setup - 7 steps that any Arduino user should be familiar with
- Educational - See the steps a modern webserver takes or learn basic web development if you'd rather read code than documentation.
- Configurable - Its open-source!
- Format SD card to FAT-32 or FAT-16 (FAT-16 recommended for performance)
- Copy website to root of SD card
- Copy all files under the SD folder to root of SD card
- Insert SD card into Ethernet shield
- Attach Arduino Ethernet Shield
- Attach Ethernet cable from shield into router
- Upload the code
It's now running, check the serial port at baud 250000 for local IP to browse to.
If running from a private network you may need to port-forward the local IP on port 80 via your router.
- Arduino Due or similar
- SD card
- A PC (for setup or debugging)
- Arduino Ethernet Shield
- Ethernet cable (duh)
- MIME types
- Directory listing
- 404 (File not found) page
- 415 (unsupported media type) page
- Logging via serial port
- Correct HTTP Status codes
- 58 KB/s upload speed
- 8:3 file name format
- Config.h for easier configuration
- Enable/Disable directory browsing
- More error pages
Duration: 1 month