Project to monitor Arduino input from a web browser with a svg image.
The page refresh happen at regular intervals with a Ajax e json call.
The Arduino response is monitored ad if it don't respond an error message appear.
The digital input has pull up resistor, connect them to gnd (0V) to change the state.
The analog input can vary from 0 to Vin volt.
Components:
Arduino uno
Ethernet shield
Dependencies:
Flash library
http://arduiniana.org/libraries/flash/
MyTinyWebServer library a modified version of TinyWebServer library
https://github.com/ovidiucp/TinyWebServer that better handle client malformed requests.
Sketch download:
With html page in flash memory
from Github
Actually won't work with Internet Explorer, tested with: Firefox, Safari, Chrome.
Images: