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.