Back to Parent

Process

The goal of this device is to detect the humidity level and using light to notify users when the level reach a certain number. When the level reach 30, the LED will light up; When it is lower than 30, the light will turn off.

First step

I connected the photon with a DHT22 humidity sensor.



Second step

Inserted a switch so I can turn on and off the sensor.



Third step

Installed the LED light and input the code so it will react to the number produced by the sensor.


The challenge I have found was to make the LED light works. I have to change the code and input some of the serious to make the light turn on and off when the number goes up and down.

Billing of parts:

Photon: $19.00

Humidity Sensor: $9.95

LED: $0.5

BreadBoard: $5.00

Jumper Wire: $1.95

Power Switch: $1.50


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0