Back to Parent

Product

The device prototype was built in two parts. First a blinking RGB light code was built to understand and use that LED. The DHT22 code was subsequently used for getting an input of temperature and dew point.

The legend for display is shown below:

Sunny

Rainy

Snowy

The logic can be explained as below:

A) If the ambient temperature is below dew point, it will most probably rain

B) If the ambient temperature is below dew point and the temperature is below 0 degree Celsius, it will most probably rain

C) If neither of the above two occur, it will be sunny 


The bill of materials is listed below:

Component

Number

Photon

1

DHT22 Temperature sensor

1

RGB light

1

10 KOhm resistor

4

Jumper cables

8




Content Rating

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

0