Home Arduino Projects Rain Sensor Arduino Project With Buzzer

Rain Sensor Arduino Project With Buzzer

by Nikodem Bartnik

I usually put my laundry outside on the balcony and I built this Arduino rainfall detector to let me know when rain starts.

A nice project for beginners, Let’s see how you can built a simple rain detector using the rain sensor and a buzzer. The detector will start a beep to let you know the rain has started.

Arduino rainfall detector

Rain Sensor Arduino Project With Buzzer

Here is the list of the part needed for this project:

Rain Sensor Arduino Project With Buzzer

The rain sensor is just a PCB board with opens traces when a drop of water close the circuit on the board, a special circuitry gives a LOW signal to the digital output pin. It has an analog output pin as well which you can use to read analog values from the sensor.

With the potentiometer on board, you can control the threshold for digital outputs. A red LED signals that rain is detected, you can see it by touching the sensor with a hand (sometimes you have to squeeze it a little to see the light, because the skin resistance is quite big).

Here is the schematic. Note that it does not matter how you connect the the rain sensor driver (this blue PCB with a potentiometer) to the sensing board (the black one with silver traces).

Rain Sensor Arduino Project With Buzzer

The connected project looks somewhat like the picture below.

Rain Sensor Arduino Project With Buzzer

Now, we can upload a code. A short and simple code.

I will suggest you play with the code, try changing the time delay, add some melody instead of beeps or try to add an LED instead of a buzzer.

To make it useful, you should put the sensing board outside the window and leave other parts inside the house to protect them from the rain.

Whenever there will be a rain, you will be notified by the buzzer.

You might also like:

Related Posts

1 comment

bunny onesie August 14, 2018 - 7:48 am

Hi! Would you mind if I share your blog with my twitter group? There’s a lot of people that I think would really enjoy your content. Please let me know. Thanks

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

Privacy & Cookies Policy