Debug a circuit from its symptoms
Narrows an electronics fault with measurements, in a safe order.
Something in this circuit is not working. Circuit: [DESCRIBE IT OR PASTE THE SCHEMATIC] Symptom: [WHAT HAPPENS, AND WHAT SHOULD] Measured so far: [READINGS, OR "NOTHING"] Supply: [VOLTAGE AND SOURCE] Work through it: 1. **Safety first** — if any part of this involves mains voltage or stored charge in a large capacitor, say what to do before probing anything. 2. The three most likely causes for this symptom in this kind of circuit. 3. For each, exactly what to measure, where, and what reading confirms it. 4. The measurement to take first, because it splits the possibilities most evenly. Do not suggest replacing components one at a time until it works. If the symptom description is not specific enough to narrow anything, say what to observe more carefully.
Highlighted parts are placeholders. Replace them before you send.
Worked example
The input is invented for this page. The output shows what the prompt asks for with that input.
Example input (invented)
Circuit: On a full-size breadboard: the positive rail goes to a four-leg push button, then a 330 ohm resistor, then a red LED with its long leg toward the resistor, then the negative rail. All of it sits at the right-hand end of the board.
Symptom: The LED should light while I hold the button. It never lights.
Measured so far: 5.0 V between the red and blue rails at the left-hand end, where the supply plugs in. Nothing else.
Supply: 5 V from a breadboard power module, powered by a USB phone charger.
Example output
1. Safety. No special precautions here: 5 V from a USB charger, no mains, no large capacitors.
2. The three most likely causes
- The power rails are split in the middle. Many full-size breadboards break each rail halfway. Your reading was at the left end and the circuit is at the right, so it does not show the circuit has power.
- The LED is dead or not seated. Your note puts the long leg toward the resistor, which is the right way round. A leg can still miss its hole, and LEDs fail.
- A gap in the path. One leg one row off from the part it should meet, or a button leg that is not pushed fully into its hole.
3. What to measure for each
- Split rails: measure between red and blue at the right end, beside the circuit. 0 V confirms it. Bridge the gap with a wire on each rail.
- LED: hold the button and measure across the LED. Close to 5 V means no current flows and the whole supply sits across it, so the LED or its seating is the fault.
- A gap: hold the button, keep the black probe on the negative rail, and touch the red probe to each leg along the path from the button. The gap is between the last leg reading 5 V and the first reading 0 V.
4. Take this one first. The rail voltage at the right end. It splits the problem cleanly: 0 V means the board is at fault, 5 V means one of the other two.
Once it lights, expect about 9 mA: a red LED drops about 2 V, leaving 3 V across 330 ohms, which is 9.1 mA. Check your LED's forward voltage on its datasheet [VERIFY].
More Coding & data prompts
3 of the 17 other prompts filed under Coding & data.
Plan a scrape that respects the source
Checks permission and rate limits before writing any code.
Scaffold a component to house style
Matches the conventions already in the codebase instead of importing new ones.
Check whether this statistic supports the claim
Tests the gap between what was measured and what is being asserted.