Hardware Reference
In-Depth Information
Note
Since we will be using 110 V or 230 V devices with these relays, you will have to take
special precautions. Never touch or even go near the relay when it is plugged into the wall
power socket via a cable. If possible, hide the relay where other people cannot access it,
for example, in a plastic enclosure.
Now, you need a Wi-Fi module. The code of this project is specific for the CC3000 Wi-Fi
chip. This chip is widely used in the Arduino community, and you will find a lot of tutori-
als and resources on the Web that use this specific chip. I used a breakout board from
Adafruit that contains this chip. A breakout board is basically a printed circuit board
( PCB ) that integrates the chip you are interested in, plus all the extra components that are
necessary for the correct operation of the chip. This is an image of the board I used:
Again, you have quite a lot of options when choosing this board. You can pick one from
any of your favorite manufacturers. It just needs to integrate the CC3000 Wi-Fi chip and
be compatible with 5V voltage levels (which is the case for most CC3000 boards). You
can also use an Arduino shield that integrates the CC3000 chip, like the one from Ada-
fruit.
To get more information about this board and how the CC3000 Wi-Fi chip works in gen-
eral, you can check out the documentation and example of the Adafruit CC3000 library at
the following link:
https://github.com/adafruit/Adafruit_CC3000_Library
You will also need a breadboard and some jumper wires to make all the required hardware
connections.
Search WWH ::




Custom Search