By Kevin McAleer, 5 Minutes
Page last updated November 24, 2026

By the end of this lesson you will know what the course covers, what kit you need, and how the lessons fit together.
Ahoy there makers! Most robots you will ever meet, from vacuum cleaners to drones, run firmware written in C. In this course we’ll learn the basics of C and then use it to make a real Raspberry Pi Pico blink a real LED. No programming or electronics experience needed.
C is a small, fast language that talks to hardware almost directly. The Raspberry Pi Pico is a small, cheap microcontroller board, and Raspberry Pi’s official way to program it in C is the Pico SDK (software development kit). We’ll learn C first on your own computer, where mistakes are cheap, then move the same ideas onto the Pico.
Here is the journey:
flowchart LR
A["Learn C on<br/>your computer"] --> B["Install the<br/>Pico SDK"]
B --> C["Hello from<br/>the Pico"]
C --> D["Control a<br/>GPIO pin"]
D --> E["Blink an<br/>LED"]
After completing this course, you will:
.uf2 fileCMakeLists.txt for your own projectgcc for lessons 2 to 5 (Linux and macOS usually have one; on Windows use WSL or an online C compiler)You don’t need to know any other language first. If you have used MicroPython on the Pico, you will spot the differences as we go, and if you are new to the terminal, Introduction to the Linux Command Line on Raspberry Pi OS is a friendly warm-up.
Real output. The C programs in lessons 2 to 5 were compiled and run, and the output shown is what they print. The Pico programs follow the official pico-examples projects from Raspberry Pi.
Two places to type. Lessons 2 to 5 run on your computer. From lesson 6 on, you build on your computer and the program runs on the Pico.
Check, try, fix. Each lesson has a Try it Yourself section, a Common Issues list and a short quiz. Quiz scores stay in your browser and show in the sidebar.
Mistakes are normal. C is strict, and a missing semicolon stops the build. That is not you failing; it is every C programmer’s Tuesday.
Teachers: this course suits learners aged about 12 and up, and can be run as a club or a term unit. Allow 30 to 45 minutes per lesson, and about 90 minutes for lesson 6, where the tools are installed. Lessons 2 to 5 need only a computer with a C compiler, so they can run with no hardware at all. For lessons 6 to 9 you need one Pico per learner or pair, plus an LED, resistor and breadboard each. Installing tools often needs administrator rights on school computers, so ask your IT team before the lesson, or have learners use their own laptops or a shared build machine. The SDK download is a few hundred megabytes, so do it once and share it rather than having thirty learners download at the same time.
Ready? Let’s find out what C actually is.
Quick quiz 1 of 3
Where do lessons 2 to 5 run?
Quick quiz 2 of 3
What is the Pico SDK?
Quick quiz 3 of 3
Which project do we build at the end of the course?
Comments