A beginner's guide to setting up a Raspberry Pi, installing Raspberry Pi OS, using GPIO pins and writing Python with CircuitPython.
This guide introduces the Raspberry Pi, a tiny, low-cost single-board computer that runs Linux-based operating systems. It covers what you need to get started, how to install Raspberry Pi OS onto a microSD card with the Raspberry Pi Imager, and how to connect a monitor, mouse, keyboard and power supply.
The second part focuses on programming: the Thonny Python editor that comes with Raspberry Pi OS, GPIO pin usage, and Python examples for an LED, a button with an LED, a BME280 sensor and a DHT11/DHT22 sensor using CircuitPython and the Adafruit Blinka library.
| Board size | about 9x6cm |
|---|---|
| Price | $35+ |
| micro HDMI ports | 2 |
| USB A ports | 4 |
| Power supply | USB C |
| Camera connector | 1 |
| Ethernet port | 1 |
The recommended operating system is Raspberry Pi OS, which is Linux based and was previously known as Raspbian.
You need a microSD card and the Raspberry Pi Imager, which you use to download the OS to the microSD card.
You need a microSD card with adapter, a power supply, a microHDMI to HDMI cable, a monitor, a mouse and a keyboard.
Raspberry Pi OS comes with a basic Python editor called Thonny, and you can install and use others if you want.