Introduction

Meet the status buddy, a desk gadget that senses a door, shows it on an OLED, speaks with SAM and reports to Arduino Cloud

By Kevin McAleer,    4 Minutes

Page last updated November 24, 2026


Course Cover Image


Ahoy there makers! Blinking an LED is a brilliant first step, but sooner or later you want your project to do something you can see, hear and check from your phone. This course takes you there, one small gadget at a time.

Watch this first, then come back and let’s build.


Overview

You already know how to read a pin and flash an LED. Now we give a Pico three new abilities: to show information on a tiny OLED screen, to talk with a speech engine from 1982, and to connect to the internet.

Rather than three separate demos, we build one thing that grows in every section. It is a desk gadget called the status buddy. A reed switch and a magnet tell it whether a door (or a lid, or a drawer) is open. The buddy then shows the answer on its screen, says it out loud, and reports it to Arduino Cloud so you can check from your phone.

flowchart LR
    A["Sense<br/>reed switch"] --> B["Show<br/>OLED screen"]
    B --> C["Talk<br/>SAM speech"]
    C --> D["Connect<br/>Wi-Fi + Arduino Cloud"]
    D --> E["Shrink it<br/>XIAO"]

Course Content

  • Getting started: what the status buddy is, the parts list and the pin plan
  • Sense: reed switches and magnets, reading the door, interrupts and debouncing
  • Show: wiring an SSD1306 OLED, drawing text and shapes, and a live status screen
  • Talk: meeting SAM, then giving the buddy a voice
  • Connect: Pico W Wi-Fi, then pushing the door state to Arduino Cloud
  • Shrink it: moving the whole gadget onto a Seeed XIAO
  • Putting it together: the full program, a troubleshooting guide and what to build next

Key Results

After completing this course, you will:

  • Read a reed switch reliably, using a pull-up, an interrupt and debouncing
  • Connect an OLED over I2C and draw text, shapes and a status screen
  • Make your Pico speak, and give it a different voice
  • Connect a Pico W to Wi-Fi and send a value to Arduino Cloud
  • Keep pin numbers in one config.py so a project can move to a new board
  • Have a finished desk gadget you can put on a real door

What you’ll need

  • A Raspberry Pi Pico W. A plain Pico does everything except the Wi-Fi lessons
  • A normally open reed switch and a neodymium magnet
  • A 0.96 inch SSD1306 I2C OLED display (128x64)
  • A small speaker or piezo buzzer, and an optional 1K resistor
  • Jumper wires and a breadboard
  • Thonny (or mpremote) to copy files to the Pico
  • A free Arduino Cloud account, for lesson 12
  • Optional, a Seeed XIAO board, for lesson 13

This course follows on from two others. If a line of code looks unfamiliar, check these first:

How the course works

One gadget, four stages. Every section adds a stage to the status buddy. Each lesson tells you which stage you are on, and the finished program is in lesson 14.

Complete programs. Every code block you are told to run is a whole program: imports, setup and loop. Save it to the Pico, run it, and it should work. Short snippets that only make sense inside a bigger program say so.

Extra files. Three parts of this course use code that is not built into MicroPython: the ssd1306.py display driver, the SAM speech library, and the Arduino Cloud client. Each lesson tells you where to get it and how to copy it onto the Pico.

Secrets stay secret. Wi-Fi names, passwords and Arduino Cloud keys always live in a separate secrets.py file. Examples only ever show placeholders.

Quizzes. The Show, Talk and Connect sections each end with a short quiz. Your score is kept in your browser.

Mistakes are normal. Most lessons have a Common Issues list for the things that trip people up, and lesson 15 gathers the big ones in one place.

Ready? Let’s meet the buddy.

Next >

Was this lesson helpful?

Course complete

Congratulations, you finished MicroPython Projects - Make It Show, Talk and Connect!

That's all 17 lessons done. Let people know, it's a great way to inspire someone else to start.

Share card: I completed MicroPython Projects - Make It Show, Talk and Connect on KevsRobots
Post Bluesky LinkedIn Facebook


What are you looking for?
Watch Videos Get Ideas Learn Something Read a Review Read the Blog Search
... Z Z z