Rain Intensity Sensor / Tipping Bucket Rain Gauge
Ғылым және технология
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/products/johnc...
udamonic.com/what-is-a-scamp....
PIC Interrupt Tutorial:
udamonic.com/interrupts.html
ScampRain.txt code:
www.dropbox.com/s/qe2v79xu85u...
Tipping bucket rain gauge:
bc-robotics.com/shop/tipping-...
Пікірлер: 33
If there was a KZread award for " Most concise" you'd win everytime. Love the Forth stuff! Cheers!
@0033mer
2 жыл бұрын
Thanks Paul! Appreciate your feedback.
@copernicofelinis
Жыл бұрын
Indeed! Clear, to the point, no frills, no waste of time.
Thank you for execellent video! I enjoyed seeing and learning something new. Please keep videos coming!
@0033mer
2 жыл бұрын
More to come!
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
2 жыл бұрын
You're welcome! Glad you liked it.
Great ingenuity !
Awesome. This was really interesting!
@0033mer
2 жыл бұрын
Thank you!
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
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.
👍
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
2 жыл бұрын
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.
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
2 жыл бұрын
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.
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
2 жыл бұрын
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
2 жыл бұрын
@@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 ;)
Hi.Can you made more video about Lora Ebyte E22 or E32 series to control relays?
@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
2 жыл бұрын
@@keeper1855 OK
@0033mer
2 жыл бұрын
The code would be similar to the RC car using Bluetooth video: kzread.info/dash/bejne/opulzciBkcLWpbQ.html Do you have a pair of E32 modules?
@keeper1855
2 жыл бұрын
@@0033mer Yes I have two esp32 dev boards. Thanks for reply and for video link.
Are your blueberries an interruptor the main topic of the video? 🤣 see what I did here?
@0033mer
2 жыл бұрын
Good observation.
The animals chew on the pipes because of the liquid fertilizer. Liquid Poop and Pee. Programming in MS notepad is real oldscool
@0033mer
2 жыл бұрын
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.
Forth? Just… why?
@0033mer
2 жыл бұрын
Why not?
@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!
very crytic