![]() | ![]() | ![]() |
| |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
![]() |
| | Tools |
| | #1 |
|
Hi, can anyone pse help a novice. I am building a model railway control panel and I am stuck. On my layout I have station stops activated by the loco triggering a reed switch, this works fine. I decided to add a monostable timer to automate the length of time the loco is stopped. A DPDT C/O MIN TOGGLE SWITCH controls this ON manual stop - OFF no stopping - ON timed stop. I made a tester and all worked fine but I now have a problem that some of the timers when switched on go straight into timed mode instead of waiting for the reed switch to trigger it. Can anyone suggest a retro fit to cure this ?? I ask for a retro fit because I have fitted 40 of these timers already and about 50% have this problem. Thanks eddy | |
| |
| | #2 | |
| Quote:
How are you debouncing the toggle switch.? Also what type of monostable.?
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 26th August 2008 at 12:05 PM. | ||
| |
| | #3 |
|
Its a basic 555 monostable, "debouncing" ? as u can tell I am a complete newbie to electronics, but willing to listen and learn.
| |
| |
| | #4 | |
| Quote:
The problem is that with most mechanical switches you dont get a single contact action between the contacts. They bounce on/off when closing for a few millisecs, as the logic is so fast its senses all these on/offs as signals. These bounce signals can cause your circuits to do unexepected events. So between the switch contacts and the 555 you need a simple resistor and capacitor circuit. If the switches are really 'bouncy' you may need an additional ic, eg a 40106 or 74HC14 Schmitt trigger. Do you follow OK.?
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 26th August 2008 at 12:32 PM. | ||
| |
| | #5 |
|
following so far
| |
| |
| | #6 |
| hi, This shows some options, there are many.! The bottom two are my choice. Any questions, ask.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 26th August 2008 at 12:54 PM. | |
| |
| | #7 |
|
Thanks very much, should be able to manage that, do u have any values for the V & R in the first one (top left) power supply is 12DC
| |
| |
| | #8 | |
| Quote:
Look at these two options. I prefer the Schmitt. EDIT: as you are using 12V, the 74HC14 should be replaced by a HEF40106.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 26th August 2008 at 01:31 PM. | ||
| |
| | #9 |
|
Third option ... That one doesn't care if the switch is debounced since it's non-retriggerable until it times out. Triggering is done with a positive going pulse edge. Hans
__________________ Proper Planning Prevents Piss Poor Performance Last edited by Boncuk; 27th August 2008 at 12:41 AM. | |
| |
| | #10 |
|
Thanks very much for the quick replies, I have tried a couple of the suggested circuits but anything that alters the power to the switch has a knock on effect of making the other functions of the switch inop. The switch is used to trigger relays for point motors/coloured lights etc. When switched to timed all I am doing is powering up the monostable ready to be triggered by the loco reed switch, if I turn the v-pot to zero it behaves as normal but if the pot is turned up it goes straight into timed mode, after the set time it does reset it self and acts normal.
Last edited by EDDY99; 27th August 2008 at 09:42 AM. | |
| |
| | #11 | |
| Quote:
Is this the actual circuit you are using.?
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | #12 |
|
The circuit is the same, made a couple of changes, removed the power in switch so it is powered from the panel switch, the v-pot is also mounted on the panel and the buzzer has been replaced with a relay
Last edited by EDDY99; 27th August 2008 at 10:13 AM. | |
| |
| | #13 | |
| Quote:
that circuit is retriggerable. I didn't detect any decoupling capacitor either. Also connect pin5 (Control Voltage (CV)) via 10nF to ground. Hans
__________________ Proper Planning Prevents Piss Poor Performance | ||
| |
| | #14 |
|
Hi, i dont have any trouble retriggering the timer the prob is it triggers when switched on, which i want to get rid of.
| |
| |
| | #15 |
|
So why do you disconnect power then? Every timer circuit produces a short output pulse when energized.
__________________ Proper Planning Prevents Piss Poor Performance | |
| |
|
| Tags |
| monostable, timer |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Consider the Monostable..... | UTMonkey | General Electronics Chat | 10 | 11th December 2007 08:40 PM |
| Astable and Monostable | Eplanet | General Electronics Chat | 5 | 26th October 2007 11:01 PM |
| Digital Monostable | elnaz | General Electronics Chat | 4 | 17th September 2004 07:49 PM |
| 555 timer Monostable mode | WilliamN | General Electronics Chat | 4 | 15th August 2004 04:36 AM |
| Help with 555/556 monostable timer circuit | oldchap | Electronic Projects Design/Ideas/Reviews | 3 | 19th February 2004 06:48 PM |