How to use Rain Sensor with Arduino
ฝัง
- เผยแพร่เมื่อ 7 ก.พ. 2025
- In this video we are going to learn how to use Rain Sensor with Arduino so that we can detect presence of rain and take some action.
We will see how to detect rain and turn on buzzer as an example.
I have explained in details each step along with code and connections.
👉Please subscribe: www.youtube.co...
👉Components list :
✅Arduino Uno amzn.to/3tjKRMR
✅Rain Sensor module amzn.to/3pK2XGE
✅Buzzer
✅7-12 V DC battery
✅Jumper wires
👉 Shorts Channel :
/ ujwalnandanwar
👉Code and diagram:
github.com/un0...
👉Watch more videos:
/ hashincludeelectronics
👉Follow us on Instagram:
/ hashincludeelectronics
#rainsensor #rainsensorwitharduino #arduinoprojects #hashincludeelectronics #arduino
Thank you. Going to use this to let me know if it starts raining when I'm doing remote astrophotography, so I can shut the roll-off-roof.
Sounds good 👍🏻👏🏻
thank you ☺️ sir .. my project scsec
You are welcome 🙏
We will use active or passive buzzer?
@@bidyadharanayak6803 passive 👍🏻👏🏻
Can you show the video for connecting Arduino Uno for protection shed from rain.
Hi. Thank you for the video. Sorry for a naive question, but what does value “50” stand for in the “analogWrite (BUZZER_PIN, 50)?” Shouldn’t it be “analogWrite (BUZZER_PIN, HIGH)? Thank you very much again.
It’s a duty cycle for analog write . It can go till 255 👍🏻👏🏻
Understood. Thank you very much again.
@@alexyakirevich7234 welcome 👍🏻👏🏻
Thank you again for your explanation earlier. as a follow up, if you were to keep the buzzer running for, lets say, 5 seconds, after there is no water on the sensor and then turning the buzzer off, what changes to the code in the loop (IF/ELSE part) would you make. thank you.
Can you help me connect the battery to the board? I can’t seem to quite understand
Please check the connections diagram it’s very clear and neat . Also take a look at video slowly and carefully to understand all the steps 👍🏻👏🏻
Hello mr, i really love arduino project but i dont know where to start learning the code can u suggest me any channel or any source to learn from 0
Welcome to the electronics world 👍🏻. Sure you can get starter Arduino kit which will have Arduino board and many other components sensors . They provide book as well in that kit . That will help you get quickly started . Check my video on what is Arduino and there I have provided the kit link as well .
nice
Thanks
I want to use this method, when rain is there it want to triger 12v relay to close the door. Pls help me with the code and connections.
It’s should be simple I believe . You can check my other similar videos where I have used door lock to get idea about what you want to do 👍🏻.
Not with an 5v or 3v3 microcontroller. You want a relay that is the same voltage as your Arduino or whatever you use. Otherwise you could use a step up converter and risk burning the pin out.
But the right relay.
Our proposing embedded project is almost like this, can I borrow your code for it's functionality.
Yes you can . And all the best for your project 👏🏻👍🏻. Requesting you to please share the channel among your friends as well 🙏
Sir can you make a rain sensor which only sense heavy rain ???
This sensor gives analog reading so based on heavy rain the reading will vary. Try it .
@@hashincludeelectronics thank you sir
sir we get output last month now again done the process but doesn't show any values in serial monitor and buzzer keeps beeping even without raindrops
Please follow the same steps 👍🏻👏🏻
How to put servo motor?.. and code?
You can check my servo motor video for reference 👍🏻👏🏻
@@hashincludeelectronics what i mean is using this same project, how to put or add a servo motor on this project and code?.. can you teach me how
Awesome idea,keep it up 👍🏻
Thanks a lot 😊
What is the benefits of this project or what is the objective?
You can use it as rain sensor and take some action 👍🏻👏🏻
Hello sir , which software is used for to write and run the code
We use Arduino software 👍🏻
battery kaise lagaye
लय भारी!!!
Thanks man 🍻👍🏻
I want to connect motor
Where do you need to connect motor ?
Awesome ... :)
Thank you! Cheers!
And can you please make a floor cleaner robot and can you please tell all the rates of the compenent because I don't know the components rate so why
Sure I will try to make that robot . Regarding prices you can check the links in the description I have provided . Also you can refer and compare prices at different sites 👍🏻
WHICH APPLICATION DO YOU USE TO CODE THE ARDUION
@@KIDATADAZ it’s called Arduino IDE 👍🏻👏🏻
Can you please provide the code of this project
Code and diagram link is provided in the description of the video 👍🏻👏🏻
Where did you buy rain sensor
You can buy it online like Amazon. Or from any electronics local store where we get such components
Bro the buzzer is not working
Please follow the exact steps in video 👍🏻👏🏻
My program not run it doesn't show any number
When i run they are showing sketch uses 1090 bytes 3% of program storage space maximum is 32256 bytes
Plz tell me i am in 6th and 11th march my science exibition on my school
Please check the video carefully. You need to start the serial monitor then only it will show values . 👍🏻👏🏻
What is the total cost
Please add the cost of each component’s. Depending upon place where are you buying the components, cost will vary .
Total cost of the equipment at narsampet
W
How many volts will provide
Where do you want to provide volts ?
Buzzer keeps beeping even without rain drops
Please check for any loose connection 👏🏻👍🏻
But my buzzer is different
👍🏻👏🏻
@ ?
Can you please provide the code for this project...
Code and diagram link is provided in the description of the video 👍🏻👏🏻