Skip to main content

Getting Started with Raspberry Pi

What is Raspberry Pi

Raspberry Pi is a single-board computer running Linux. Use it for edge computing, home servers, AI/ML, or any project needing a full OS.

Prerequisites

  • Raspberry Pi (4B/5 recommended)
  • microSD card (16 GB or larger, Class 10)
  • Power supply (5V 3A)

Install

  1. Download Raspberry Pi Imager from raspberrypi.com/software
  2. Choose Raspberry Pi OS (64-bit) and your SD card, then click Write
  3. Insert SD into Pi, connect power — OS boots automatically
import RPi.GPIO as GPIO
import time
GPIO.setmode(GPIO.BCM); GPIO.setup(17, GPIO.OUT)
for _ in range(10):
GPIO.output(17, GPIO.HIGH); time.sleep(1)
GPIO.output(17, GPIO.LOW); time.sleep(1)
GPIO.cleanup()