Hardware Reference
In-Depth Information
Then, you will need a relay module to control the plug. I used a 5V Polulu relay module,
the same that we used in Chapter 2 , Control Lights from Your Phone or Tablet :
This is a list of the parts used for this chapter:
• TinyDuino processor board ( https://tiny-circuits.com/index.php/tinyduino-
processor-board.html )
• TinyShield USB & ICP ( https://tiny-circuits.com/index.php/tiny-shield-usb-and-
icp.html )
• TinyShield proto board ( https://tiny-circuits.com/index.php/tiny-shield-proto-
board-1.html )
• Polulu 5V relay module ( http://www.pololu.com/product/2480 )
On the software side, you need to have the latest version of the Arduino IDE installed on
your computer as well as the aREST library for Arduino, which you can find at the fol-
lowing link:
https://github.com/marcoschwartz/aREST
You can install the library by simply extracting the library folder in your Arduino /lib-
raries folder (you will have to create this folder if it doesn't exist yet).
You will also need to have a web server installed and running on your computer so that we
can use the web interface that we are going to develop at the end of the chapter.
Search WWH ::




Custom Search