How to Turn Continuous Signal Into a Short Pulse
Welcome to our site!
Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
- Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
- Electronics Forums
- Electronic Projects Design/Ideas/Reviews
You should upgrade or use an alternative browser.
How can I turn a continuous but press into a 5 sec pulse?
- Thread starter FreeZey
- Start date
- Status
- Not open for further replies.
- #1
I've done an illustrating of what I'm after below:
KEY: 0v = _ _ 1.5v = n = 5 seconds EXAMPLE: _________________ __ INPUT __| |_____| |___________ _______ __ OUTPUT 1 __| |_______________| |___________ (Okay) _______ _______ OUTPUT 2 __| |_______________| |______ (Better) |<- n ->| |<- n ->|
Any help is appreciated.
- #2
You'll also need to invert your input signal, as the 555 fires in a low pulse.
- #3
Ken
Attachments
- #4
I think a one shot looks like what I may need but it also looks like I'm going to need 2 separate power sources. I.e. the one used to monitor and act as the trigger and the second being the one which gets activated for 5 seconds. Which makes sense, but its a shame there's no simpler solution.
My actual circuit is something I rigged up with an old mobile as a primitive alarm. When someone opens my door it completes a circuit which I extended from the 5 button, causing it to speed dial my phone. I'm guessing the voltage going through the keypad is very low. Anyway the mobile is plugged into a charger so it don't have to worry about changing batteries or anything so if I could have one this without rigging up something with batteries it would have been nice.
- #5
Ken
- #6
Other then that, it works pretty well in the simulator, and has very few parts.(no triple 5 timer needed)
because its a potentiometer setting you can calibrate it to be exactly the pulselength you want.
the potentiometer sets the pulse time (and yes a short pulse will create a 5sec pulse)
Attachments
- #7
__ | | | [Reed Switch] | | | [Rocker Switch] | | | [Phone Button] |__|
This is the trigger for the alarm. It's always open while the magnet/door is next to it. However the one I brought can be set to the reverse as well, should the design require it.
Rocker Switch
This is located externally so that I can break the circuit to avoid setting off the alarm myself. I.e. most alarms have a proper system with a delay and a pin number to disable
them, this is my cheap alternative.
Phone Button
This is probably better thought of as a battery and an LED or a battery and a buzzer. Since what the phone does isn't really important it's just a power supply and alarm, waiting for the circuit to be closed.
- #8
Ken
- #9
The reed would go before the input and the rocker after the output but I'm not sure why the rockers location matters, unless I'm going to need 2 circuits.
- #10
Ken
- #11
The phone locks together both the power supply and the result I'm trying to control, in one single unit.
So I can't have a separate trigger circuit that is always on and detects a change (the reed switch altering the voltage) because in order for that circuit to work the current has to return to the power supply and the only route is through the phone...which would complete the circuit I'm trying to control with the output.
I.e. I don't have a situation like the one below because my "battery" and "phone" must always be connected in immediate series
----------[reed switch]------ | | | | | ________________ [battery] | | [ ] | | ----[trigger ]---- | [ ] -------[ ] [ LMC 555 ] [ ] [ ] ----[output ]----- | [________________] | | | | | ----------[phone]----------
So I can't get away without a second battery? Due to the wiring limitations of the phone.
...unless I can find somewhere on the phones circuit board to steal a nice little 3v supply.
- #12
- #13
This assumes you can leave the battery positive to phone positive and switch the negative. If that won't work you would need another transistor and two more resistors.
Ken
Attachments
- #14
**broken link removed**
I forgot I had this picture. As you can see I've just run a couple of wires off the switch below the 5 button on the phones key pad, so when they're touched together it replicates someone pressing down the number 5.
If the circuit is closed for more than 3 seconds it speed dials 5, which is my phone.
That's all okay and if I extend these wires and put a reed switch in I can get it to call me when the door is openned.
With that in mind do people think I can do this without a second power source? I'm sorry I've been trying to read the circuit diagrams but it's hard to get my head around this stuff.
- #15
'Course, you'd still need the 2nd power source.
Also, you could just power the electronics off the wall wart your phone pluggs into. Just cut the wires running to your phone and solder a second set in a "Y" fashon, one set to the phone and the other set to the timer. You might need to add a capacitor to your circuit if your adaptor isn't already filtered.
- #16
Ken
- #17
- #19
It might also be possible to power the pulse extender circuit from the switch contacts themselves, depending on how the phone scans the keys. Using a diode & capacitor to take the power from the key mux and a mosfet and some RC for the rest. I have to go to work now, but I'll draw it up (if it's simple enough) if you don't get another solution in the mean time.
- #20
With the values shown, the on time is around 5 seconds & the retrigger delay is something like 1-2 seconds.
Attachments
- Status
- Not open for further replies.
Similar threads
- Electronics Forums
- Electronic Projects Design/Ideas/Reviews
- This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.
Source: https://www.electro-tech-online.com/threads/how-can-i-turn-a-continuous-but-press-into-a-5-sec-pulse.115972/
0 Response to "How to Turn Continuous Signal Into a Short Pulse"
Post a Comment