Source: https://fullstackelectronics.com/

# Full Stack Electronics

Learn electronics by building a 555 timer from discrete components.

In this course you build a timer from individual transistors and resistors, then take it from breadboard to finished board. You prototype it on a breadboard and measure what it does. Then you design a printed circuit board, have it made, and solder and test it yourself.

The inside of a 555 is mostly analogue. You work with voltages, currents and transistor behaviour, then use those same transistors to build logic gates and memory. Each experiment adds to the timer that you later assemble on your own board.

![Four builds of the same blinking-LED astable, from left to right: an NE555 chip on a breadboard, a build from comparator and logic ICs, a build from individual transistors, and the finished black surface-mount board](https://fullstackelectronics.com/assets/img/four-555s-family.jpg)

The same timer, four ways, from left to right. You start with an NE555 chip as a reference and rebuild it with comparator and logic ICs. Then you build it from individual transistors and turn that circuit into a surface-mount board. Each build blinks an LED, so you can compare it with the others.

## What you'll learn

- Prototype and debug: build circuits on a breadboard, check them against the expected values, and find the cause when a build fails.
- Measure: use an oscilloscope and a function generator to examine voltages, timing and switching. Compare your measurements with the expected values.
- Design a board: draw schematics in KiCad, simulate the circuit in SPICE, design the PCB layout and prepare it for manufacture.
- Assemble and test: solder surface-mount components, inspect your work, then apply power and test the finished board.

## Who it's for

If you come from software and want to build hardware, this course takes you from a breadboard to a board of your own. You should already be comfortable with a breadboard and know Ohm's law. The course assumes no calculus, KiCad or surface-mount experience.

The measurement stages need an oscilloscope, a function generator, a power supply with two independently adjustable outputs, a multimeter and a hair dryer or heat gun. Board assembly adds soldering tools and magnification. [The Bench](https://fullstackelectronics.com/the-bench.html.md) lists the minimum capabilities, and [The Parts](https://fullstackelectronics.com/the-parts.html.md) lists the components. Check both before you begin.

## How you'll work

Twenty-one experiments cover the four builds. In each experiment you build, measure and explain. Before each measurement, the experiment states the value to expect and the reason for it. When a result does not match, the instructions help you find the cause. Oscilloscope captures from my builds show what to look for on your own screen.

This box explains a new concept in the experiment that first needs it. The experiment then uses the idea on your bench.

This box gives history and context: where a circuit came from, why its designers chose it, and where else it is used.

This box gives the mathematics behind the circuit and connects the equations to the behaviour you measure.

[Start the course →](https://fullstackelectronics.com/introduction.html.md)

## Contents

### Before You Start

Meet the course and prepare your bench.

- [IntroductionWhy I built this course, what you build, and the time to allow.](https://fullstackelectronics.com/introduction.html.md)
- [The BenchWhat you need, what each instrument does, and the minimum specifications.](https://fullstackelectronics.com/the-bench.html.md)
- [The PartsThe components you need, with quantities and the experiment that first uses each one.](https://fullstackelectronics.com/the-parts.html.md)

Stage One

### The Reference Chip

Build a working reference and measure its timing.

1.  [01The Reference 555Build a repeating timer and measure it as your reference. It flashes about five times per second, and the capacitor voltage cycles between one third and two thirds of the supply voltage.](https://fullstackelectronics.com/experiments/01-the-reference-555.html.md)

Stage Two

### The 555 from ICs

Turn the chip’s block diagram into a circuit you can probe.

2.  [02The 555, UnpackedRebuild the timer from a comparator IC, a NOR chip, two transistors and a three-resistor divider, and meet the five blocks inside.](https://fullstackelectronics.com/experiments/02-the-555-from-blocks.html.md)

Stage Three

### The 555 from Transistors

Build and test each block, then join them into a working timer.

3.  [03The Almost-ComparatorOne transistor makes a crude comparator. Measure its limitations.](https://fullstackelectronics.com/experiments/03-the-almost-comparator.html.md)
4.  [04The Differential PairTwo transistors share one current. A second input lets you set the threshold, and the pair drifts much less with temperature than one transistor.](https://fullstackelectronics.com/experiments/04-the-differential-pair.html.md)
5.  [05The Current MirrorUse a current mirror to keep the differential pair's total current steady, and measure how it improves the comparator.](https://fullstackelectronics.com/experiments/05-the-current-mirror.html.md)
6.  [06The Active LoadReplace the collector resistors with a PNP current mirror, and narrow the switching band from a quarter of a volt to a few millivolts.](https://fullstackelectronics.com/experiments/06-the-active-load.html.md)
7.  [07The Output StageAdd an output stage so the comparator output can swing close to ground and to the supply voltage. Then move its reference onto the board.](https://fullstackelectronics.com/experiments/07-the-output-stage.html.md)
8.  [08The PNP TwinBuild the trigger comparator from PNP transistors as a mirror image of the threshold comparator. Then measure how close to ground the NPN pair keeps working.](https://fullstackelectronics.com/experiments/08-the-pnp-twin.html.md)
9.  [09The Voltage DividerBuild the three-resistor divider that makes both references from the supply. Measure it at two supply voltages, then drive both comparators from one ramp.](https://fullstackelectronics.com/experiments/09-the-voltage-divider.html.md)
10. [10The NOR GateYou have built a NOT gate three times already. One more transistor makes it a NOR gate, the gate type that flew in the Apollo Guidance Computer.](https://fullstackelectronics.com/experiments/10-the-nor-gate.html.md)
11. [11The SR LatchConnect two NOR gates in a loop, and the circuit stores one bit. This latch controls whether the 555 charges or discharges its capacitor.](https://fullstackelectronics.com/experiments/11-the-sr-latch.html.md)
12. [12The SwapConnect every block into one loop and add the last two transistors. The all-transistor 555 blinks at the reference rate.](https://fullstackelectronics.com/experiments/12-the-swap.html.md)
13. [13The Reset PinThe eighth pin: an input that stops the timer while it is low.](https://fullstackelectronics.com/experiments/13-the-reset-pin.html.md)

Stage Four

### The 555 on Copper

Take your circuit through design, fabrication, assembly and testing.

14. [14The Master SchematicThe first step from the breadboard to a board. Draw a complete schematic with component labels, named connections and a parts list, and record where the board differs from the breadboard.](https://fullstackelectronics.com/experiments/14-the-master-schematic.html.md)
15. [15Schematic CaptureThe second step from the breadboard to a board. Learn KiCad on a small circuit, then enter the master schematic sheet by sheet until the electrical rules check reports zero errors.](https://fullstackelectronics.com/experiments/15-schematic-capture.html.md)
16. [16The Smoke TestThe third step from the breadboard to a board. Run the KiCad schematic in KiCad's simulator with the outside parts of Experiment 12, compare its timing with the breadboard, and test the reset of the board.](https://fullstackelectronics.com/experiments/16-the-smoke-test.html.md)
17. [17Going Surface-MountThe fourth step from the breadboard to a board. Choose SOT-23 and 0805 packages that you can solder by hand, give each symbol its footprint, and check them in a bill of materials.](https://fullstackelectronics.com/experiments/17-going-surface-mount.html.md)
18. [18The BoardThe fifth step from the breadboard to a board. Draw the outline in the shape of an NE555, place the parts as seven blocks, route the copper and pour the ground until the design rules checker reports nothing.](https://fullstackelectronics.com/experiments/18-the-board.html.md)
19. [19Before You OrderThe sixth step from the breadboard to a board. Check the board by eye, write the Gerber files and check them in a separate viewer, test the size on paper, and order. Milestone: the board design is complete.](https://fullstackelectronics.com/experiments/19-the-pre-fab-ritual.html.md)
20. [20Assembly DayThe seventh step from the breadboard to a board. Sort the 45 surface-mount parts by their codes, solder them by hand block by block, add the eight pins and inspect each joint.](https://fullstackelectronics.com/experiments/20-assembly-day.html.md)
21. [21First Power-UpThe last step from the breadboard to a board. Put the board in place of the NE555, switch it on behind a current limit, and measure it against the chip. Milestone: the board blinks the LED.](https://fullstackelectronics.com/experiments/21-first-power-up.html.md)

### After the Course

Check the result against the aims of the Introduction.

- [EpilogueWhat the course set out to do, what it did, what is still open, and what comes next.](https://fullstackelectronics.com/epilogue.html.md)

### Reference

Keep these pages open while you work.

- [GlossaryDefinitions of the technical terms used in the course.](https://fullstackelectronics.com/reference/glossary.html.md)
- [The Function GeneratorThe settings of each experiment, and how to make them on the SDG1062X.](https://fullstackelectronics.com/reference/function-generator.html.md)

## Further reading

- Ken Shirriff, ["555 timer teardown: inside the world's most popular IC"](http://www.righto.com/2016/02/555-timer-teardown-inside-worlds-most.html), a tour of the NE555 die. A useful companion to Stage Three.
- ["555 timer IC"](https://en.wikipedia.org/wiki/555_timer_IC), Wikipedia: history, modes, pinout and the astable equations used throughout.
- Evil Mad Scientist, ["Three Fives" discrete 555 kit datasheet](https://cdn.evilmadscientist.com/catalog/emskits/555/kitv2/555_datasheet_revB.pdf): a discrete 555 kit built from the same transistor family. It is a good cross-check for your own design.
- [KiCad documentation](https://docs.kicad.org/): the official Getting Started guide is the companion to Stage Four.
- Charles Platt, Make: Electronics, the model for how this course teaches. If you're not yet comfortable on a breadboard, start there, then return.

[Start the course →](https://fullstackelectronics.com/introduction.html.md)

If you get stuck or something is confusing, write to me at [@dnixty](https://x.com/dnixty).
