Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


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.

Reply
 
Tools
Old 26th August 2008, 11:39 AM   #1
Question monostable timer

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
EDDY99 is offline  
Old 26th August 2008, 12:05 PM   #2
Default

Quote:
Originally Posted by EDDY99 View Post
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
hi eddy,

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.
ericgibbs is offline  
Old 26th August 2008, 12:20 PM   #3
Default

Its a basic 555 monostable, "debouncing" ? as u can tell I am a complete newbie to electronics, but willing to listen and learn.
EDDY99 is offline  
Old 26th August 2008, 12:31 PM   #4
Default

Quote:
Originally Posted by EDDY99 View Post
Its a basic 555 monostable, "debouncing" ? as u can tell I am a complete newbie to electronics, but willing to listen and learn.
hi,
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.
ericgibbs is offline  
Old 26th August 2008, 12:36 PM   #5
Default

following so far
EDDY99 is offline  
Old 26th August 2008, 12:52 PM   #6
Default

Quote:
Originally Posted by EDDY99 View Post
following so far
hi,
This shows some options, there are many.!

The bottom two are my choice.

Any questions, ask.
Attached Thumbnails
monostable timer-bounce1.gif  
__________________
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.
ericgibbs is offline  
Old 26th August 2008, 01:00 PM   #7
Default

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
EDDY99 is offline  
Old 26th August 2008, 01:21 PM   #8
Default

Quote:
Originally Posted by EDDY99 View Post
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
hi,
Look at these two options.

I prefer the Schmitt.

EDIT: as you are using 12V, the 74HC14 should be replaced by a HEF40106.
Attached Thumbnails
monostable timer-esp02-aug.-26.gif  
__________________
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.
ericgibbs is offline  
Old 27th August 2008, 12:38 AM   #9
Default

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
Attached Thumbnails
monostable timer-mono.png  
__________________
Proper Planning Prevents Piss Poor Performance

Last edited by Boncuk; 27th August 2008 at 12:41 AM.
Boncuk is offline  
Old 27th August 2008, 09:38 AM   #10
Default

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.
Attached Thumbnails
monostable timer-cct-pic.jpg   monostable timer-cct-pic-2.jpg  

Last edited by EDDY99; 27th August 2008 at 09:42 AM.
EDDY99 is offline  
Old 27th August 2008, 10:05 AM   #11
Default

Quote:
Originally Posted by EDDY99 View Post
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.
hi eddy,
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/
ericgibbs is offline  
Old 27th August 2008, 10:10 AM   #12
Default

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.
EDDY99 is offline  
Old 27th August 2008, 12:38 PM   #13
Default

Quote:
Originally Posted by EDDY99 View Post
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
Hi Eddy,

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
Boncuk is offline  
Old 27th August 2008, 03:13 PM   #14
Default

Hi, i dont have any trouble retriggering the timer the prob is it triggers when switched on, which i want to get rid of.
EDDY99 is offline  
Old 28th August 2008, 12:41 AM   #15
Default

So why do you disconnect power then? Every timer circuit produces a short output pulse when energized.
__________________
Proper Planning Prevents Piss Poor Performance
Boncuk is offline  
Reply

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



All times are GMT. The time now is 03:44 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker