Hardware Reference
In-Depth Information
Connecting the different components
In this project, there are basically three things you will have to connect: the CC3000 Wi-Fi
chip, the temperature and humidity sensor, and the light sensor.
To know exactly which wires and pins you have to connect, take a look at the following
image that describes all the connections of the project:
Let's connect the different components by executing the following steps:
1. To get started on the hardware connection, first place the different components
next to each other and plug the CC3000 module and the sensors into the bread-
board. To reduce the number of wires needed, plug one pin of the photocell with
one pin of the 10k ohm resistor. Also, plug the 4.7k ohm resistor between pin num-
ber 1 and 2 of the DHT11 sensor, just as shown in the previous image.
2. As we have quite a lot of devices to power, I suggest you first connect the red
power rail to the Arduino 5V pin and the blue power rail to the Arduino GND pin.
3. We'll first take care of the sensors. The DHT11 sensor has three pins that have to
be connected: two for the power supply and one for the signal. Connect pin num-
ber 1 (VCC) to the red power rail, and pin number 4 (GND) to the blue power rail.
Finally, connect pin number 2 (signal pin) to Arduino pin number 7.
4. For the photocell, you need to connect the remaining pins of the photocell to the
red power rail, and the remaining pins of the resistor to the blue power rail. Finally,
connect the common pin to the Arduino pin A0.
5. Now, it's time to work with the CC3000 chip. There are quite a few pins to connect
for this module, so please be sure to follow the instructions carefully or the module
might not work properly. Connect the IRQ pin of the CC3000 board to pin number
3 of the Arduino board, VBAT to pin 5, and CS to pin 10. Then, you need to con-
Search WWH ::




Custom Search