| Electronics > Beginners |
| Timer alarm |
| << < (6/6) |
| SmallCog:
I'm a simple guy who likes simple things. A few weeks back I needed to turn a pump on for Xminutes then have it off for Yminutes and I doodled things with 555's and hummed and haa'd about code and an arduino. In the end I grabbed this off of ebay because it was the simplest option. I have it in a recurring program mode but one of the other programs would suit your purposes. I think I paid a bit less than that, just an example of the item and not an endorsement of the particular seller. https://www.ebay.com.au/itm/Universal-DC12V-20A-1500W-Timing-Timer-Digital-Display-Time-Delay-Cycling-Module/401833436197?hash=item5d8f23a425:g:MigAAOSwwgddLDo~ I'd suggest wiring the PIR to trigger the momentary reset switch, and using the P1-0 program. Every time the PIR detects motion it will restart the countdown, if the countdown ever reaches 0 then the relay will be energised and stay energised until it's reset. You could wire a buzzer or flasher or both via this relay. Could also wire another one of these timer modules as well... These modules start running as soon as they're powered and the second module could "escalate" the situation. If the first timer has reached 0 and the siren/light hasn't attracted someone attention then the second timer will eventually reach 0. When it does it'll energise its relay, which can be attached to a (decent, properly wired) relay or contactor to interrupt power to the stove. You may wish to have this interrupting relay set up as a latching relay, with a reset button to re-energise the stove rather than it coming back on as soon as movement is detected - depending upon your folks circumstances. No matter which way you go, good on you for giving your folks the ability to maintain their independence safely. I'll never forget the stench of my Nan's attempt at microwaving a pasty for 3 hours... |
| darinsquared:
--- Quote from: Wimberleytech on November 30, 2019, 03:43:01 pm --- In terms of implementation, this is trivial with an arduino. --- End quote --- I started playing around with Arduino after this post. I am struggling to find code that supports the delayed response to initiating the buzzer. Its not trivial for me. |
| Wimberleytech:
--- Quote from: darinsquared on December 05, 2019, 02:27:35 pm --- --- Quote from: Wimberleytech on November 30, 2019, 03:43:01 pm --- In terms of implementation, this is trivial with an arduino. --- End quote --- I started playing around with Arduino after this post. I am struggling to find code that supports the delayed response to initiating the buzzer. Its not trivial for me. --- End quote --- If you understand how the 555 solution works, simply digitize all of the functions. The RC is just a counter. The PIR input resets the counter. If the counter reaches a threshold, trigger the buzzer. If this is too hard to understand, then just use a 555. |
| SteveSi:
Just get an Amazon Echo Dot and teach them to use it - they are incredibly useful in this situation. 'Alexa - start a 5 minute timer' After x minutes they will hear it go off and it continues to sound until they come and say 'Alexea - cancel timer'. You can also use it for calling them using another Echo or your smartphone and they don't even need to answer - you can just listen in and hear what (if anything) is going on or shout out to get their attention. If you get an Echo Show, then you can also see what is going on at any time. I used these in my mothers house because she had the onset of dementia. We found it incredibly useful. It also plays the radio (no fiddling for a station) and you can set wake-up alarms. I also set a 'wake up and go to bed' alarm for 11pm because she fell asleep in the chair at night a lot and woke up at 3am/5am! Also a '6.30p.m. time for tea' alarm. You can use its shopping list feature too which is useful, and you can set reminders (Alexa - remind me at 9a.m. Friday that Judy is coming at 11a.m.). |
| Navigation |
| Message Index |
| Previous page |