Design, Testing and Troubleshooting

Reading datasheets, keeping a design quiet, measuring a circuit, finding faults, and complete worked projects.

This guide is about the practice of electronics: choosing parts and checking them against their datasheets, laying out and grounding a design so it works in the real world, measuring a circuit, finding out why it does not work, and putting it all together in finished projects. It assumes the component knowledge from the other guides, and its pages use them in worked numbers. When a design is ready for a board, continue with PCB Design and Layout and, for building it, Soldering.

Start here: what do you need?

I need to…Go to
check a part against my circuit: limits, derating, tables and graphsReading Datasheets
keep a design quiet: return paths, decoupling, grounding and filtersEMC and Noise at Board Level
protect against static discharge, surges and spikesEMC and Noise at Board Level
choose and use a multimeter, oscilloscope or logic analyzerTest Tools and Fault Finding
follow a method for finding the fault in a circuitTest Tools and Fault Finding
work through a flowchart for a dead board, a microcontroller that will not run, a load that does not switch, or a noisy readingTroubleshooting Flowcharts
see complete designs worked through: LED driver, sensor node, motor controller, buck supplyWorked Projects
turn a working circuit into a printed circuit boardPCB Design and Layout

A suggested order

Read the datasheets page first, then noise and testing; use the flowcharts when something does not work, and the projects to see everything together.

  1. Reading Datasheets: How to read a datasheet: absolute maximum against recommended ratings, electrical tables, graphs, packages and footprints, with worked checks on real part types.
  2. EMC and Noise at Board Level: Where noise comes from and how it gets in: grounding, decoupling, return paths, filters, ESD and surge protection, with worked numbers.
  3. Test Tools and Fault Finding: Multimeter, oscilloscope and logic analyzer use, and a step-by-step method for finding faults.
  4. Troubleshooting Flowcharts: Decision flowcharts for a dead circuit, a microcontroller that will not run, a motor or load that does not work, and noisy or unreliable behavior.
  5. Worked Projects: Four complete small designs with parts calculated from the theory: an LED driver, a battery-powered sensor node, a motor controller and a 5 V supply.

Quick reference: formulas

TopicFormulaPage
Junction temperatureTJ = TA + P × θJAReading Datasheets
Linear deratingPallowed = Prated − k × (T − 25 °C)Reading Datasheets
Slew-rate limitSR ≥ 2π f VpeakReading Datasheets
Capacitor self-resonancefSR = 1 ÷ (2π √(L C))EMC and Noise at Board Level
Ground bounceV = L × di ÷ dtEMC and Noise at Board Level
LC filter cutofffc = 1 ÷ (2π √(L C))EMC and Noise at Board Level
ESD pulse current (IEC 61000-4-2)I = V ÷ 330 Ω (8 kV: 24 A)EMC and Noise at Board Level
Trace spacing (3W rule)center to center ≥ 3 × trace widthEMC and Noise at Board Level
Average battery currentIavg = Iactive × D + Isleep × (1 − D)Worked Projects

Calculators

Safety

  • Never probe mains-powered circuits without an isolation transformer and proper training.
  • Use a current-limited supply for the first power-up of any new board, and set the limit low.
  • Discharge large capacitors before touching a power supply; they hold charge for minutes.
  • Wear safety glasses when powering new or repaired circuits.

The other Electronics guides

  • Electronics Fundamentals: The circuit basics every maker needs: Ohm’s law, resistors, capacitors, inductors, diodes, transistors and switches, with worked examples.
  • Analog Circuits and Sensing: Op-amps, comparators and timers, and how to read, amplify and filter sensor signals: thermistors, RTDs, load cells and 4-20 mA loops.
  • Digital Electronics and Microcontrollers: Logic gates, counters and timing, and the hardware around a microcontroller: power, reset, clocks, GPIO, level shifting, the ADC and buses.
  • Power and Motor Electronics: Batteries and supplies, switching converters and thermal design, and driving DC motors, steppers, servos and solenoids.
  • PCB Design and Layout: schematic to layout, stack-up, routing, return paths and design checks.

FAQ

Where do I start when a circuit does not work?

Look first, then measure the supply at the chip’s pins, then divide the circuit in half. Troubleshooting Flowcharts gives the order of checks.

How much of a datasheet do I need to read?

The first page, the ratings, the electrical table rows you depend on, the graphs for your conditions, the thermal data and the application information. Reading Datasheets shows how.

Do I need an oscilloscope?

Not at first: a multimeter finds most faults. A scope becomes valuable once you work with timing, noise, PWM or serial signals; see Test Tools and Fault Finding.

References

  • Ott, H. W., Electromagnetic Compatibility Engineering, Wiley.
  • Pease, R. A., Troubleshooting Analog Circuits, Butterworth-Heinemann.
  • Horowitz, P. and Hill, W., The Art of Electronics, 3rd ed., Cambridge University Press.
  • Manufacturer datasheets and application notes for the parts you use: they give the limits, pinouts and example circuits.

Last reviewed: October 2026. Values are typical: check the datasheets of the parts you use, follow the electrical code for mains work, and do not work on live mains equipment unless you are qualified.