Rain Intensity Sensor / Tipping Bucket Rain Gauge

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024
  • This video will describe a real world application for microcontroller interrupts. A rain intensity sensor to shut off an irrigation system during heavy rainfalls will be described.
    Scamp3:
    www.tindie.com...
    udamonic.com/w...
    PIC Interrupt Tutorial:
    udamonic.com/i...
    ScampRain.txt code:
    www.dropbox.co...
    Tipping bucket rain gauge:
    bc-robotics.co...

Комментарии • 33

  • @paulskaar8556
    @paulskaar8556 2 года назад +6

    If there was a RUclips award for " Most concise" you'd win everytime. Love the Forth stuff! Cheers!

    • @0033mer
      @0033mer  2 года назад

      Thanks Paul! Appreciate your feedback.

    • @copernicofelinis
      @copernicofelinis Год назад

      Indeed!
      Clear, to the point, no frills, no waste of time.

  • @romancharak3675
    @romancharak3675 2 года назад +1

    That rain gauge is such a neat device. Thank you for showing us how it works. And, the debounce circuit makes the code so much simpler, I'm sure.

    • @0033mer
      @0033mer  2 года назад

      You're welcome! Glad you liked it.

  • @ansiviewer
    @ansiviewer 2 года назад +1

    Thank you for execellent video! I enjoyed seeing and learning something new. Please keep videos coming!

    • @0033mer
      @0033mer  2 года назад

      More to come!

  • @klave8511
    @klave8511 2 года назад +1

    Great interrupt tutorial, bookends eh!
    Another way to do this is to use the hardware counter to do the counting. Interrupt when it reaches a value set up in the timer. Not really critical in a slow system but for a faster requirement like a shaft encoder or stepper motor a hardware timer would be preferred.

    • @0033mer
      @0033mer  2 года назад

      Great tip! That is another way to do it. Back in the day before microcontrollers I was building these using the CD4060 as a gated timer and a CD4017 as a counter.

  • @PhG1961
    @PhG1961 2 года назад +2

    Great ingenuity !

  • @marswatcher
    @marswatcher 2 года назад +2

    Awesome. This was really interesting!

  • @twobob
    @twobob 2 года назад +1

    That is a very specific amount of water it drops per bucket... As the designer one might have hoped they aimed for an easier to recall number ;)

    • @0033mer
      @0033mer  2 года назад +1

      It was probably originally designed to measure the rainfall in inches ( .01" ) and the conversion to mm gave us that number. The more expensive gauges have adjustable stops for calibration.

    • @twobob
      @twobob 2 года назад +1

      @@0033mer I did think that but could not resist ;) Eh you could just shove some known mass in both anyway :D A small model of Archimedes maybe ;)

  • @simplelyf4072
    @simplelyf4072 2 года назад

    Love the mix between in the lab and in the field :)
    What are the benefits to use RJ-11 cable?
    How many blueberries does a typical plant produce ?

    • @0033mer
      @0033mer  2 года назад +1

      RJ-11 is your typical telephone interface with quick dis-connect and faceplate jacks available at any hardware store. Blueberry yield depends on the size of the bush. We did a heavy prune this spring so the yield will be down but the berries will be bigger. On the average you can expect 8 to 10 lbs of berries per bush.

  • @johncatsoulis
    @johncatsoulis 2 года назад

    Another great video, thanks Ken. A very good explanation of interrupts. And I was fascinated by the rain gauge sensor -- I haven't seen one of those before. Just curious, what's the operating voltage and current of the solenoids you use? I've got a 4-channel solenoid board prototyped, it's 12V and 1A. It's designed to daisy-chain over I2C, and with multiple boards you can control up to 28 sensors. Wondering if this would be of any use to you?

    • @0033mer
      @0033mer  2 года назад +1

      Hi John .. the control solenoids are 24 VAC. The Hunter irrigation controller has a rain detection input terminal strip that just needs a relay contact for activation. The one they use is a piece of felt that expands when it gets wet and opens a contact. When it dries out the contact closes. The bucket rain gauge sensor is a lot more flexible.

  • @Cyklonus
    @Cyklonus 2 года назад +2

    👍

  • @keeper1855
    @keeper1855 2 года назад

    Hi.Can you made more video about Lora Ebyte E22 or E32 series to control relays?

    • @keeper1855
      @keeper1855 2 года назад

      @@abpccpba I asked for help and I have seen that he is working with this modules.I did my homework and research.What is wrong with you?

    • @abpccpba
      @abpccpba 2 года назад

      @@keeper1855 OK

    • @0033mer
      @0033mer  2 года назад

      The code would be similar to the RC car using Bluetooth video:
      ruclips.net/video/pgqkfHa_puQ/видео.html
      Do you have a pair of E32 modules?

    • @keeper1855
      @keeper1855 2 года назад

      @@0033mer Yes I have two esp32 dev boards. Thanks for reply and for video link.

  • @DanelonNicolas
    @DanelonNicolas 2 года назад

    Are your blueberries an interruptor the main topic of the video? 🤣 see what I did here?

    • @0033mer
      @0033mer  2 года назад +1

      Good observation.

  • @professortrog7742
    @professortrog7742 2 года назад

    Forth? Just… why?

    • @0033mer
      @0033mer  2 года назад +1

      Why not?

    • @marswatcher
      @marswatcher 2 года назад

      Because it's incredibly efficient, lean code, and a lot of fun. It's also the faster the debugging environment you will ever use. Get yourself a scamp3 and see for yourself!

  • @erikslagter3231
    @erikslagter3231 2 года назад

    The animals chew on the pipes because of the liquid fertilizer. Liquid Poop and Pee. Programming in MS notepad is real oldscool

    • @0033mer
      @0033mer  2 года назад +1

      The coyote problem started before we had fertilizer injection and all lines were cleared out with compressed air. Conservation officers have seen this a lot especially when the young pups are teething and they like the soft plastic which is just the right diameter for chewing. I have recently been using Sublime Text for programming but all files I distribute are in Notepad, so whatever the computer or platform users have I know they can view a simple ASCII test file.

  • @TheUnofficialMaker
    @TheUnofficialMaker 2 года назад

    very crytic