Lesson plan

Build a pocket oscilloscope lesson plan

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

3 chapters, 6 lessons, about 6 hours, on the Arduino Uno R3. Every lesson runs in the browser, with nothing to install.

The unit

Objectives and materials

By the end, students can

  • Sample as fast as the ADC allows, then make the picture stand still.
  • Scales that say what a division is worth, and numbers worked out from the samples.
  • Draw it on a screen, then use it on a real circuit.

Materials for the whole unit

  • Arduino Uno R3
  • Capacitor
  • Full-size breadboard
  • Function generator
  • NE555 timer
  • Pushbutton x 3
  • Resistor x 2
  • TFT display, 240x320

Every part is already on the simulator’s bench, so there is nothing to buy or hand out. The counts are the most any one lesson uses, if you build it on real breadboards too.

Chapter 1. About 2 h

Capture

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

LessonTimeWhat students do
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.65 min
  1. How fast is analogRead
  2. Free running
  3. Measure a sine
  4. Too few samples
  5. Past Nyquist, and the front end
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.55 min
  1. Every frame starts somewhere new
  2. Rise through a level
  3. Move the level
  4. Out of reach

Materials

  • Arduino Uno R3
  • Capacitor
  • Full-size breadboard
  • Function generator
  • NE555 timer
  • Pushbutton x 3
  • Resistor x 2
  • TFT display, 240x320

Check for understanding

Each student finishes "Triggering" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Out of reach".

Chapter 2. About 2 h

Read the wave

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

LessonTimeWhat students do
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.65 min
  1. Ten divisions
  2. A slower timebase
  3. A slow signal
  4. Zoom in on the volts
  5. How small can it see
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.55 min
  1. Frequency from crossings
  2. Duty cycle
  3. The 555
  4. Peak to peak

Materials

  • Arduino Uno R3
  • Capacitor
  • Full-size breadboard
  • Function generator
  • NE555 timer
  • Pushbutton x 3
  • Resistor x 2
  • TFT display, 240x320

Check for understanding

Each student finishes "Measurements" on their own, without opening the hints. The simulator checks 4 of its 4 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Peak to peak".

Chapter 3. About 2 h

The instrument

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

LessonTimeWhat students do
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.55 min
  1. The graticule
  2. Repaint only what moved
  3. Trigger on screen
  4. Switch channels
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.65 min
  1. Find the 555
  2. Read the duty
  3. Read the swing
  4. Predict, then change
  5. Share your measurements

Materials

  • Arduino Uno R3
  • Capacitor
  • Full-size breadboard
  • Function generator
  • NE555 timer
  • Pushbutton x 3
  • Resistor x 2
  • TFT display, 240x320

Check for understanding

Each student finishes "Project: probe a 555" on their own, without opening the hints. The simulator checks 5 of its 5 steps as they go.

Then ask each one to explain, in a sentence or two, the last thing it asked of them: "Share your measurements".

Your class

Teach this unit as a class

Start a class from this course and its 6 lessons are assigned in one go, in order. Students join with a six-character code or printed login cards, and each one’s work comes back to you.

The class tools are free for 30 days for one class of up to 20 students, with no card. The lessons themselves are free either way.