Git Product home page Git Product logo

arduino-web-server's Introduction

Arduino Webserver

This project was to create a webserver with all the common features we are used to but on an Arduino platform.

Why Arduino?

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!

Installation

  1. Format SD card to FAT-32 or FAT-16 (FAT-16 recommended for performance)
  2. Copy website to root of SD card
  3. Copy all files under the SD folder to root of SD card
  4. Insert SD card into Ethernet shield
  5. Attach Arduino Ethernet Shield
  6. Attach Ethernet cable from shield into router
  7. 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.

Requirements

  1. Arduino Due or similar
  2. SD card
  3. A PC (for setup or debugging)
  4. Arduino Ethernet Shield
  5. Ethernet cable (duh)

Supported Features

  • MIME types
  • Directory listing
  • 404 (File not found) page
  • 415 (unsupported media type) page
  • Logging via serial port
  • Correct HTTP Status codes

Limitations

Future Features

  • Config.h for easier configuration
  • Enable/Disable directory browsing
  • More error pages

Duration: 1 month

arduino-web-server's People

Contributors

leefogg avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

arduino-web-server's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.