The first step in this guide is to assemble our hardware. This is the list of components you will need for this guide:

  • Arduino Uno R3
  • Adafruit CC3000 WiFi breakout board
  • DHT11 (or DHT22) temperature sensor + 4.7k Ohm resistor
  • Photocell + 10k Ohm resistor
  • Breadboard
  • Jumper cables

To help you out, this is the schematic of the project:

First, connect the Arduino Uno +5V pin to the red rail on the breadboard, and the ground pin to the blue rail. Then, place the DHT sensor and the CC3000 breakout board on the breadboard.

After that, connect pin number 1 of the DHT11 sensor (see the schematic) to the red rail on the breadboard, and pin number 4 to the blue rail. Also, connect pin number 2 of the sensor to pin number 7 of the Arduino board. To complete the connections of the DHT11 sensor, connect the 4.7k Ohm between pin number 1 and 2 of the sensor.

For the photocell, first place the cell in series with the 10k Ohm resistor on the breadboard. Then, connect the other end of the photocell to the red rail on the breadboard, and the other end of the resistor to the ground. Finally, connect the common pin to the Arduino Uno analog pin A0.

Now, the WiFi module. First, 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 connect the SPI pins to the Arduino board: MOSI, MISO, and CLK go to pins 11,12, and 13, respectively. Finally, take care of the power supply: Vin goes to the Arduino 5V (red power rail), and GND to GND (blue power rail).

This is the final result:

This guide was first published on Apr 20, 2015. It was last updated on Apr 20, 2015.

This page (Hardware Configuration) was last updated on Apr 17, 2015.

Text editor powered by tinymce.