Skip to content

Commit

Permalink
Added more instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
BenHammersley committed Aug 17, 2013
1 parent 4cc32f4 commit 9d31d13
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down

0 comments on commit 9d31d13

Please sign in to comment.