Skip to content

Raspberry Pi Setup Guide

Always be careful when running scripts and commands copied from the Internet.

Anyway, that said...


Getting start

Download Raspberry Pi imager from the Play Store to write images to an SD card from your phone.

You can use a wall charger but they run happily off a large powerbank if you wanna dev from the sofa.

Connection differences between the Pi 4 and Zero

type 4 Zero
HDMI Micro Mini
Power USB-C Micro-USB

Operating systems

It's by far easiest to install Raspbian 32-bit.

You might also consider: - Raspbian 64-bit -- see direct link - Kali is a bit slow and painful with a full desktop environment -- might be worsened by powering over USB rather than a dedicated power supply -- but the headless, command line only version is great for auditing your home network.

Additional software

Configuring the network without a display

  • https://www.raspberrypi-spy.co.uk/2017/04/manually-setting-up-pi-wifi-using-wpa_supplicant-conf/
country=us
update_config=1
ctrl_interface=/var/run/wpa_supplicant

network={
scan_ssid=1
ssid="MyNetworkSSID"
psk="Pa55w0rd1234"
}

Also, to enable ssh, touch an empty file named "ssh" at the top level on the SD card to enable it.


Project ideas

  • https://projects.raspberrypi.org/en
  • Plant irrigation system
  • ANPR -- car number plate detection system
  • Webcam -- with upload/sync to GoogleCloud (rsync, cron)
  • Signal triangulation -- calculate relative position of multiple devices using audio, Bluetooth etc.
  • https://hackaday.com/2015/02/08/automated-mushroom-cultivation/
  • https://hackaday.com/2010/06/24/mushroom-terrarium-automation/
  • Media server using Kodi
  • Send SMS message
  • Send periodic UDP broadcasts from multiple devices and log in Wireshark
  • Home certificate authority
  • Mail server
  • PXE boot server and client
  • Regularly port-scan all devices on your home network
  • Pigeon deterrent
  • Automatic Shazam
  • Home web server (nginx)
  • Shy robot: solar powered robot that hides in the shadows when disturbed
  • https://learn.pimoroni.com/tutorial/hel/auto-watering-with-grow
  • SMPTE timecode - clapperboard
  • Pi-hole ad blocked -- even works on a Zero but you do need a router that can have its DNS config updated

Stores

Operating systems

Pico

  • http://cowlark.com/2021-02-16-fuzix-pi-pico/

Kits and peripherals

Models/kits

GPIO

  • http://raspberrypi-aa.github.io/session2/bash.html
  • http://manpages.ubuntu.com/manpages/eoan/en/man1/gpio.1.html
  • http://wiringpi.com/the-gpio-utility/
  • https://www.raspberrypi.org/documentation/usage/gpio/
  • https://pinout.xyz/

Gardening

Cases

  • https://thepihut.com/products/flirc-raspberry-pi-zero-case

Audio

  • https://thepihut.com/products/pirate-audio-headphone-amp-for-raspberry-pi
  • https://thepihut.com/products/hifiberry-dac-light
  • https://thepihut.com/products/hifiberry-dac-hat-standard-rca
  • https://thepihut.com/products/hifiberry-dac-phone

Displays

  • https://thepihut.com/products/medium-16x32-rgb-led-matrix-panel
  • https://thepihut.com/products/adafruit-1-44-color-tft-lcd-display-with-microsd-card-breakout-st7735r
  • https://www.waveshare.com/wiki/1.28inch_LCD_Module

Solar

  • https://thepihut.com/products/flexible-solar-panel-1-5v-250ma

GSM

  • https://thepihut.com/products/modmypis-raspberry-pi-gsm-gprs-board-sim800

Misc

ARM