Lab guide
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.
Where to look first, by symptom
| Symptom | Suspect first | How to check |
|---|---|---|
| Nothing works at all | Split rail, IC power pins not wired | Measure right across the IC's VCC and GND pins |
| Wrong for only some input combinations | A loose or wrong wire on the path only that case uses | Trace only the signals that case uses |
| Output is neither High nor Low | Floating input, two outputs tied together, bad contact | Compare with the logic level table below |
| Changes by itself or when touched | Floating input, loose jumper | Tie every unused input to VCC or GND |
| 7-segment lights the opposite segments | Common anode and cathode mixed up | Compare codes in the 7-segment calculator |
| An IC gets hot | Inserted backwards, or an output shorted | Switch off at once and check the orientation |
| Result bits come out reversed | MSB and LSB wired the wrong way round | Compare 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 | Noise margin (L / H) |
|---|---|---|---|---|
| 74LS | ≤ 0.8 V | ≥ 2 V | 0.8 V ~ 2 V | 0.30 V / 0.70 V |
| 74HC | ≤ 1.35 V | ≥ 3.15 V | 1.35 V ~ 3.15 V | 1.25 V / 1.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.
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.