Sample Gallery¶
Every program you can run on the Study Buddy, with a picture of what it puts on the round screen. Use it to find a sample to try, a program to take apart, or an idea for your own project.
76 samples in all: 47 that run today and 29 ideas waiting to be built.
| Section | Samples |
|---|---|
| The Labs | 19 |
| The Demos | 12 |
| Smart Clock Faces | 16 |
| Future Clock Faces | 16 |
| Future Study Tools | 13 |
| Total | 76 |
Each card has a difficulty level:
Beginner short programs, one
idea, nothing to change before you run them.
Intermediate several ideas
together: timing, state machines, sound, or the network.
Advanced programs that manage
memory, signal processing, or many modes at once.
Idea a sample nobody has written
yet. Its picture is concept art, not a screenshot.
The screenshots of the labs, demos, and clock faces come from their real
MicroPython code, run through a desktop simulator of the GC9B72 display.
scripts/render-gallery-images.py
makes every image on this page again after a program changes.
The Labs¶
Nineteen short programs in src/kits/study-buddy-base. Labs 01 to 07 check each part as you wire it; labs 08 to 19 teach one idea each. Every card links to the lab's page.
-

Make the Pico's own LED blink. The first proof that your board, cable, and MicroPython all work.
Beginner
-

A checkup that reports the board, memory, flash, and every wire it can test, and warns about the ones that look wrong.
Beginner
-
Lab 03: Buttons on the Console

Press MODE, UP, and DOWN and watch each press and release appear in the shell.
Beginner
-
Lab 04: Hello World on the Display

The smallest program that lights up the round 360 x 360 screen.
Beginner
-

A beep, a musical scale, and three volumes from the I2S amplifier and speaker.
Beginner
-
Lab 06: Listen with the Microphone

A live loudness meter that measures the quiet room first, then reacts when you talk.
Beginner
-
Lab 07: Hold to Record, Release to Play Back

Hold MODE and talk; let go and hear yourself. The first program that uses every part of the kit.
Intermediate
-
Lab 08: How the Display Mixes Color

RGB565 explained on the glass: 5 bits of red, 6 of green, 5 of blue.
Beginner
-

Use sine and cosine to turn an angle into a point. The math behind every analog clock face.
Intermediate
-

Three ways to update a number, raced side by side, so you can see why sending less is faster.
Intermediate
-
Lab 11: What a Button Press Really Looks Like

Count the extra presses a bouncing contact makes, then fix them with debouncing.
Intermediate
-

Blink, count, animate, and read buttons at once by checking the clock instead of sleeping.
Intermediate
-
Lab 13: Modes as a State Machine

MODE steps through three modes held in a table of states, the pattern every demo uses.
Intermediate
-

Build a sine wave one number at a time and hear what sample rate and aliasing do.
Intermediate
-

Play the same notes as a pluck, an organ, and more, and see each envelope's shape.
Intermediate
-
Lab 16: A Microphone Oscilloscope

Watch the sound the microphone hears as a live wave, with DC offset, gain, and a trigger.
Advanced
-

Whistle a note and see its frequency, its name, and how many cents sharp or flat you are.
Advanced
-
Lab 18: From Radio Waves to the Weather

WiFi, an IP address, NTP time, HTTP, and JSON, checked off one layer at a time.
Intermediate
-

Repeat a growing pattern of colored wedges and notes. A game that uses everything before it.
Advanced
The Demos¶
Eleven demos and the showcase that ties them together. Copy main.py to the Pico and they run at power-up. See The Finished Demo for the buttons.
-

The power-up screen. It steps through every demo; hold any button to try one. Each demo loads only while it is on screen.
Advanced
-

Sets its own time over WiFi and shows a two-day forecast with weather icons.
Intermediate
-

Set the alarm with three buttons. It rings from any demo when it is due.
Intermediate
-

Presets, a tick ring that counts down, and an alarm that keeps going after you leave.
Intermediate
-

Start, stop, and laps, with the best and average lap times.
Beginner
-

A school mascot and this week's events. The school-generator skill makes one for your school.
Beginner
-

Hear sine, square, triangle, and sawtooth waves, octaves, and a tune.
Intermediate
-

A curved VU meter with peak hold that responds to talking, clapping, and whistling.
Intermediate
-

Record three seconds and play them back. The recording buffer alone needs 150 KB.
Advanced
-

A new quote each day, word-wrapped to fit the round glass.
Beginner
-

Hear a Spanish word through the speaker and pick its meaning.
Intermediate
-

See a word, think of its meaning, then press MODE to flip the card.
Beginner
Smart Clock Faces¶
These faces come from the Clocks and Watches book, from three kits that use the same 2.1-inch round GC9B72 display: the Chrono Smart Clock, the Big Round Speaker Clock, and the Railway Clock. Each card links to the lab that builds it.
Moving a face to the Study Buddy
All three clock kits wire the display to the same pins as the Study
Buddy (GP2 to GP7), but their buttons are on GP13 to GP15, and the Study
Buddy's are on GP16 to GP18. Run a face with the Study Buddy's own
config.py, not the clock kit's. If the face reads a setting this kit's
config.py does not have, copy that one line across. These faces have
not yet been run on Study Buddy hardware.
-

The time, the day of the week, and the date, updated every second.
Beginner
-

