Hardware Reference
In-Depth Information
The following is a list of the components that were used in this chapter:
• Arduino Uno R3 ( http://www.adafruit.com/products/50 )
• Polulu 5V relay ( http://www.pololu.com/product/2480 )
• CC3000 Wi-Fi module ( http://www.adafruit.com/products/1469 )
• Breadboard ( http://www.adafruit.com/product/64 )
• Jumper wires ( http://www.adafruit.com/product/759 )
To actually plug the lamp into your relays, you will need some bare male and female
power cables. See the hardware configuration section for more details. On the software
side, you need to have the latest version of the Arduino IDE installed on your computer.
You will also need to install the aREST library for Arduino, which you can find at the fol-
lowing link:
https://github.com/marcoschwartz/aREST
To download a repository from GitHub, you can simply click on the Download ZIP but-
ton. Using the aREST library also requires having the CC3000 chip library, which we will
use later in the topic. You can find this at the following location on the Web:
https://github.com/adafruit/Adafruit_CC3000_Library
You can find the CC3000 mDNS library at the following website:
https://github.com/adafruit/CC3000_MDNS
To install a given library, extract all the files in a folder named aREST . Then, place this
folder in your /libraries folder inside your main Arduino folder (or 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
you can use the web interface that we are going to develop at the end of this chapter.
Search WWH ::




Custom Search