Raspberry Pi's: an interactive beginner's course
Raspberry Pi's is an interactive Raspberry Pi course that takes you from unboxing a Raspberry Pi 5 to planning your own projects. In 30 short sections it covers the parts of the board, what you need to start, installing Raspberry Pi OS, the Linux terminal, the 40-pin GPIO header and 3.3 volt logic, blinking an LED, reading a button with Python, I2C and SPI sensors, HATs, wiring modules, the camera and project planning.
It opens with a 3D tour of a Pi 5, from the processor and memory to the GPIO header, and every later section uses that same board.
What the course covers
| Sections | Topic | What you do |
|---|---|---|
| 1 to 3 | What a Raspberry Pi is, and the system on a chip | Match each part of the board to its job |
| 4 to 7 | Getting started and installing Raspberry Pi OS | Plug each device into the right connector, then order the setup steps |
| 8 to 9 | Linux and the terminal | Type the terminal command for a task |
| 10 to 13 | The GPIO header and 3.3 volt logic | Find pins on a pinout chart, then sort wiring ideas into safe and damaging |
| 14 to 16 | Blinking an LED | Work out the LED current, then complete a gpiozero blink program |
| 17 to 19 | Reading buttons and controlling LEDs | Predict pin readings and what button code does |
| 20 to 26 | Sensors, special pins, HATs and wiring modules | Sort facts into I2C or SPI, then wire devices to the header |
| 27 to 30 | The camera, project ideas and a final review | Pick every part a project brief needs |
Setting up
A Pi 5 needs a USB-C power supply (the official one gives 5 V at up to 5 A), a microSD card, and a keyboard, mouse and screen or another computer to log in from. You copy Raspberry Pi OS, a version of Linux, onto the card with the free Raspberry Pi Imager, then learn enough of the terminal to move around and install things.
The GPIO pins
The 40-pin GPIO header is what makes a Pi more than a small computer. Each general purpose pin can switch an output, such as an LED, or read an input, such as a button. The pins work at 3.3 V, so the course spends a section on what is safe: connecting 5 V to a GPIO pin can damage it.
from gpiozero import LED
from time import sleep
led = LED(17)
while True:
led.on()
sleep(1)
led.off()
sleep(1)Sensors and projects
Smarter sensors send numbers over shared buses, I2C or SPI. HATs plug onto all 40 pins at once, and every module labels its power, ground and signal pins. Most projects follow one pattern: a sensor reads the world, Python decides, and something happens.
Try a question from the course
An LED needs a resistor so the current stays small enough for the LED and the pin. A GPIO pin set high gives 3.3 V. The LED takes its share first, say 2.0 V, and the resistor gets what is left. With a 330 Ω resistor:
Now work out the current for a new LED and resistor, then press Mark to check your answer in the course.
Type the current through an LED and resistor on a 3.3 V pin, in mA.
Press Mark to have your answer marked in the Raspberry Pi's course.
Who this course is for
- Beginners with a new Raspberry Pi who want to go from setup to a working project.
- Students on computing, electronics or design and technology courses who want to control real hardware with code.
- Makers and parents planning projects such as weather stations, cameras or home gadgets.
What you need to know first
The course page lists Electricity and Programming Languages first. You need to know what voltage, current and resistance are for the LED and wiring sections, and be comfortable reading short Python programs. You can follow the course without a Pi, but having one to try things on helps.
How long it takes
There are 30 sections and most take a few minutes to read; building along takes longer. Learners without a plan can open two sections of a course a day, in order, so the whole course takes 15 days. A plan removes the daily limit and lets you go straight to any topic, such as sensors.
Common questions
Is this Raspberry Pi course free?
Do I need a Raspberry Pi to take the course?
What is GPIO on a Raspberry Pi?
Why does an LED need a resistor?
What language does a Raspberry Pi use?
What is the difference between I2C and SPI?
Revision cards
Say the answer first, then flip the card to check it.
Where to go next
- Solve it
Circuit Builder
Build any DC circuit with meters, lamps, LEDs and sensors, and see live readings
Open the tool - Learn it
Raspberry Pi's
Build projects with the most popular single-board computer
Start the course