raspberry pi

introduction

The Raspberry Pi is a small single-board computer that is fairly cheap and easily accessible from anywhere.

We currently use the Pi for a variety of projects on Pino, as it takes little power, and seems to be resistant to corrosion. Our Pi Computers are currently used only as experimental development tools, but could readily be turned into a complete development platform, would our principal computers fail.

setup

Download Raspbian Lite, and with Etcher flash the SD card. Once Etcher has finished, re-insert it and type:

  • touch /Volumes/boot/ssh # Enable SSH
  • touch /Volumes/boot/wpa_supplicant.conf # Auto-connect to wifi
  • nano /Volumes/boot/wpa_supplicant.conf
  • Edit wpa_supplicant.conf

  • country=CA
  • ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
  • update_config=1
  • network={
  • ssid='network_name'
  • psk='network_password'
  • }
  • If you are using a Raspberry Pi Zero and would like to controll it via USB, or Gadget Mode.

  • dtoverlay=dwc2 # Append in config.txt
  • modules-load=dwc2,g_ether # Append in cmdline.txt, or after rootwait
  • installation

    Connect to the Pi

  • ping raspberrypi.local # Find its IP address
  • ssh pi@192.168.1.73 # Use password 'raspberry'
  • sudo raspi-config # Interface/SSH & Advanced/Expand FS
  • sudo nano /etc/hostname # Rename
  • sudo nano /etc/hosts # Rename
  • passwd # Change Password
  • sudo reboot
  • Update everything

  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get dist-upgrade
  • pi hole

    To have an ad-free internet experience, we use the Pi Hole with an Inky Phat by Pimoroni. InkPhat displays the number of blocked requests, and filtered traffic.

    Setup Pi-Hole, InkyPhat and clone this repo on your Raspberry Pi Zero W.

    Automatic reload

    To have it reload automatically every 30 seconds, edit crontab.

  • crontab -e
  • Add the following line:

  • */30 * * * * python /home/pi/inky-hole/main.py
  • oscm

    Our media station is a OSMC powered Raspberry Pi. OSMC is a fast and beautiful operating system for the RPi board, it instantly gets media from our external drives, and streams audio to our Radio via Airplay.

    Setting up OSMC is extremly simple, one simply needs to burn a SD Card with the latest Build, it installs itself upon boot and is usable in matters of seconds on the Raspberry Pi 3B+.

    This rig can be operated solely by touch, and requires no keyboard.

    retropie

    Our game station is a Retropie powered Raspberry Pi.

    radio pi

    Our sailboat's speakers are connected to a Pi Zero W with Pimoroni's pHat Beat.

    The hat sends Airplay audio into two speaker-wire outputs, making a very powerful and cheap stereo. We share this device among our Media Station and phones.

    The full guide is here.

  • curl -sS get.pimoroni.com/airdac | bash
  • piano pi

    A hackable toy piano to play muzzak on rainy days.

    Features 6 synth & 1 drum instruments, 5 octaves, automated arpgeggios, volume controls and external keyboard support. Connect to a speaker and play, or connect a keyboard to have access to a few more octaves and shortcuts. Read the full guide on Github.

    Begin by setting up the Raspberry Pi, see the Setup Guide.

    Connect the PianoHat and download Pimoroni's tools, and learn more about the PianoHat.

  • curl https://get.pimoroni.com/pianohat | bash
  • Download our Framboisedorf sources, and launch the piano.

  • git clone https://github.com/neauoire/Framboisedorf.git
  • cd framboisedorf
  • python main.py
  • Enjoy!

    pi computer

    Rekka's Raspberry pi rig is a media platform and distractionless workstation. Its purpose is also to program other Raspberry Pi projects.