Is it possible to create this? DHT22 Sensor

Hi guys, My group task with DHT22 sensor where we need to show in the LCD if it's raining or sunny in the outside, it is possible? or should we add more sensor?This is our expected materials. Thanks

Arduino
DHT22
LCD
Jumping Wires
Battery

Welcome to the forum

Your topic has been moved to the Project Guidance category of the forum

The DH22 sensor will allow you to measure temperature and humidity. Can you determine whether it is raining or sunny from these two measurements ?

What if it is cloudy but not raining ?

Oh I didn't know about the cloudy. My prof only said that if we can record if it's sunny or rainy using dht22 sensor

We used to use a rock on a piece of string.
Wet, raining...
Dry, no rain....
On angle, windy....
Gone, cyclone....

2 Likes

My brain is not absorbing this haha, It's my first time using arduino and sensor that's why I didn't know haha. This is what it looks like. If the rain sensor drops some water it will show the rainy and temp, but if it's hot it will show sunny and the temperature something like that haha

Displaying an appropriate message on the screen is the least of your problems

Suppose that the DHT11 reports that the temperature is 20 degrees C and that humidity is 50%. Is it sunny, is it raining or is it neither and how do you know ?

You could use a basic moisture probe for rain, no rain, an ldr to show if it is sunny or cloudy ( or night time)....

Hi! Welcome to the Forum.

There goes my 5 cents:

  1. Use divide to conquer strategy:
    a) try the sensor alone until you can get reliable data shown on the serial monitor;
    b) try the LCD alone until you succeed printing numbers and letters;
    c) mix the two sketches

  2. I agree with @UKHeliBob and @bluejets that using DHT22 may not be enough to check for rain. At the best you will be able to check for higher humidities (maybe a guess that´s raining, depending on the weather conditions were you live).

There are dedicated sensors for rain drops detection, like the one on this article:

  1. A 9V battery can be used as a proof of concept, but it will be drained in a few hours, specially using the LCD with backlight on all the time. So you might have a spare.
1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.