Good first Raspberry Pi projects are blinking an LED with Python, a button-controlled reaction game, a Pi-hole ad blocker, a media center, a retro game console and a simple camera project. Start with a project that uses only software or a few parts on a breadboard, finish it, then move to one that runs all day on your network.
Below, the projects are in order of difficulty, with the time and parts each one needs. The first is written out in full so you can do it today.
Before you start
You need a Raspberry Pi that is set up and running Raspberry Pi OS (see our getting started guide). The Vilros Raspberry Pi 5 Complete Starter Kit covers the board, power, case and storage. For the electronics projects, add parts from the Vilros Raspberry Pi 5 Inventor Starter Kit or the Vilros Physical Computing Bundle, or buy them on their own:
- 400-hole solderless breadboard
- Jumper wires
- 5mm LED set and a few 220-330 ohm resistors
- Tactile push buttons
Vilros is an official Raspberry Pi Approved Reseller in the US. Orders ship the next business day from New Jersey.
Project 1: Blink an LED with Python (30 minutes)
This teaches the two basics of physical computing: wiring a circuit to the GPIO pins and controlling it from code.
- Shut down the Pi and unplug it before wiring.
- Place the LED on the breadboard. The longer leg is positive (anode).
- Wire it. Connect GPIO17 (physical pin 11) to one end of a 330 ohm resistor, the other end of the resistor to the LED's long leg, and the LED's short leg to a GND pin (physical pin 6). Check our GPIO introduction guide for a pin diagram.
- Power on and open Thonny from the Programming menu.
Type this program:
from gpiozero import LED from time import sleep led = LED(17) while True: led.on() sleep(1) led.off() sleep(1)- Select Run. The LED blinks once a second. Select Stop to end it.
- Change it. Try
led.blink(on_time=0.2, off_time=0.2)instead of the loop, or add a second LED on another pin to make traffic lights.
If the LED does not light: turn it round (it only works one way), check that the resistor and wires are in the same breadboard rows as the LED legs, and check you used GPIO17, not physical pin 17.
Project 3: Network-wide ad blocker with Pi-hole (1 hour)
A software-only project that is useful every day. Pi-hole blocks ad and tracking domains for every device on your network. It runs fine on any Pi. Follow our step-by-step Pi-hole guide.
Project 4: Home media center (1 hour)
Turn the Pi into a Kodi box for your TV with LibreELEC. Plays your own video and music from a USB drive or network share, and works with your TV remote. See our home media center guide.
Project 5: Retro game console (1-2 hours)
Write Recalbox or Batocera to a card, plug in USB gamepads and play games you own on classic systems. See our retro gaming console guide.
Project 6: Time-lapse or motion camera (2 hours)
Connect a Raspberry Pi Camera Module 3 to the camera connector (Pi 5 uses a smaller 22-pin connector, so you also need a 22-way to 15-way camera adapter cable, sold separately). Take a test picture with:
rpicam-still -o test.jpgThen write a short Python script with the Picamera2 library that takes a photo every minute, and turn the photos into a time-lapse video.
Project 7: Smart home hub with Home Assistant (2 hours)
Install Home Assistant OS on a spare card or an SSD, and control lights, plugs and sensors from one dashboard with automations such as "lights on at sunset". See our Home Assistant guide.
Project 8: Network file server (2-3 hours)
Connect a USB drive or an NVMe SSD on the Raspberry Pi M.2 HAT+ and share it on your network with Samba, so every computer in the house can store files on it. See our NAS project.
How to pick your first project
- Want to learn to code? Projects 1, 2 and 6.
- Want something useful straight away? Projects 3 and 4.
- Want to have fun with family? Project 5.
- Want a longer project? Projects 7 and 8, which run 24/7 and teach networking.
Troubleshooting common beginner problems
- Permission or "pin in use" errors in Python. Make sure no other script is still running on the same pin; select Stop in Thonny and run again.
- pip install gives "externally-managed-environment". Install libraries with
sudo apt install python3-<name>, or create a virtual environment (see our Python guide). - The Pi restarts when you plug something in. Never wire while it is powered, and use a 5V 5A supply on a Pi 5.
- The camera is not detected. Check the ribbon cable orientation and that it is the right width for your Pi; run
rpicam-hello --list-cameras.
FAQ
What is the easiest Raspberry Pi project?
Blinking an LED with Python, or installing Pi-hole if you would rather not wire anything. Both take under an hour.
Do I need to know how to code?
No. Projects 3, 4, 5 and 7 need no programming. Project 1 gives you a working program to copy and change.
Which Raspberry Pi should a beginner buy?
A Raspberry Pi 5 with 4GB or 8GB of RAM covers every project on this page. A starter kit saves matching parts yourself.
Do I need to solder?
No. Every project here uses a breadboard and jumper wires, or no wiring at all.
Shop this tutorial
CartAlso useful
Vilros Raspberry Pi 5 Complete Starter Kit2GB / Aluminum Alloy W/ Passive+Active Cooling$177.49
Vilros Raspberry Pi 5 Inventor Starter Kit2GB$187.49
Vilros Physical Computing Bundle For Raspberry Pi$18.99
400 Hole Solderless Breadboard$4.79
Male-Male Jumper Wires (Set of 65-assorted sized and colors)$6.99
5mm LED Set-Includes 5x Red, 5x Yellow, 5x Green$6.99
Vilros 10 Pcs Momentary Tactile Tact Push Button Switch-- 6 x 6mm x 5mm$6.99
Raspberry Pi Camera Module 3Noir / Standard$40.00
Raspberry Pi M.2 HAT+ (For Raspberry Pi 5)HAT Only / Yes / Yes$44.99
Prices from vilros.com. Tax and shipping at checkout.