Home / Learn / Code for makers

How to use a breadboard

New to this? Read from the top. Already know the basics? Jump to Going deeper for intermediate and advanced detail.

A breadboard with its power rails and five-hole strips, with an LED and resistor plugged in across the centre gap
Beginner

A breadboard lets you build circuits without soldering. You push component legs and wires into the holes, and metal clips inside connect them. When you're done, everything pulls straight out again. Once you know how the holes are connected, it's simple.

How the holes are connected

+− 5 holes joined separate group centre gap
Rails along the edges run the full length. In the middle, each short column of five holes is joined, and the centre gap separates the two halves.
  • Terminal strips (the middle): each short line of five holes is connected together. Anything plugged into the same line of five is connected.
  • The centre gap: the two halves are not connected across it. Chips straddle the gap, so each of their pins gets its own line of holes.
  • Power rails (the edges): the long lines marked + and − run along the board and are used for the supply and ground. On some full-size boards the rails are split halfway along, so check with a multimeter or add a jumper across the break.

Building your first circuit

  1. Connect your supply's positive to a + rail and ground to a − rail. With a microcontroller, use its 3.3 V or 5 V pin and a GND pin.
  2. Plug the LED in with each leg in a different line of five. If both legs share a line, they're shorted together and the LED won't light.
  3. Put a resistor from the + rail to the line holding the LED's longer leg (the anode).
  4. Run a wire from the line holding the shorter leg (the cathode) to the − rail.

Need the resistor value? Use the LED resistor calculator.

Tips for circuits that work first time

  • Use red for positive and black or blue for ground. It makes mistakes easy to spot.
  • Keep wires short and flat rather than looping them over the board.
  • Build in stages and test each part before adding the next.
  • Check for loose parts. Thin legs can sit loosely. Push them in firmly, or replace a worn breadboard.
  • Measure, don't guess. A multimeter on continuity mode quickly shows which holes are connected.

Limits of a breadboard

Breadboards are for prototyping. The clips can't handle large currents (keep to a few hundred milliamps), the wires pick up noise, and high-frequency circuits may misbehave. Never use one for mains voltage. When a design works, move it to stripboard or a printed circuit board, which is where soldering comes in.

Intermediate and advanced

Going deeper

Why fast circuits misbehave on breadboards

Neighbouring metal strips form small capacitors, typically a few picofarads, and long jumper wires add inductance. That's harmless for LEDs and sensors read a few times a second, but it can distort fast signals, make oscillators drift and cause crosstalk between lines. As a rough guide, signals of a few megahertz and above, fast SPI buses and radio circuits are better built on a proper PCB.

Contact resistance

Each spring contact adds a little resistance, and worn or cheap boards add more. It barely matters for signals, but it causes voltage drops when current is high, and loose contacts make intermittent faults. If a circuit works only when you press on it, suspect a contact.

Power and grounding habits

  • Run power and ground to both sides of the board, and put a 100 nF capacitor across the rails near each chip.
  • Keep the path from each chip's ground pin back to the supply short. Long, shared ground paths let one part's current change the "zero volts" another part sees.
  • Use a bench power supply with a current limit while developing. If you make a short, it limits the damage instead of letting the full current flow.

From breadboard to something permanent

  • Stripboard (Veroboard) has copper strips like a breadboard. You cut the strips where needed and solder parts in. It's quick for small circuits.
  • Perfboard has separate pads and you wire everything yourself. It's flexible, but slow for large circuits.
  • Printed circuit boards designed in free software such as KiCad are cheap to order from PCB makers, and are the most reliable option once a design is finished.

Sources

The main references behind this guide. Numbers we worked out ourselves, such as the code outputs, come from running the code.