Distributed Robots with Elixir
summary
Repositories show Sphero and Parrot ports lifted from Ruby into Elixir using structs/maps and gen_server clients that emit serial or UDP bitstreams. An Android app uses Android via JInterface by packaging an Erlang runtime, launching epmd (copy step ~7 minutes) and sending gen_cast tuples to remote nodes. A Raspberry Pi runs GPIO code with Pi Blaster PWM for eight software PWM channels, drives an RGB LED and a Sabertooth‑controlled RC tank ( -1..1 → 1000–2000µs). Demos mostly work but suffer network drops and a reversed motor wiring fixed in software.
AI-written summary · about
chapters (8)
- 0:00Introduction to robotics
- 1:01Sphero ball demonstration
- 4:42Sphero library technicals
- 6:19Parrot drone control
- 8:23Microcontroller hardware
- 12:07Android to Pi communication
- 16:15RGB LED project
- 20:24RC tank project and conclusion
related talks
52mPhysical Elixir
34mCharming Robots
46mThe Joy of Connecting Elixir to the Physical World
42mIntroduction to Elixir for Rubyists
44mBuilding Communities of Smart Things Takes Nerves
36mWrite once, run on every boards: portable mruby
39m"Elixir-based Ruby Web Server"
46mFunctional IoT with Elixir and Nerves
