I am trying to make a BCD to 7 segment decoder, but I can't make it work. I have a 7 segment with a common anode and I have connected a 1 kΩ resistor to each one of its segments.
I am using a 9V battery to power it.
- How should I connect the DIP switch in the circuit?
Also, in the circuit, when I try to test my ICs (74LS32 and 74LS08), by connecting the ground to the inputs and output to a LED light, but it's not working properly.
All of my 7408 ICs are only producing a high output when both inputs from switches are off, and when one or two are on, it will have a low output, while my 7432 ICs are acting like AND gate (only high output when both inputs are high).
I have tested the same ICs on a digital trainer and it was working fine, but when I try to put it in my circuit, it's back to not working properly.
What could have I possibly done wrong?