How jerware/startrekchair works
Project Type and Purpose
• This is an embedded hardware/software system that adds synchronized sound and lighting effects to Adam Savage’s Star Trek captain’s chair.
• It consists of two Teensy-based Arduino projects running in parallel:
• starTrekChairSND (sound/master)
• starTrekChairLED (LED/slave)
• The sound board reads user input (buttons), plays audio via a Teensy Audio Board, and drives the LED board over a serial link.
File Structure Analysis
Top-level:
• LICENSE – project license
• PCB/… – Gerber files, BOM, Eagle board & schematic for the combined hardware
• readme.txt – usage overview
• starTrekChairLED/starTrekChairLED.ino – Arduino sketch for the LED slave board
• starTrekChairSND/starTrekChairSND.ino – Arduino sketch for the sound master board
Key architectural clues:
• Two independent Arduino sketches ➔ two on-board microcontrollers
• PCB artifacts ➔ custom hardware design
• README description of master/slave revision and serial comms ➔ clear division of responsibilities
README Insights
• starTrekChairSND is the “master”:
• All button inputs are wired here
• Controls audio playback via Teensy Audio Board
• Sends LED commands to the slave via hardware serial
• Uses a pin-expander IC to free up Teensy GPIO
• starTrekChairLED is the “slave”:
• Receives serial commands and translates into LED driver signals
• Power distribution, speaker, buttons, LED strips, and optional OSH Park PCB all play roles
a. Main Components
1. Sound Board Assembly (Teensy 3.1 + Audio Board + Pin Expander + Buttons + Speaker)
2. LED Board Assembly (Teensy 3.1 + LED drivers or direct LED strip connections)
3. Communication Link (UART / Hardware Serial Rx/Tx lines)
4. Power Supply (5 V rail, common ground)
5. Custom PCBs (for mechanical integration and signal routing)
b. Interactions
• User presses a button → Signal to Sound Board GPIO/expander
• Sound Board processes input →
– Triggers audio playback on Audio Board → Speaker outputs sound
– Forms LED command packets → Sends over Serial TX → LED Board RX
• LED Board receives commands → Updates LED strips
c. Architectural Patterns
• Master/Slave microcontroller pattern
• Clear separation of I/O concerns: sound vs. light
• Serial messaging protocol for decoupling
• Hardware abstraction via pin-expander IC
d. Key Technologies & Frameworks
• Arduino (.ino) code targeting Teensy 3.1
• PJRC’s Teensy Audio Library
• Hardware serial (UART) for inter-board communication
• Eagle CAD for PCB design