Sixty tick marks, the numbers 1 to 12, and moving hour, minute, and second hands.
Intermediate
-

Set the hours and minutes with the buttons when there is no WiFi.
Intermediate
-

Digits 114 pixels tall inside a ring of 60 ticks that fills as the seconds pass.
Intermediate
-

The time plus today's and tomorrow's forecast from Open-Meteo, a free service with no account.
Intermediate
-

Minutes, seconds, and hundredths, with a lap time each time you press a button.
Beginner
-

Set the minutes and seconds, then watch a ring around the edge count down to the alarm.
Beginner
-

The biggest digits that fit on the glass, readable across a room.
Beginner
-

The time with the temperature outside, refreshed every 30 minutes.
Intermediate
-

Adds today's and tomorrow's highs, lows, and weather.
Intermediate
-

An alarm with a choice of tones and an hourly chime.
Intermediate
-

The time above a daily phrase that is the same for everyone on the same day.
Intermediate
-

A month calendar that works out holidays from rules like "the fourth Thursday in November".
Advanced
-

The station clock whose red second hand pauses at 12 until the minute hand jumps.
Advanced
-

Just the dial: hour bars and minute marks placed with sine and cosine.
Beginner
-

A second hand that glides instead of ticking, redrawn many times a second.
Intermediate
Future Clock Faces¶
Ideas for watch faces nobody has written yet. The pictures are concept art, drawn to show the idea, not screenshots of working code. Pick one and build it.
-
Binary Clock

Hours, minutes, and seconds as rows of lit dots. A direct way to practice binary.
IdeaBeginner
-
Word Clock

"IT IS TEN PAST TEN" lit on a grid of letters. The rules for saying the time become a table.
IdeaIntermediate
-
Fibonacci Clock

Colored squares of size 1, 1, 2, 3, and 5 that add up to the hour and minutes.
IdeaIntermediate
-
Sun and Moon Dial

A 24-hour dial with daylight as a gold arc, using sunrise and sunset from Open-Meteo.
IdeaAdvanced
-
World Clock

Small dials for several cities, using the time-zone math in wifi_time.py.
IdeaIntermediate
-
Moon Phase

Today's moon phase, computed on the Pico with no web service.
IdeaAdvanced
-
Ring Clock

Three nested arcs fill as the hour, minute, and second go by.
IdeaIntermediate
-
Roman Numeral Face

A classic cream dial with Roman numerals and a thin red seconds hand.
IdeaBeginner
-
Nixie Tube Style

Orange digits glowing in drawn glass tubes, like a 1960s lab instrument.
IdeaBeginner
-
Next Test Countdown

Counts down to your next quiz or test and chimes a day before, whatever is on screen.
IdeaIntermediate
-
Bell Schedule

Your class periods as colored arcs, with minutes left in this class and where you go next.
IdeaIntermediate
-
Pomodoro Focus Ring

A 25-minute focus timer with a 5-minute break and a dot for each session.
IdeaBeginner
-
Minimal Dots

Twelve dots and two hands on navy. Shows how much a face can leave out.
IdeaBeginner
-
Orbit Clock

The hour is a planet, the minute a moon, and the second a comet on three orbits.
IdeaIntermediate
-
Day Progress

How much of today, the week, the semester, and the year is already done.
IdeaBeginner
-
Retro LCD Watch

Seven-segment digits on a gray-green background, like a 1980s digital watch.
IdeaBeginner
Future Study Tools¶
Ideas for samples that help with studying, several taken from the book's later chapters (FFT, wake words, MQTT, and the school agent). These are concept art too.
-
Flash Quiz

Multiple-choice decks, such as state capitals, that bring back the ones you miss.
IdeaIntermediate
-
Math Facts

Times-table drills generated on the Pico, so no deck is needed.
IdeaBeginner
-
Homework Checklist

Tonight's assignments, checked off with the buttons.
IdeaIntermediate
-
Mode Library

Browse and install new modes and quiz decks from a list your teacher publishes.
IdeaAdvanced
-
Push Alerts

Reminders pushed from the school over MQTT, such as a library book due.
IdeaAdvanced
-
Hey Pico Wake Word

Wakes up when it hears "Hey Pico" by matching sound features against a template of your voice.
IdeaAdvanced
-
Ask Your Buddy

Hold MODE, ask a question, and hear the school agent's answer.
IdeaAdvanced
-
Spectrum Analyzer

Live frequency bars from the microphone, computed with an FFT.
IdeaAdvanced
-
Ear Trainer

Hear a note and name it. Practice for music class.
IdeaIntermediate
-
Metronome

A steady click with a swinging pendulum and adjustable beats per minute.
IdeaBeginner
-
Breathing Coach

A circle that grows and shrinks to pace slow breathing before a test.
IdeaBeginner
-
Library Voice Meter

A traffic light that turns yellow and red when a study room gets loud.
IdeaIntermediate
-
Dice and Picker

Roll one or two dice, or pick who goes first.
IdeaBeginner
Add Your Own¶
Built something new? A sample belongs in this gallery when it runs on the
base kit and has a picture of its screen. Add a line for it to
scripts/render-gallery-images.py, run the script, and add a card to this
page. If your program is one of the ideas above, replace its concept art with
the real screenshot and drop the Idea badge.