OPEN SOURCE · RASPBERRY PI · ~$300 · NO GAMING PC

Turn a closet into
a starship bridge.

A real flight-sim switch panel, a Raspberry Pi, and AI-generated voice lines — every switch your kids flip talks back in a movie-trailer voice, lights real LEDs, and drives a living starship display. This site shows you how to build one. All the code is free.

SCROLL FOR PRE-FLIGHT CHECKS ▾
MISSION BRIEF

What you're building

A WINWING PTO2 panel — landing gear lever, flaps, engine switches, and a guarded red JETTISON button — plugs into a Raspberry Pi. One Python program reads every switch, plays a cinematic callout with your kids' names in it, drives the panel's physical warning lights, and serves a full-screen bridge to any TV. After setup it runs entirely offline. Power on the Pi, and the room is a spaceship.

🎙️

Every control talks

36 scripted voice lines rendered with your crew's names via the ElevenLabs API. A looping jettison alarm blares until someone flips SILENCE ALARMS.

💡

Real lights

Gear lamps, master caution, flap & hook LEDs driven directly over USB HID on Linux — reverse-engineered by the community, no Windows software needed.

🖥️

A living bridge

Warp-reactive starfield, telemetry gauges, tactical radar, a 30-object galactic database with real astronomy, energy schematic, and crew cards for your astronauts.

🕹️

Secret missions

Flip the right sequence of controls and a full-screen cinematic takes over: launch, black-hole slingshot, asteroid run, escape-pod rescue.

🌌

Deep-field screensaver

Idle for 75 seconds and the bridge drifts through 30 named space vistas at half speed. Any switch snaps it back to the bridge.

🔒

Private by design

Your family's names, photos, and voices live only on your Pi. The repo ships with a fictional demo crew and gitignores all personal media.

TRY IT

Flip a switch

This is a tiny taste of the real bridge UI (same code style, same reactions). On the actual build, each of these also plays a voice line through the room and lights the physical panel.

⚠ RED ALERT
🚀
ALL SYSTEMS GO
flip a switch, crew — the galaxy awaits
IN THE REAL ROOM: + BOOMING TRAILER VOICE + PHYSICAL LEDS + A FOUR-YEAR-OLD YELLING "RED ALERT"
PARTS LOCKER

Hardware — roughly $300 all-in

Three required parts plus a screen you already own. Everything else is set dressing. Full list with alternatives in HARDWARE.md.

PARTROLEAPPROX.
WINWING PTO2 "Panel of Take Off"
Gear lever, flaps, hook, engine switches, guarded jettison button, real LEDs
The switches — the heart of it$100–130
Raspberry Pi 4 + 32GB microSD + PSU
2GB RAM is plenty; a Pi 5 also works
The brain$60–120
USB speakers (e.g. Creative Pebble V3)
One USB cable = power + audio from the Pi
The voice of the ship~$40
Any HDMI TV / monitor / old tabletThe viewscreen$0
Optional theatrics
Galaxy wallpaper, aluminum "life-support" ducting, astronaut costume, foam edge padding
The room$50–150

⚠️ Buy the panel from the official WINWING store — marketplace listings are frequently scalped at 2–3× price. Different panel? Any USB HID button box works for sounds; the mapping wizard handles it.

SCHEMATIC

How it works

One Python process does everything. No cloud, no accounts, no subscriptions after the one-time voice generation.

 WINWING PTO2 ──USB──► Raspberry Pi 4
   switches                │
   (evdev input) ──► panel_web.py ──► pygame/ALSA ──► USB speakers
                           │  ▲                       (voice lines)
   LEDs ◄──USB HID─────────┘  │
   (raw hidraw writes)        │  config.json      — your ship + crew
                              │  mapping.json     — switch → sound
                              │  voice_lines.json — the 36 scripts
                              ▼
                    HTTP + Server-Sent Events
                              ▼
                 Chromium kiosk — the bridge UI
           starfield · telemetry · radar · missions · red alerts
PRE-FLIGHT

The build, in six steps

