Skip to content

Guide

Raspberry Pi projects for beginners: 8 first builds, step by step

Eight Raspberry Pi projects for beginners, easiest first: blink an LED, a button game, Pi-hole, a media center, a retro console and more, with parts lists.

Updated

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:

Vilros is an official Raspberry Pi Approved Reseller in the US. Orders ship the next business day from New Jersey.

Project 2: Reaction game with a button (1 hour)

Add a push button between GPIO2 and GND. Light the LED after a random delay; the player presses the button as fast as possible and the program prints the reaction time. You learn inputs, random numbers and timing. gpiozero's Button class handles the pull-up resistor for you, so you need no extra parts.

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.jpg

Then 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

Cart
0 selected$0.00

Prices from vilros.com. Tax and shipping at checkout.

Printable guide