~/talk

Lights! Python! Action!

Talkat PyOhio 2025 · 2025-07-26..07-27· [creative-coding, python]
links:none on file
slides:none on file

An animated garage-built sign with 12 lights and melodic chimes runs from a Raspberry Pi Zero 2, a Model Labs USB-relay board, six Shelly dimmers, and a mix of mechanical and solid-state relays; code uses gpiozero, pyserial, threading and signal for buttons, requests then asyncio + aiohttp to parallelize 12 channel updates, dataclasses and typing for clearer models, and a level shifter to handle a 5V remote receiver feeding 3.3V GPIO. The demo mostly works; cheap remotes and sequential HTTP calls caused the biggest surprises.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Toledo War anecdote
  3. 2:01Project motivation and setup
  4. 3:53First sign version
  5. 6:08Wire management techniques
  6. 7:53Raspberry Pi GPIO control
  7. 9:42Remote control added
  8. 11:50Hardware troubleshooting
  9. 12:51Wireless receiver and voltage shifting
  10. 13:54Dimmers and smart home
  11. 15:20Async for sequential ops
  12. 17:07Type annotations benefits
  13. 18:11Data classes simplification
  14. 19:36Dependency injection and ABCs
  15. 20:42Musical engine
  16. 21:44Lessons learned
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.