Hardware Reference
In-Depth Information
Note that on this example screenshot, the second sensor I had in my system already detec-
ted some motion. Now try with your sensors by waving your hand in front of them; you
should instantly see that the state of the sensor changes on the interface.
Of course, by modifying the HTML and JavaScript code, you can easily modify this inter-
face to adapt it for more sensors.
Also, be aware that these modules don't need to be connected to your computer directly
once the code is loaded onto them. You can just disconnect them from your computer and
power them using a simple battery pack (the Arduino Uno board, for example, accepts up
to 12 V of power on its jack input).
Note that you can also access this interface from a mobile phone or tablet, just by access-
ing the localhost folder on your computer. Of course, your computer has to be
powered (and the web server running) to access the interface.
Search WWH ::




Custom Search