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

ความคิดเห็น • 71

  • @BipTunia_Microtonal_Cats
    @BipTunia_Microtonal_Cats ปีที่แล้ว +2

    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.

  • @gauravkukadkar3458
    @gauravkukadkar3458 ปีที่แล้ว +1

    thank you ☺️ sir .. my project scsec

  • @bidyadharanayak6803
    @bidyadharanayak6803 2 หลายเดือนก่อน +1

    We will use active or passive buzzer?

  • @cafe2782
    @cafe2782 2 ปีที่แล้ว +1

    Can you show the video for connecting Arduino Uno for protection shed from rain.

  • @alexyakirevich7234
    @alexyakirevich7234 8 หลายเดือนก่อน +1

    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.

    • @hashincludeelectronics
      @hashincludeelectronics  8 หลายเดือนก่อน

      It’s a duty cycle for analog write . It can go till 255 👍🏻👏🏻

    • @alexyakirevich7234
      @alexyakirevich7234 8 หลายเดือนก่อน +1

      Understood. Thank you very much again.

    • @hashincludeelectronics
      @hashincludeelectronics  8 หลายเดือนก่อน

      @@alexyakirevich7234 welcome 👍🏻👏🏻

    • @alexyakirevich7234
      @alexyakirevich7234 7 หลายเดือนก่อน

      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.

  • @WeltYang-wr9qc
    @WeltYang-wr9qc ปีที่แล้ว +1

    Can you help me connect the battery to the board? I can’t seem to quite understand

    • @hashincludeelectronics
      @hashincludeelectronics  ปีที่แล้ว

      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 👍🏻👏🏻

  • @allevlativ
    @allevlativ 2 ปีที่แล้ว +1

    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

    • @hashincludeelectronics
      @hashincludeelectronics  2 ปีที่แล้ว

      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 .

  • @arunkutube
    @arunkutube 3 ปีที่แล้ว +2

    nice

  • @motto69
    @motto69 2 ปีที่แล้ว +1

    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.

    • @hashincludeelectronics
      @hashincludeelectronics  2 ปีที่แล้ว +1

      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 👍🏻.

    • @OutOfNameIdeas2
      @OutOfNameIdeas2 6 หลายเดือนก่อน

      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.

  • @sostinocarljamesa.1016
    @sostinocarljamesa.1016 ปีที่แล้ว +1

    Our proposing embedded project is almost like this, can I borrow your code for it's functionality.

    • @hashincludeelectronics
      @hashincludeelectronics  ปีที่แล้ว

      Yes you can . And all the best for your project 👏🏻👍🏻. Requesting you to please share the channel among your friends as well 🙏

  • @taehyungatejiminsjams7660
    @taehyungatejiminsjams7660 2 ปีที่แล้ว +2

    Sir can you make a rain sensor which only sense heavy rain ???

  • @medapujitha3990
    @medapujitha3990 7 หลายเดือนก่อน +1

    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

  • @gamemode3364
    @gamemode3364 2 หลายเดือนก่อน +1

    How to put servo motor?.. and code?

    • @hashincludeelectronics
      @hashincludeelectronics  2 หลายเดือนก่อน

      You can check my servo motor video for reference 👍🏻👏🏻

    • @seankleinflores2998
      @seankleinflores2998 2 หลายเดือนก่อน

      @@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

  • @khushabunandanwar9423
    @khushabunandanwar9423 3 ปีที่แล้ว +1

    Awesome idea,keep it up 👍🏻

  • @shahnewajbd4623
    @shahnewajbd4623 8 หลายเดือนก่อน +1

    What is the benefits of this project or what is the objective?

    • @hashincludeelectronics
      @hashincludeelectronics  8 หลายเดือนก่อน

      You can use it as rain sensor and take some action 👍🏻👏🏻

  • @yogiac8596
    @yogiac8596 ปีที่แล้ว +1

    Hello sir , which software is used for to write and run the code

  • @gauravkukadkar3458
    @gauravkukadkar3458 ปีที่แล้ว +1

    battery kaise lagaye

  • @nagnathmule8289
    @nagnathmule8289 3 ปีที่แล้ว +1

    लय भारी!!!

  • @DeepakSingh-mb9be
    @DeepakSingh-mb9be ปีที่แล้ว +1

    I want to connect motor

  • @prabhatverma7538
    @prabhatverma7538 3 ปีที่แล้ว +1

    Awesome ... :)

  • @relaxingfishinfo4073
    @relaxingfishinfo4073 3 ปีที่แล้ว +1

    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

    • @hashincludeelectronics
      @hashincludeelectronics  3 ปีที่แล้ว

      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 👍🏻

  • @KIDATADAZ
    @KIDATADAZ 3 หลายเดือนก่อน +2

    WHICH APPLICATION DO YOU USE TO CODE THE ARDUION

    • @hashincludeelectronics
      @hashincludeelectronics  3 หลายเดือนก่อน +1

      @@KIDATADAZ it’s called Arduino IDE 👍🏻👏🏻

  • @Username-dq5dv
    @Username-dq5dv 7 หลายเดือนก่อน +1

    Can you please provide the code of this project

    • @hashincludeelectronics
      @hashincludeelectronics  7 หลายเดือนก่อน

      Code and diagram link is provided in the description of the video 👍🏻👏🏻

  • @sowmiyasowmiya5836
    @sowmiyasowmiya5836 2 ปีที่แล้ว +2

    Where did you buy rain sensor

    • @hashincludeelectronics
      @hashincludeelectronics  2 ปีที่แล้ว

      You can buy it online like Amazon. Or from any electronics local store where we get such components

  • @bhavanimohankumar3254
    @bhavanimohankumar3254 6 หลายเดือนก่อน +2

    Bro the buzzer is not working

    • @hashincludeelectronics
      @hashincludeelectronics  6 หลายเดือนก่อน

      Please follow the exact steps in video 👍🏻👏🏻

  • @chota_cheif
    @chota_cheif 11 หลายเดือนก่อน +1

    My program not run it doesn't show any number

    • @chota_cheif
      @chota_cheif 11 หลายเดือนก่อน +1

      When i run they are showing sketch uses 1090 bytes 3% of program storage space maximum is 32256 bytes

    • @chota_cheif
      @chota_cheif 11 หลายเดือนก่อน +1

      Plz tell me i am in 6th and 11th march my science exibition on my school

    • @hashincludeelectronics
      @hashincludeelectronics  11 หลายเดือนก่อน

      Please check the video carefully. You need to start the serial monitor then only it will show values . 👍🏻👏🏻

  • @peddaboinasanjayyadavsanja2630
    @peddaboinasanjayyadavsanja2630 2 ปีที่แล้ว +1

    What is the total cost

    • @hashincludeelectronics
      @hashincludeelectronics  2 ปีที่แล้ว

      Please add the cost of each component’s. Depending upon place where are you buying the components, cost will vary .

    • @peddaboinasanjayyadavsanja2630
      @peddaboinasanjayyadavsanja2630 2 ปีที่แล้ว

      Total cost of the equipment at narsampet

  • @Bhaskar431
    @Bhaskar431 หลายเดือนก่อน +1

    W

  • @mylifeinkerala9467
    @mylifeinkerala9467 2 ปีที่แล้ว +1

    How many volts will provide

  • @fredsumerr1861
    @fredsumerr1861 ปีที่แล้ว +1

    Buzzer keeps beeping even without rain drops

  • @Dalia_018
    @Dalia_018 4 วันที่ผ่านมา +1

    But my buzzer is different

  • @pavancv6796
    @pavancv6796 7 หลายเดือนก่อน +1

    Can you please provide the code for this project...

    • @hashincludeelectronics
      @hashincludeelectronics  7 หลายเดือนก่อน

      Code and diagram link is provided in the description of the video 👍🏻👏🏻