Breadboard circuit not working? A checking order
Where digital logic labs (74-series ICs, 7-segment displays, a 4-bit ALU) usually get stuck, in the order to check them.
Probing with a multimeter in the order power → pins → inputs → intermediate signals → outputs is much faster than staring at the schematic again. Two real lab cases are found this way: half a circuit dead because a power rail was not connected, and a 4-bit ALU that was wrong for just one combination (s1 s0 Cin = 010) because of a jumper with a bad contact.
In this guide 7
Where to look first, by symptom
| Symptom | Suspect first | How to check |
|---|---|---|
| SymptomNothing works at all | Suspect firstSplit rail, IC power pins not wired | How to checkMeasure right across the IC's VCC and GND pins |
| SymptomWrong for only some input combinations | Suspect firstA loose or wrong wire on the path only that case uses | How to checkTrace only the signals that case uses |
| SymptomOutput is neither High nor Low | Suspect firstFloating input, two outputs tied together, bad contact | How to checkCompare with the logic level table below |
| SymptomChanges by itself or when touched | Suspect firstFloating input, loose jumper | How to checkTie every unused input to VCC or GND |
| Symptom7-segment lights the opposite segments | Suspect firstCommon anode and cathode mixed up | How to checkCompare codes in the 7-segment calculator |
| SymptomAn IC gets hot | Suspect firstInserted backwards, or an output shorted | How to checkSwitch off at once and check the orientation |
| SymptomResult bits come out reversed | Suspect firstMSB and LSB wired the wrong way round | How to checkCompare with the reversed value in the base converter |
1. Power: measure at the IC pins
5 V on the supply's display does not mean 5 V reaches the IC. Put the black probe on the IC's GND pin and the red probe on its VCC pin. The 74LS family is specified for 4.75 to 5.25 V.
- Split rails: many full-size breadboards break the power rails in the middle. The continuity (beep) mode across the two ends of a rail tells you at once.
- Top and bottom rails: the rails at the top and bottom of the board are not connected to each other either. If you use both, bridge them.
- Power pin positions: most 14-pin ICs use pin 14 for VCC and pin 7 for GND, and 16-pin ICs use 16 and 8. There are exceptions: the 7483 4-bit adder has VCC on pin 5 and GND on pin 12. Always check the datasheet pinout before inserting.
2. Inputs: no floating pins
An input connected to nothing is neither 0 nor 1. TTL (74LS) usually reads a floating input as High but picks up noise easily, and CMOS (74HC) may flip at random or draw extra current. Tie every input to VCC or GND, including the inputs of unused gates. Switch inputs need a pull-up or pull-down resistor so the level is defined when the switch is open.
3. Intermediate signals and outputs: judge by logic level
Compare each measured voltage with the table below. A value in the undefined band means the pin is floating, two outputs are fighting, or the contact is bad.
| Family | Reads Low | Reads High | Undefined | Low noise margin | High noise margin |
|---|---|---|---|---|---|
| Family74LS | Reads Low≤ 0.8 V | Reads High≥ 2 V | Undefined0.8 V ~ 2 V | Low noise margin0.30 V | High noise margin0.70 V |
| Family74HC | Reads Low≤ 1.35 V | Reads High≥ 3.15 V | Undefined1.35 V ~ 3.15 V | Low noise margin1.25 V | High noise margin1.25 V |
Datasheet limits for 74LS at 5 V and 74HC at the usual 4.5 V test point. Noise margins are (Low input limit − Low output limit) and (High output limit − High input limit). A 74LS output can be up to 0.5 V when Low and an input accepts up to 0.8 V as Low, so the margin is only 0.3 V.
Try it: is this voltage High or Low?
Enter the voltage your meter shows and it is judged against the datasheet limits in the table above. The lines on the right are the VOL and VOH the same family's outputs guarantee.
- The input reads
- Undefined (between levels)
- Margin to the nearest threshold
- —
- Low noise margin (VIL − VOL)
- 0.30 V
- High noise margin (VOH − VIH)
- 0.70 V
Things to try: switch to 74HC and the undefined band gets much wider. A 74LS output's guaranteed High of 2.7 V may not read as High on a 74HC input, which is the trouble with mixing the two families.
4. Wrong for only some combinations
When almost every combination is right and one or two are wrong, wiring is far more likely than a dead IC. Find the signal that goes High only in the failing case and follow just that wire with the meter. For a 4-bit ALU, enter the same A, B, s1, s0 and Cin into the ALU calculator to get the expected result, then see which bit differs to narrow it down.
- Press each jumper gently and watch the output. If it changes, that wire has a bad contact.
- Bent jumper ends, or insulation catching in the hole so the metal does not go in far enough, are common. Well-used breadboards also have holes whose springs have gone loose.
- Continuity between the IC pins at both ends of a wire checks the wire and both holes in one go.
5. 7-segment displays
If the opposite segments light, common anode and common cathode are mixed up. Decoders such as the 7447 drive Low to light, for common-anode displays. Each segment needs its own resistor, and the current works out as follows.
| Segment resistor | Current per segment | Whole digit 8 (7 segments) |
|---|---|---|
| 220 Ω | 11.8 mA | 82.7 mA |
| 330 Ω | 7.88 mA | 55.2 mA |
| 470 Ω | 5.53 mA | 38.7 mA |
| 1 kΩ | 2.6 mA | 18.2 mA |
Assumes a 5 V supply, a red segment forward voltage of 2 V and 0.4 V across the driver output. Use the LED resistor calculator for other values.
6. Keep notes as you fix
- Writing down each fix as you go gives you the discussion section of your report for free. For example: "Only s1 s0 Cin = 010 gave a wrong result; tracing that path found a jumper with a bad contact, which was replaced."
- Recording measured voltages with the meter's error band from the multimeter accuracy calculator makes each High/Low judgement easy to defend.