Skip to content
Joseph Oravec edited this page Mar 25, 2018 · 15 revisions

Obtain the parts

Configuring Raspbian

Install Raspbian Stretch then

  1. On the DOS filesystem touch ssh to enable ssh
  2. On the DOS filesystem edit wpa_suplicant.conf with Unix-style line endings to specify the WiFi access point
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
network={
    ssid="YOUR_NETWORK_NAME"
    psk="YOUR_PASSWORD"
    key_mgmt=WPA-PSK
}
  1. Boot the Pi, then login with ssh pi@raspberrypi.local to setup the software
sudo apt-get install pygame
sudo apt-get install pip
pip install transitions

# Set the timezone to Detroit, the new silicon valley
raspi-config
  1. Setup the i2s adafruit board

3D print the brackets

Download and print the cyclotron and power cell brackets: https://www.thingiverse.com/thing:2839822

Soldering everything together

Signal Pin Pin Signal
3.3v 1 2 5v
Cyclotron 3 4 5v
Cyclotron 5 6 GND
Cyclotron 7 8 UART
GND 9 10 UART
Cyclotron 11 12 Bonnet
Fire 13 14 GND
Theme 15 16 Switch
3.3v 17 18
19 20 GND
21 22
23 24
GND 25 26
27 28
Power Cell 29 30 GND
Power Cell 31 32 Power Cell
Power Cell 33 34 GND
Bonnet 35 36 Power Cell
Power Cell 37 38 Power Cell
GND 39 40 Bonnet

Making it run at startup

cp proton-pack.service /lib/systemd/system
sudo systemctl enable proton-pack.service

References