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
 
Thread Tools Display Modes
Old 5th March 2008, 10:32 AM   (permalink)
New Member
LeeH68 is on a distinguished road
Default 24V Flip Flop Help Required

Hi, another novice in need of help. I have bought some 24V Bulgin illuminated momentary switches MPI002 - see attachment and need them to illuminate when i press the button and turn off when I press the button again. I am not switching anything, just need the button to light up when I want. (I actually have 3 switches in a line, red, amber, green and ideally only one switch led can be illuminated at any one time, but this isnt too important, a like to have but not a necessity). Bulgin have told me what resisters to install, I just need a method of switching the led bit of the switch on and off.

I found this link to a PCB wiring diagram that seems to do the job but its 12V so no good to me.
http://www.cpemma.co.uk/flipflop.html

Is there a bi-stable latching relay that operates using an single supply impulse that is 24V?, if not can I make the above circuit into 24V easily?.

I need something relatively cheap as I have 50 switches to do, around £12 and available off the shelf if at all possible.

Any help appreciated
Attached Files
File Type: pdf Illuminated Switches.pdf (61.4 KB, 21 views)
LeeH68 is offline   Reply With Quote
Old 5th March 2008, 11:10 AM   (permalink)
Experienced Member
 
Hero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to behold
Default

You can easilly power the CD4013 from a 12V regulator like the LM7812 and it'll work from a 24V power supply.
__________________
What's so bad about Microsoft?

Get Opera it's simply a superb browser.
Hero999 is offline   Reply With Quote
Old 5th March 2008, 11:20 AM   (permalink)
New Member
LeeH68 is on a distinguished road
Default

Hero999, thanks for the prompt reply.

So if I just change the Q1 and Q2 as shown on the board to the LM7812 it will work?.
LeeH68 is offline   Reply With Quote
Old 5th March 2008, 11:27 AM   (permalink)
Experienced Member
KMoffett is a jewel in the roughKMoffett is a jewel in the rough
Default

Though a bit klunky (electromechanical), here is a push-on/push-off switching circuit I found some time back. Credit:
http://radiomagonline.com/notebook/r...hoff_switch_2/
He doesn't spell it out, but the relay coil voltage (12V) is 1/2 the supply voltage(24V), and R1, R2, and the coil resistances are all equal. I've used this with a 5V relay on a 12v supply.

Ken
Attached Images
File Type: gif PushOnPushOffRelay.gif (7.4 KB, 30 views)
__________________
"To invent, you need a good imagination and a pile of junk."
Thomas A. Edison (1847 - 1931)
KMoffett is offline   Reply With Quote
Old 5th March 2008, 11:33 AM   (permalink)
Experienced Member
Pommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to beholdPommie is a splendid one to behold
Default

Quote:
Originally Posted by KMoffett
Though a bit klunky (electromechanical), here is a push-on/push-off switching circuit I found some time back. Credit:
http://radiomagonline.com/notebook/r...hoff_switch_2/
He doesn't spell it out, but the relay coil voltage (12V) is 1/2 the supply voltage(24V), and R1, R2, and the coil resistances are all equal. I've used this with a 5V relay on a 12v supply.

Ken
That's clever.

Mike.
Pommie is offline   Reply With Quote
Old 5th March 2008, 11:40 AM   (permalink)
New Member
LeeH68 is on a distinguished road
Default

That looks great, I think. Would anybody be kind enough to draw this onto a cricuit board with a parts list for me as I have no idea what the components are and how they go together (like the link on my original post as this was easy to follow).

Also, does anyone know approximatly how much it would be to buy all the bits. I have 50 switches.

Thanks for the fantastic quick responses, your all stars.

Lee
LeeH68 is offline   Reply With Quote
Old 5th March 2008, 11:51 AM   (permalink)
New Member
LeeH68 is on a distinguished road
Default

Also, is this arrangment okay for leaving the led on one button illuminated for long periods i.e. days at a time?.

Lee
LeeH68 is offline   Reply With Quote
Old 5th March 2008, 12:29 PM   (permalink)
Experienced Member
KMoffett is a jewel in the roughKMoffett is a jewel in the rough
Default

LeeH68,

If you are going to impliment 50 of these, you should look at some version of Hero999's solid state toggle switch. 50 relays are not going to be cheap and is going to draw a lot of current...besides that drawn by the LEDs. For one, or maybe a couple, this is slick, but for a large array logic level flip-flops and transistor drivers would be much better.

Ken
__________________
"To invent, you need a good imagination and a pile of junk."
Thomas A. Edison (1847 - 1931)
KMoffett is offline   Reply With Quote
Old 5th March 2008, 01:46 PM   (permalink)
Experienced Member
 
Hero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to behold
Default

Quote:
Originally Posted by LeeH68
Hero999, thanks for the prompt reply.

So if I just change the Q1 and Q2 as shown on the board to the LM7812 it will work?.
It's got nothing to do with Q1 and Q2.

The LM7812 is a linear regulator, use it to supply the circuit.

The CD4013 contains two flip-flops on the IC therefore you only need 25 IC for 20 switches.

