~/talk

Live coding a Nerves robot with Livebook

Talkat ElixirConf EU 2026 · 2026-04-23..04-24· [embedded-and-hardware]
links:none on file
slides:none on file

Wobbles is a self‑balancing two‑wheel robot built on a Raspberry Pi running Elixir and Nerves and 3D‑printed with OpenSCAD. Livebook runs on‑device to read an MPU accelerometer/gyro over I2C and parse 14 bytes into signed integers using binary pattern matching in a GenServer. Motor control uses NEMA 17 steppers through a stepper driver and pigpio PWM, realtime angle plots use Kino, and hands‑on PID tuning gets the robot nearly balanced though not fully stable.

AI-written summary · about

  1. 0:00Introduction
  2. 3:43BEAM robotics experiments
  3. 13:183D printing with OpenSCAD
  4. 14:00I²C sensors and binary matching
  5. 19:21Motor control challenges
  6. 26:55Livebook demo on robot
  7. 31:55Sensor data with Kino
  8. 33:01PID controllers explained
  9. 38:00Tuning PID in real time
  10. 40:29Final adjustments
~/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.