A relaxed afternoon. The full guide covers every command, flashing the SD card, audio config, and troubleshooting.

Flash the Pi

Raspberry Pi OS (64-bit) via Raspberry Pi Imager. Set hostname, Wi-Fi, and SSH in the imager's settings screen.

Clone the project

git clone https://github.com/michaelditter/open-cockpit.git ~/open-cockpit
cd ~/open-cockpit/cockpit

Name your ship & crew

Edit config.json — ship name, kids' names, callsigns, mottos. This one file drives the bridge display and the voice pack.

Generate the voice pack

36 cinematic lines rendered with your crew's names. Pick any ElevenLabs voice — booming trailer narrators work brilliantly. (No ElevenLabs? Record grandpa instead. Honestly better.)

export ELEVENLABS_API_KEY=sk_...
python3 generate_sounds.py --dry-run   # preview the scripts
python3 generate_sounds.py             # render ../sounds/*.mp3

Install & map your switches

bash install.sh                              # deps + MP3→WAV for low latency
sudo cp 99-winwing.rules /etc/udev/rules.d/  # LEDs without root (then replug)
.venv/bin/python panel_sounds.py --wizard    # press a switch for each sound

PTO2 owners can skip the wizard — the repo ships pre-mapped for it.

Fly, then make it permanent

.venv/bin/python panel_web.py    # bridge at http://cockpit.local:8080
bash install_kiosk.sh && sudo reboot   # boots straight into the cockpit forever
CLASSIFIED

Secret combos

Don't tell the crew. Let them discover these.

SEQUENCERESULT
Same control, 3× fastFamily montage + anthem takes over the screen
Lights OFF → ON → OFFDeep-field screensaver
Engines L+R → Master → Launch bar → Full flaps → Gear up → Wings spread🚀 LAUNCH cinematic
Hook IN → Master engine → Wings fold → Anti-skid → Hook OUT🌀 Black-hole slingshot
Jettison alarm → Stores → L fuel → R fuel → Escape pod → Silence🛟 Escape-pod rescue
CREW SAFETY

Your kids stay off the internet

PRIVACY BY DESIGN

The repo ships with a fictional demo crew — Alex, Sam & Nova of the ODYSSEY. Your family's identity lives in one local file (config.json) plus media folders that are gitignored by default: generated voice lines, crew photos, and family montage content never leave your Pi, even if you fork the project publicly. If you photograph your build to share, check what's on the screen first — your ship name renders there.

COMMS

FAQ

Do I need a gaming PC or a flight simulator?

No. That's the point. The panel plugs into the Pi and the Pi does everything — sounds, lights, display. (USB is point-to-point, so if you also want the panel to fly a sim on a PC, run the sounds script on that PC instead.)

Does it work with panels other than the WINWING PTO2?

For sounds and the bridge: yes — any USB HID device the Linux kernel exposes (button boxes, throttles, joysticks). Run panel_sounds.py --wizard to map it. Physical LED control is PTO2-specific today; ports to other panels are welcome pull requests.

What does it cost to run?

Nothing recurring. The ElevenLabs voice generation is a one-time job (a starter plan covers the whole 36-line pack; regenerate whenever you like). After that the cockpit is fully offline — optional space imagery loads from Wikimedia when online.

How hard is the build, really?

If you can flash an SD card and paste terminal commands, you can build this. There's no soldering, no wiring, no 3D printing. The hardest part is not spoiling the secret combos.

Can I write my own voice lines?

Yes — voice_lines.json holds all 36 scripts with {c1}/{c2}/{c3}/{ship} name tokens. Edit any line and re-render just that one with generate_sounds.py --only gear_up. Or skip AI entirely and record your own MP3s.

What's next for the project?

A voice-interactive ship computer (push-to-talk → speech-to-text → LLM → ElevenLabs, aware of ship state), a stateful mission engine with per-kid ranks and weekly AI-generated missions, live ISS and launch data on the bridge, and WLED room-lighting sync. Star the repo to follow along.

Build one for your crew.