From 9d31d13ff72c2b8e21bf5d7c5433b35484cf1127 Mon Sep 17 00:00:00 2001 From: Ben Hammersley Date: Sat, 17 Aug 2013 15:20:48 +0100 Subject: [PATCH] Added more instructions --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4a0bd15..b56155d 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,16 @@ Arduino-Analog-Sensor-Webservices ================================= -An Arduino sketch to make it easy to build and test sensor-based webservices with analog sensors and an ethernet shield. - This sketch makes it simple to build internet addressable sensors with an arduino and an ethernet shield. -Your arduino will serve the values of its 6 analog pins as human-readable HTML, XML, or JSON. -Each pin is individually addressable, or you can pull all of them at the same time: + +An arduino with an ethernet shield can act as a simple webserver. Sensors or switches can be connected to the arduino via its analog inputs and by exposing the sensor values over the internet via the webserver, you can use the sensors to drive other applications, or to feed a database, or to trigger something, or any of the other fashionable Internet of Things type idea. + +This sketch makes building such things really simple: it will serve the values of each of the 6 analog pins as human-readable HTML, XML, or JSON, and each pin is individually addressable, or you can pull all of them at the same time. http://x.x.x.x/debug/ gives you a very useful constantly-refreshing status page -http://x.x.x.x/analogRead/1 will give you the human readable value of the analog pin 1 (There are pins numbered 0,1,2,3,4,and 5) +http://x.x.x.x/analogRead/1 will give you the human readable value of the analog pin 1 (Change the last number to change the pin. There are pins numbered 0,1,2,3,4,and 5) http://x.x.x.x/analogRead/all will give you the human readable values of all of the analog pins.