HI guys, hving a little problem building a circuit comprising a number of logic chips. Im working with the CMOS 4000 series and cannot get the circuit to behave properly. when my iputs are not connected they fluctuate between high and low. just moving my hand over the circuit affects it. how do i solve this?
Yep ! Inputs of any logic IC must never be left floating (or high-impedance (HI-Z)) if they are in use. The only two valid logic levels are 0V or VCC. So each IC input not directly driven by another IC must be either pulled down to ground or pulled up to VCC through a pull-up/down resistor (typically 5K-10K).
The reason that your gates are fluctuating is because they are constantly picking up random RF that may go above their 5V reference. The best way to fix this problem is to attach a pull up, or pull down resistor to the inputs. Any unused inputs should be attached to Vcc or ground based on what you want the circuit to do.
Yep ! Inputs of any logic IC must never be left floating (or high-impedance (HI-Z)) if they are in use. The only two valid logic levels are 0V or VCC. So each IC input not directly driven by another IC must be either pulled down to ground or pulled up to VCC through a pull-up/down resistor (typically 5K-10K).
When they are connected, to what are they connected ?
If the design is implemented on a breadboard, it is indeed easier to directly tie unused inpupts to Vdd or GND. But it you intend to make a PCB, might be a good idea to use pull ups/downs so this way, you can still use the unused logic to add functionality or correct a bug !!
Also, I suspects that his inputs might be wired to push-buttons to inject "ones" in the system but he forgot the pull-down resistors. That's why I was asking...
LMAO! Good one, but not helpful to the initiator of this thread. Perhaps if Shockz were to present a schematic of what he has constructed, we ALL could help him with his problem. PERHAPS-GATE...we've all been there at some point in time... LOL!
Shockz: more information is needed so, if you can, present/post a schematic of your design so it can be analyzed for the issues you are experiencing.
HI guys, hving a little problem building a circuit comprising a number of logic chips. Im working with the CMOS 4000 series and cannot get the circuit to behave properly. when my iputs are not connected they fluctuate between high and low. just moving my hand over the circuit affects it.
this is my schematic. thanks for the tips guys. the problem i have is ive been using a push button and so when pressed this gives me a true input but when the button isnt pressed obviously the input is left floating. i need to purchase some spdt switches. in doing so ill no longer have floating inputs as i will connect one pole to VCC and the other to ground. so i can switch between both stated without causing floating inputs.
. i need to purchase some spdt switches. in doing so ill no longer have floating inputs as i will connect one pole to VCC and the other to ground. so i can switch between both stated without causing floating inputs.
That's neither necessary, not does it necessarily solve your problem. All you need is a resistor that pulls the level to the opposite when the switch is not being pressed. For example, if the switch connects to ground when pressed, use a 10K resistor pullup (or pulldown if the switch connects +VCC). That's all you need.
this is the situation, when i press the button i want this to send a value of one into the circuit and circuit will output wll respond according to how i have built it to give me a turned on led. the problem is when its not pressed the inputs are floating. so you are suggsting that i insert a resistor? where?
Connect between your switch and ground, like the diagram below. When closed, the switch applies VCC to your input. When open, a ground is applied through the resistor.
Here is the way to hook up switches with pull up/down. The resistor is there to provide a valid logic level when the switch is open.
Also remember that since switches are mechanical, their behavior is not completely "clean" during the switch. Their output might oscillate (or "bounce") rapidly between 0 and 1 a few times before settling. Depending on what you do with the output of your circuit, that may be a problem.
BrownOut is referring to the fact that during the switch of an SPDT switch, there is an intermediate state where the signal is floating. Once again, depending on what you do with the output of your circuit, that may still be a problem.