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 24th April 2007, 08:45 PM   (permalink)
Default Hardwiring multiple switches to common inputs

Hi all

Just a general question here, please help me try understand whats best to do in a situation like this:

I am using a 4511 IC to control digits 1-6. My inputs are six individual sing pole switches. Obviously the 4511 IC has 4 inputs, truth table can be found here:

Here is a diagram of how I wanted to wire the circuit up...



Problem I can see here is that the inputs are all bridged, so when one switch is closed it will set inputs A,B,C to '1'.... which is not what I want obviously. How do I isolate each switches inputs? Diodes? Resistors?

Help please.

Thanks
Franknstein is offline  
Old 24th April 2007, 11:50 PM   (permalink)
Default

Diodes are usually used for this, you will also need to add a pulldown resistor directly to each input pin including the D input.
Brevor is offline  
Old 25th April 2007, 06:41 AM   (permalink)
Default

like this?



Oh ya, and what do i connect terminal 'D' to if not in use.... just to ground? Or to V+??? (with the resistor of course)
Franknstein is offline  
Old 25th April 2007, 07:25 AM   (permalink)
Default

hi ryan,
Pin 'D' on the 4511, will go to 0V gnd.
Dont forget the /EL, /BI and /LT pins, do you need help on how to connect these?

/EL to 0V.
/BT and /LT are +V

EDIT: The contacts on the 6 switches, which are shown on your drawing, as not connected, will have to go directly to the +V rail.
The +Vrail is the supply to the 4511.
__________________
Eric
"Good enough is Perfect"

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

Last edited by ericgibbs; 25th April 2007 at 07:35 AM.
ericgibbs is offline  
Old 25th April 2007, 07:30 AM   (permalink)
Default

Are the diodes in the correct place?
Its cool, I have a nice diagram for the 4511 which shows all the connections, and I've already wired up the 4511 to the diagram I have, and it works perfectly, I just need help integrating these 6 seperate switches to that circuit... Thanks!
Franknstein is offline  
Old 25th April 2007, 08:25 AM   (permalink)
Default

hi,

> Are the diodes in the correct place?

The diodes look OK. Dont forget the pulldown resistors.

If you draw a truth table it will show the logic.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is offline  
Old 25th April 2007, 09:45 AM   (permalink)
Default

Quote:
Originally Posted by ericgibbs
The diodes look OK. Dont forget the pulldown resistors.
The attachment will show the usual arrangement for switch and resistor. The diode is optional.
Attached Images
File Type: jpg onswitch.JPG (3.3 KB, 4 views)
__________________
All those who believe in psycho kinesis, raise my hand.

AllVol is offline  
Old 25th April 2007, 12:02 PM   (permalink)
Default

hi allvol,
On his project he is using the diodes as a 'gate' function, so the resistor will have to on the other side of the diode.

He his encoding 6 push buttons into a 4511

Regards
__________________
Eric
"Good enough is Perfect"

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

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Good Electronic Supply's Sites, Everyone Come On In! :P Electric Rain General Electronics Chat 44 28th August 2007 12:06 AM
PIC A/D Sampling multiple inputs NJ Roadmap Micro Controllers 10 21st February 2007 02:54 AM
PIC Switch Management Techniques Mike, K8LH Micro Controllers 2 28th September 2006 01:33 PM



All times are GMT. The time now is 04:34 AM.


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

eXTReMe Tracker