How to Build a Slack-Controlled, Saxophone-Playing Robot (...)
summary
Concrete build of a Slack‑controlled, saxophone‑playing robot on wheels using Elixir and Nerves, with wiring, GPIO control, cheap stepper motors and a driver board, conditional compilation for tests, supervised GenServers for steppers and locomotion, NTP and networking recovery strategies, and Slack API integration. Demo hits real-world failures—SSL/time issues and flaky network—but recovery strategies and a recorded demo show it ultimately works. wiring and GPIO code, supervision trees and recovery, Slack integration and NTP handling
AI-written summary · about
chapters (14)
- 0:00Introduction
- 1:04Background and inspiration
- 3:09Conference tips and context
- 5:01Building the robot
- 6:39OTP and supervision trees
- 8:35Hardware control
- 12:10Local development and tests
- 16:10Locomotion and mechanics
- 20:17Resilience strategies
- 22:36Web interface
- 24:03Slack integration
- 28:52Error handling
- 32:40Nerves networking
- 37:05Project conclusion
related talks
27mDistributed Robots with Elixir
44mLive coding a Nerves robot with Livebook
38mElixir + Nerves + keys = Elixir keyboard!
24mTesting Concurrency and Fault Tolerance in Elixir/Nerves
44mBuilding Communities of Smart Things Takes Nerves
37mGoing Loonie: Rebuilding the tape deck experience with Elixir, Nerves and RFID
34mCharming Robots
17mFunctional farming with Nerves
