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
 
LinkBack Thread Tools Display Modes
Old 26th July 2008, 06:21 AM   (permalink)
Default 3 way toggle

I need to know how to rotate between 3 outputs with a PBNO input using transistors. So each time I press the NO button it toggles the output between 1,2,3 then back to 1 and so forth. Any ideas???
waf771 is offline  
Old 26th July 2008, 07:10 AM   (permalink)
Default

You mean strictly transistors and no IC's? If yes, why is that?
Mikebits is online now  
Old 26th July 2008, 07:41 AM   (permalink)
Default

Quote:
Originally Posted by waf771 View Post
I need to know how to rotate between 3 outputs with a PBNO input using transistors. So each time I press the NO button it toggles the output between 1,2,3 then back to 1 and so forth. Any ideas???

hi,
Make a 'transistorised' shift register.

It would be far easier [and cheaper] to buy a Shift Reg ic. say a dual 4bit.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Old 26th July 2008, 05:19 PM   (permalink)
Default

an IC shift register will work. Where is a diagram of how to do this?
waf771 is offline  
Old 26th July 2008, 05:34 PM   (permalink)
Default

Quote:
Originally Posted by waf771 View Post
an IC shift register will work. Where is a diagram of how to do this?
Look at the HEF4017 , 5 stage counter with 0 thru 9 outputs.

What do you plan to drive with the outputs.?
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Old 26th July 2008, 05:43 PM   (permalink)
Default

This is a basic circuit.
Attached Images
File Type: gif esp03 Jul. 26.gif (4.2 KB, 23 views)
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 26th July 2008 at 05:45 PM.
ericgibbs is online now  
Old 26th July 2008, 07:44 PM   (permalink)
Default

I will be driving relays so I will need a darlingon array or something
waf771 is offline  
Old 26th July 2008, 08:10 PM   (permalink)
Default

Something like the ULN2003 might do the job.
http://www.onsemi.com/pub_link/Colla...ULN2003A-D.PDF
Mikebits is online now  
Old 26th July 2008, 08:52 PM   (permalink)
Default

Thanks so much for the help. I think I am in the right direction now
waf771 is offline  
Old 26th July 2008, 10:24 PM   (permalink)
Default

I should have looked at the data sheets first, but the IOH of the counter looks a little wimpy. You may need to put pullups on the Q outputs if you go with the ULN part.

Also, after you build the circuit and if you observe erratic behavior in the switch it may be a switch bounce problem. Eric did add switch debounce for the switch, but this may cause sloping edges which might cause the CMOS part to false trigger. If this happens you might want to put a schmidt trigger device in front of the counter input.
Here is a link that discusses switch bounce.

http://www.edn.com/contents/images/196470.pdf
Mikebits is online now  
Old 27th July 2008, 07:39 AM   (permalink)
Default

Quote:
Originally Posted by waf771 View Post
Thanks so much for the help. I think I am in the right direction now

I should point out, in the RESET state, the output '0' will be High.
Pushing the pb will set '0' output low and '1' output high..etc.

If you want a totally OFF selection, move the reset link along one pin and use outputs '1 thru 3' with the reset link on output '4'.

OK.?

As Mike points out, depending upon the quality of the push switch, it may need a better debounce circuit.
The ULN2003 is CMOS compatible.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 27th July 2008 at 07:42 AM.
ericgibbs is online now  
Old 27th July 2008, 07:53 AM   (permalink)
Default

Quote:
As Mike points out, depending upon the quality of the push switch, it may need a better debounce circuit.
The ULN2003 is CMOS compatible.
Your circuit was fine Eric, I just wanted to give a heads up just incase. I hope I did not offend
Mikebits is online now  
Old 27th July 2008, 08:10 AM   (permalink)
Default

Quote:
Originally Posted by Mikebits View Post
Your circuit was fine Eric, I just wanted to give a heads up just incase. I hope I did not offend
hi Mike,

I like to feel that all members make their posts in a spirit of cooperation rather than competition.

At the end of the day, if the OP gets the answers he needs thats all that matters to me.

In no way does it cause me a problem..
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now  
Old 27th July 2008, 08:15 AM   (permalink)
Default

You are a true gentleman Mr. Gibbs, an honor to know you. Wish I could meet you in person as I am sure you would enrich my life in some way.

Thanks...

P.S. Is the Gibbs name in any relation to the Bee Gee's ? lol
Mikebits is online now  
Old 27th July 2008, 12:01 PM   (permalink)
Default

Quote:
Originally Posted by Mikebits View Post
P.S. Is the Gibbs name in any relation to the Bee Gee's ? lol
I which you hadn't said that!

I'll now think of Eric having a high sqeaky voice every post he makes!.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Toggle Switch eliask08 General Electronics Chat 12 24th March 2008 05:46 AM
pic12c508A Toggle a LED Gayan Soyza Micro Controllers 4 27th October 2006 03:20 PM
Toggle switch IC? Scarr General Electronics Chat 13 26th January 2006 11:59 PM
toggle switch theEgO General Electronics Chat 1 4th September 2004 06:51 AM
Toggle switch. starbar9 Electronic Projects Design/Ideas/Reviews 1 29th October 2002 05:58 AM



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


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

eXTReMe Tracker