Skip to content

Volcano Show

Mark Boszko edited this page Mar 20, 2016 · 39 revisions

This is all very much a WIP. I need to go back and document stuff I've already done.

Parts

Raspberry Pi Setup

System Setup

  • Install Raspbian:
    • Installing with NOOBS
    • Download the NOOBS Installer. I used V1.8.0, released 2016-02-29.
    • Unzip the NOOBS package.
    • Download and use SD Formatter to format the SD card as FAT. I named it TIKINOOK.
    • Copy all files from the NOOBS_v1_8_0 folder into the root of the SD card.
    • Eject the SD card and insert in the Raspberry Pi. Hook up the Pi to Ethernet, an HDMI display, and a USB keyboard and mouse, then connect the Micro USB power.
    • When NOOBS boots, check the box for Raspbian, and click Install. Confirm you want to overwrite the SD card.
      • Note: The full Raspbian install probably contains a lot of unnecessary stuff, but I haven't whittled down to exactly what I need for the Tiki Nook. Still, should be OK.
    • Go get a cup of coffee while Raspbian installs.
    • Click OK when done; the Pi will reboot.
    • more to come
  • Use the Adafruit Respberry Pi Finder to connect to the headless Pi over the network and set up the bootstrap process.
    • Launch PiFinder.app (I'm on OS X)
    • Click Find My Pi!
    • Once it finds the Pi, change the Hostname (I use tikinook) and enter the Wi-fi SSID and password, and click Bootstrap!
    • As far as I can tell, PiFinder's Bootstrap did not change the hostname (the Pi remains at raspberrypi.local), and I'm not sure about the Wi-fi either. the other bootstrap stuff seemed to work though? its hard to tell, since the bootstrap terminal window disappears as soon as it finishes, so I cant see if there are any error messages.
  • On the Pi itself:
    • Menu > Preferences > Raspberry Pi Configuration
    • Change the password to something other than the default raspberry
    • Change the Hostname here to tikinook, because the PiFinder method didn't stick.
    • Interfaces > SPI > Enabled
    • Localization > Locale > Country > US
    • Timezone > Areas: US, Location: Pacific
    • Click OK and when it asks you to reboot, say Yes
  • Set up reserved LAN IP address
    • Find the Wi-fi MAC address of the RPi by running ifconfig wlan0. The MAC address is reported as HWaddr.
    • In AirPort Utility, click on the AirPort and then click Edit. Click on the Network tab, and under DHCP Reservations, click the .
      • Description: Tiki Nook
      • Reserve Address By: MAC Address
      • MAC Address: ab:cd:ef:01:23:45 (the address from wlan0)
      • IPv4 Address: 192.168.10.14 (or whatever IP address you'd like it to have)
    • This way, every time your RPi connects to the LAN, the AirPort will give it the same IP address.
  • Set up port forwarding for ssh
    • Not necessary, but I like to be able to get to ssh from outside of my home network.
    • In AirPort Utility, click on the AirPort and then click Edit. Click on the Network tab, and under Port Settings, click the .
      • Firewall Entry Type: IPv4 Port Mapping
      • Description: Tiki Nook SSH
      • Public TCP Ports: 8123 (or whatever port you prefer)
      • Private IP Address: 192.168.10.14 (the reserved IP address for your RPi)
      • Private TCP Ports: 22
    • Then you can connect from the outside by using ssh -p 8123 [email protected] (or whatever your WAN-facing IP address is)
  • Install VNC

Other Libraries

Wiring and Hardware

  • 2016-03-06 - Distributing power along one side of the nook shelves, so that we get better voltage and truer colors to more pixels
    • I don't really think this is working. According to Adafruit "Powering NeoPixels", I need 60 / pixel for max brightness on 294 pixels, which is ~18A. My current power supply is only 10A -- fine for most color work, but for bright white, it's not gonna work. (HAHAHA and my mains circuit is only 15A, so obviously this will work perfectly.)
Clone this wiki locally