I've made a couple of modifications to the circuit.

The CD4013 can light an LED - no transistor is required.

You might need to put a capacitor across the switch to help eliviate bounce.

You need a 100nF capacitor across the supply of the IC.

1F is also needed before the regulator.
Attached Images
File Type: gif Flip-flop.GIF (5.1 KB, 17 views)
__________________
What's so bad about Microsoft?

Get Opera it's simply a superb browser.
Hero999 is offline   Reply With Quote
Old 5th March 2008, 02:25 PM   (permalink)
Experienced Member
KMoffett is a jewel in the roughKMoffett is a jewel in the rough
Default

Or, he could go to a 40174 quad-D FFs and get by with even less. The 4013 and 40174 can only source or sink about 2mA@12v per output, so he still might need to add drive transistor arrays and resistor SIPs. But, that's still a lot better than 50 of my relay circuits.

Ken
__________________
"To invent, you need a good imagination and a pile of junk."
Thomas A. Edison (1847 - 1931)
KMoffett is offline   Reply With Quote
Old 5th March 2008, 02:33 PM   (permalink)
Experienced Member
 
Hero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to behold
Default

Quote:
The 4013 and 40174 can only source or sink about 2mA@12v per output
That's if you're bothered about connecting other gates to the output as the voltage loss would stop them from working.

I can't remember off the top of my head but I think a CMOS IC can supply something like 6mA if you don't care about the voltage loss.
__________________
What's so bad about Microsoft?

Get Opera it's simply a superb browser.
Hero999 is offline   Reply With Quote
Old 5th March 2008, 03:17 PM   (permalink)
New Member
LeeH68 is on a distinguished road
Question

I have no idea what you both are talking about, but if its any help my PSU is 24V DC output and is 3Amp.

If using the items you are talking about means when I push one of the three buttons that button illuminates and the other buttons are inhibited and similarly if you then press one of the other buttons that button illuminates and the other goes out?. this would be the ideal situation (if its easy enough).

It has been suggested to me to use a repol unit, see attachment. What do you think?.

Lee
Attached Files
File Type: pdf NEED.pdf (727.4 KB, 11 views)
LeeH68 is offline   Reply With Quote
Old 5th March 2008, 03:40 PM   (permalink)
Experienced Member
 
Hero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to beholdHero999 is a splendid one to behold
Default

That looks like a miniture a PLC (Programmable Logic Controller), it looks a bit overkill but will do whatever you want.
__________________
What's so bad about Microsoft?

Get Opera it's simply a superb browser.
Hero999 is offline   Reply With Quote
Old 5th March 2008, 04:07 PM   (permalink)
Experienced Member
KMoffett is a jewel in the roughKMoffett is a jewel in the rough
Default

LeeH68,

We were discussing the minutia of the one-button/one-LED toggle circuit.

I'm confused. What is it that you really want? 50 P-buttons/LEDs in groups of 3 or 50 groups of 3 P-buttons/LEDs, that only one of 3 will light...and do nothing else? The devil's in the details, and different solutions lend themselves to different spec's.

I'm not sure how the commercial programmable controlled fits into your request.

Ken
__________________
"To invent, you need a good imagination and a pile of junk."
Thomas A. Edison (1847 - 1931)
KMoffett is offline   Reply With Quote
Old 5th March 2008, 04:30 PM   (permalink)
Experienced Member
 
Roff is a splendid one to beholdRoff is a splendid one to beholdRoff is a splendid one to beholdRoff is a splendid one to beholdRoff is a splendid one to beholdRoff is a splendid one to beholdRoff is a splendid one to behold
Default

Quote:
Originally Posted by Hero999
It's got nothing to do with Q1 and Q2.

The LM7812 is a linear regulator, use it to supply the circuit.

The CD4013 contains two flip-flops on the IC therefore you only need 25 IC for 20 switches.

I've made a couple of modifications to the circuit.

The CD4013 can light an LED - no transistor is required.

You might need to put a capacitor across the switch to help eliviate bounce.

You need a 100nF capacitor across the supply of the IC.

1F is also needed before the regulator.
Most (all?) brands of CD4013's don't have Schmitt trigger clock inputs. Philips makes HEF4013, which does. The ones that don't, have maximum clock rise and fall times measured in microseconds. You need a Schmitt trigger in the clock line, or use an HEF4013.
__________________
Ron

Roff is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
latch and flip flop Badar General Electronics Chat 7 27th August 2007 09:59 PM
Making a J-K flip flop from a D-Type Flip Flop Terabyte General Electronics Chat 3 26th April 2007 08:01 PM
resetting a D type flip flop kasper General Electronics Chat 5 13th April 2005 06:32 AM
JK Flip Flop Question letsrelaythat General Electronics Chat 18 8th October 2004 09:46 AM
Need help with voltage flip flop please. goofy Electronic Projects Design/Ideas/Reviews 12 13th April 2004 12:06 AM



All times are GMT. The time now is 12:14 AM.


Electronic Circuits  |  Radio Controlled
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.