All paths

Build a pocket oscilloscope

Turn an Uno and a TFT into a scope: fast sampling, a trigger, scales, measurements and a screen, honest about its limits.

Arduino Uno R3Free6 lessons6 h3 chapters1,991 XPMaker · Advanced+250 XP

0 of 6 done

What you will build

3 projects, built step by step

6 lessons in 3 chapters, about 6 hours on a simulated Arduino Uno R3. Free, in your browser, every step checked by the simulator.

Chapter 1 project

Triggering

See why an untriggered trace rolls, add a rising-edge trigger that makes the wave stand still, move its level, and find what happens when the signal never reaches it.

Open it in the simulator
Chapter 2 project

Measurements

Let the scope do the counting: frequency from whole cycles between crossings, duty cycle from the share above the middle, and peak to peak from the extremes.

Open it in the simulator
Chapter 3 project

Project: probe a 555

Put the finished scope on a 555: lock onto it, read its frequency, duty and swing, check them against the formula, then change a resistor and predict the new numbers first.

Open it in the simulator
The map

Chapter by chapter

Each lesson opens when the one before it is done, and each chapter ends in a project.

Chapter 1

Capture

Sample as fast as the ADC allows, then make the picture stand still.

  1. Open227 XP

    Fast sampling

    Time analogRead, then set the ADC free running at /16 for 76,900 samples a second, and find out what Nyquist lets a scope like this see.

    0 of 5 steps

  2. ProjectLocked424 XP

    Triggering

    See why an untriggered trace rolls, add a rising-edge trigger that makes the wave stand still, move its level, and find what happens when the signal never reaches it.

    0 of 4 steps

5 questions, graded as you go.
Chapter 2

Read the wave

Scales that say what a division is worth, and numbers worked out from the samples.

  1. Locked250 XP

    Time and volt scales

    Make timebases from the ADC prescaler, 0.33 to 2.6 ms a division, zoom to 0.5 V a division, and meet the 19.6 mV step that limits how small a signal can be.

    0 of 5 steps

  2. ProjectLocked424 XP

    Measurements

    Let the scope do the counting: frequency from whole cycles between crossings, duty cycle from the share above the middle, and peak to peak from the extremes.

    0 of 4 steps

4 questions, graded as you go.
Chapter 3

The instrument

Draw it on a screen, then use it on a real circuit.

  1. Locked212 XP

    A display

    Draw it on an ILI9341: a graticule of dots, a trace that repaints only the columns that moved, and controls that show on screen.

    0 of 4 steps

  2. ProjectLocked454 XP

    Project: probe a 555

    Put the finished scope on a 555: lock onto it, read its frequency, duty and swing, check them against the formula, then change a resistor and predict the new numbers first.

    0 of 5 steps

3 questions, graded as you go.
Syllabus

Every lesson in the course

All 6 lessons, in order, each with what it covers. Any of them opens in the editor right away.

Chapter 1

Capture

  1. Fast samplingTime analogRead, then set the ADC free running at /16 for 76,900 samples a second, and find out what Nyquist lets a scope like this see.
  2. TriggeringSee why an untriggered trace rolls, add a rising-edge trigger that makes the wave stand still, move its level, and find what happens when the signal never reaches it.
Chapter 2

Read the wave

  1. Time and volt scalesMake timebases from the ADC prescaler, 0.33 to 2.6 ms a division, zoom to 0.5 V a division, and meet the 19.6 mV step that limits how small a signal can be.
  2. MeasurementsLet the scope do the counting: frequency from whole cycles between crossings, duty cycle from the share above the middle, and peak to peak from the extremes.
Chapter 3

The instrument

  1. A displayDraw it on an ILI9341: a graticule of dots, a trace that repaints only the columns that moved, and controls that show on screen.
  2. Project: probe a 555Put the finished scope on a 555: lock onto it, read its frequency, duty and swing, check them against the formula, then change a resistor and predict the new numbers first.
Keep going

The next course on your track

Build a pocket oscilloscope is part of the maker track, a ladder of courses from zero to expert.

Next course

Build a race timer

Light gates, a start tree and an LCD: time two lanes to the millisecond, catch false starts and run a pinewood derby.

Open the next course
Track

Maker track

Follow the starter kit you already own, then build a claw machine, a balance bot, a handheld console or an LED cube, each a short course checked by the simulator.

See every course on the track
Kits

Build it on your bench too

Every lesson runs in the simulator with nothing to buy. When you want the real thing, these kits have the parts.

Have a kit already?

Find your kit

Pick the starter kit you own and run every lesson in its manual with the same parts on the same pins.

See every kit
Questions

About Build a pocket oscilloscope

Is Build a pocket oscilloscope free?

Yes. All 6 lessons of Build a pocket oscilloscope are free and run in your browser, with nothing to install and no parts to buy before you start.

Do I need a real Arduino Uno R3?

No. Every lesson runs on a simulated Arduino Uno R3 with its parts on the canvas, and the simulator checks each step as you go. When you want to build it for real, the same wiring and code work on a real board.

How long does Build a pocket oscilloscope take?

About 6 hours: 6 lessons in 3 chapters, each one a few short steps. Your progress is kept, so you can stop after any lesson and pick up where you left off.

What will I build?

Each chapter ends in a project that puts it together: Triggering, Measurements and Project: probe a 555.

Where do I start?

With "Fast sampling", and each lesson builds on the one before it. New to circuits? Electronics basics is the course that starts from zero.