peter(at)sportingaero.com Guest
|
Posted: Fri Sep 13, 2013 11:37 pm Post subject: Looking for a circuit that when you press a button powers t |
|
|
So once it is latched on how do you turn it off?
A 3 second press is a long time, assuming the usual operation is to turn it on an leave it on might be best to turn things around.
If device is off:
- Short press (say < 1 second); device turns on.
- Long press (> 1 second); device turns on for 3 seconds, or duration of press if longer, and then turns off.
If device is on:
- Short press (perhaps any press); device turns off
Thinking about this some more, it would be easier if the 3 second requirement is removed, so requirements become:
Button is pressed: device turns on;
Button is released: device turns off;
Ignore button release if within 1 second after button press.
This does mean that button has to be pressed for > 1 sec to turn off, but that prevents inadvertent knocks turning it off.
Hope this helps,
Peter
On 14/09/2013 01:45, Henador Titzoff wrote:
[quote] Jeff,
I believe you need a better spec. For example, you say that when the button is pressed, the device is powered on. Then you say if the button is released before the 3 second interval, it should stop powering the device. Or at least that's what I think you said.
I think you need to divide it into the following functions:
- If the button is pressed for less than N seconds, function 1 happens
- If the button is pressed for more than N seconds, function 2 happens
- If the button is held for exactly N seconds, well never mind, there is no such thing unless you have an accuracy spec. If you do, then function 3 happens. These three functions need not be mutually exclusive.
Whatever functionality you want, I believe a microcontroller or CPLD will do the job. If you describe your functionality more accurately, including output voltage, current, etc., then this group can recommend specific products, including boards.
Henador Titzoff
From: Jeffrey Skiba <jskiba(at)icosa.net> (jskiba(at)icosa.net)
To: "aeroelectric-list(at)matronics.com" (aeroelectric-list(at)matronics.com) <aeroelectric-list(at)matronics.com> (aeroelectric-list(at)matronics.com)
Sent: Friday, September 13, 2013 7:27 PM
Subject: Looking for a circuit that when you press a button powers the device but ....
--> AeroElectric-List message posted by: Jeffrey Skiba <jskiba(at)icosa.net (jskiba(at)icosa.net)>
Looking for a circuit that when you press a button powers the device but ....if the button is held on it is only powered for a max setting (say 3 seconds) but this same circuit should stop if the button is released before the 3 seconds.
Hope that makes sense, I bet it exists already and I just am searching under the wrong name.
Thanks in advance for the help
Je= --> http://www.matronics.com/Navigator?AeroElectric-Lista href="http://forums.matronics.com/" target="_blank">http://forums.mat &nbs//www.matronics.com/contribution" target="_blank">http://www.matronics.co==================
[b]
| - The Matronics AeroElectric-List Email Forum - | | Use the List Feature Navigator to browse the many List utilities available such as the Email Subscriptions page, Archive Search & Download, 7-Day Browse, Chat, FAQ, Photoshare, and much more:
http://www.matronics.com/Navigator?AeroElectric-List |
|
|
|