Connect
Hardware, behind a common interface.
Wire sensors, actuators and controllers into your robot. Use existing drivers or implement the same behaviours for your hardware.
Browse packages on HexElixir / OTP / Robotics
Build things that wave, wobble, balance and occasionally surprise you—with Elixir and the BEAM keeping the software organised.
Open source · Apache 2.0 · Built on the BEAM
Start with a little Elixir
Define links, joints and motion limits in ordinary Elixir. Beam Bots turns that description into a robot model and a supervision hierarchy.
Keep geometry, units and constraints together. Add sensors and actuators where they belong in the topology.
Walk through the definitionThe first tutorial needs Elixir 1.19+ and Beam Bots. Start with a robot definition; connect hardware when you’re ready.
defmodule MyRobot do
use BB
topology do
link :base do
joint :shoulder do
type :revolute
limit do
lower ~u(-90 degree)
upper ~u(90 degree)
effort ~u(5 newton_meter)
velocity ~u(60 degree_per_second)
end
link :arm
end
end
end
end
One joint, explicit limits. Extend the same structure as your robot grows.
A few useful superpowers
Robotics brings concurrency, partial failure and changing state. The BEAM gives those problems a shared foundation.
Connect
Wire sensors, actuators and controllers into your robot. Use existing drivers or implement the same behaviours for your hardware.
Browse packages on HexSupervise
Supervision follows the robot’s topology. Components run in separate processes, with OTP supervision to isolate failures and manage restarts.
Explore the architectureOperate
Subscribe to sensor messages, solve motion with pluggable kinematics, and inspect your robot through Livebook or LiveView.
Read the guidesFrom the workbench
Robot arms, balance bots, and the occasional questionable idea. Here’s what people are building with Beam Bots.
Two SO-101 arms running teleoperation on Beam Bots. Demonstration by Damir Batinović.
Read the development notesAn NSK Balance Bot driven from a Goatmire badge running AtomVM. Demonstration by Gus Workman.
Read the build storyNotes from the workbench
Still taking a break, still making robots: working on Hubris brings me joy, and this month that means camera support and our first vision estimator.
Lars gets a free Donkey Car moving with Beam Bots, actuator errors learn to tell the truth, and I'm taking an OSS break over summer.
Back from Goatmire: a workshop rescued by hand-flashing, a talk with two robot arms and a HAL 9000 theme nobody noticed, and a balance bot that went home, learned to drive, grew a face and got a remote control. Plus kits, two new packages, and a disarm that told fibs.
An open-source project
Got a spare servo, a half-built robot, or an idea that won’t leave you alone? Come build with us. Drivers, bug reports, questions and tales from the workbench are all welcome.
Thank you to the people and organisations supporting this work.
Supports the development of Beam Bots.
Donated hardware for the project.
Hardware sponsor for Beam Bots.