Maker Pro
Maker Pro

Logic gates, pull up/down resistor

I am encountering a logic problem with my or gates. when all inputs have 0v, the output has around 0.8-0.9v which is lighting one of the segments of my display.
I have tried a pul down resistor (from the output pin of the ic to ground) but this didn't solve the problem. I have tried a 4.7k(the value the lecture suggested) resistor and after that I tried a 220 ohms resistor (current will choose the path of lowest resistance). but still the voltage at the output remained the same.

any tips ?
 
I am encountering a logic problem with my or gates. when all inputs have 0v, the output has around 0.8-0.9v which is lighting one of the segments of my display.
I have tried a pul down resistor (from the output pin of the ic to ground) but this didn't solve the problem. I have tried a 4.7k(the value the lecture suggested) resistor and after that I tried a 220 ohms resistor (current will choose the path of lowest resistance). but still the voltage at the output remained the same.

any tips ?
Show us a schematic to help further.

Pull-Up / Pull-Down are only required on the input side of logic depending on A) The Logic IC being used, and B) The circuit that is connected to it. Current limiting resistors are usually (but not always) required if a Logic or other IC is directly driving an LED.
 
That is what I was thinking since the input logic voltages need to be high or low (i.e not undefined). This is the schematic, so far I have only built the logic for segments A and B, and I am troubleshooting them before I move on to the other segments.

the input voltages are correct at around 4.97v high and 0v low, none undefined.

ascubbtqj
 
schematic in case the one above does not display
Strange, I'm not sure at the moment why that would be the case...
Personally, I would put a 220Ω in series with each segment, but I would also test the logic IC's independently to make sure the output of each behaves as expected.
 
I checked every single input to make sure that the logic is correct. with regards to ic I am using everything cmos and a not about the XOR gate the chip number is HEF4070BP by Philips. I will put the 220ohm resistors with the led segment because currently there are none and see what happens
 
common cathode. I think I may have found the problem the XOR gate chip is giving undefined voltages at around 2.5v but I put a pull up resistor and it works correctly then I change the binary input number and gives undefined values again.
 
common cathode. I think I may have found the problem the XOR gate chip is giving undefined voltages at around 2.5v but I put a pull up resistor and it works correctly then I change the binary input number and gives undefined values again.
Perhaps I am misreading, but it looks as though the XOR should have a defined output of at most 0.05V for a 'LOW'.
It looks as though the remaining inputs are tied to VDD, GND, or to another input as the Data Sheet suggest. It looks like that in the schematic, but I can't see the built circuit.

Seems like Adam maybe has a hunch?
 
common cathode. I think I may have found the problem the XOR gate chip is giving undefined voltages at around 2.5v but I put a pull up resistor and it works correctly then I change the binary input number and gives undefined values again.

Can you post the rest of the circuit that we can't see?
Thanks
Adam
 
there are also some images of the build. I was wondering could I have damaged the chip since it is outputting a 0.8v at the ouput even with just vdd and gnd connected to it
 

Attachments

  • logic.jpg
    logic.jpg
    64.5 KB · Views: 157
  • WP_20150309_001.jpg
    WP_20150309_001.jpg
    214.5 KB · Views: 154
  • WP_20150309_002.jpg
    WP_20150309_002.jpg
    211.2 KB · Views: 124
  • WP_20150309_003.jpg
    WP_20150309_003.jpg
    208.9 KB · Views: 126
  • WP_20150309_004.jpg
    WP_20150309_004.jpg
    207.7 KB · Views: 141
  • WP_20150309_005.jpg
    WP_20150309_005.jpg
    197.4 KB · Views: 129
  • WP_20150309_007.jpg
    WP_20150309_007.jpg
    201.3 KB · Views: 147
  • WP_20150309_009.jpg
    WP_20150309_009.jpg
    227.1 KB · Views: 133
there are also some images of the build. I was wondering could I have damaged the chip since it is outputting a 0.8v at the ouput even with just vdd and gnd connected to it
The inputs should never be left floating.
For the test, tie ALL of the inputs to to Ground or Vdd.
A floating input is undefined... ICs don't treat undefined as an unknown... they simply produce unknown or unpredictable outputs!
 
You don't have any decoupling on the supply lines. Why have you got one IC miles away from the others. if you have any gates that are not used they inputs must be terminated.
Adam
 
what do you mean by terminated ? short them to ground ? .. \decoupling I have tried, what value would you suggest ?
Yes unused inputs to ground. Decoupling 2.2uF and 100nF across the supplies of each IC make sure they are as close to the IC power pins as you can get them.
 
Last edited:
Top