A self-balancing robot motorcycle at about 1:8 scale. A reaction wheel is designed to keep it upright at standstill and while it drives; it lifts itself off a 3° side stand, steers with a servo and is driven over Wi-Fi from an Android phone or a Windows PC.
In development
Level: Advanced
Version: 0.1.0
Design v0.1.0: simulated and checked in CAD; the first unit is not built yet
BR-01 self-balancing robot motorcycle with the mech livery
The experience
Try both apps first with the bike emulator, a simulated bike that speaks the same protocol. Then print the frame, fork, swingarm, rims, TPU tyres and the guarded reaction-wheel disc, and fit two M5Stack Roller485 Lite motors, a steering servo and the CoreS3 as tank and dashboard. Press ARM: the bike is designed to spin its reaction wheel, lift itself off the 3° side stand and balance at 400 Hz. Drive it with two thumbs in BikePilot or with the keyboard in BikeStudio, watch the lean, the wheel speed and every controller term 50 times a second, switch LQR ↔ cascade PID, and read the ten-chapter course in the LEARN tab to find out why one wheel-speed gain looks wrong-way.
What makes it special
Reaction-wheel balance
A Ø 100 mm printed disc with steel masses, driven by a BLDC motor with FOC, holds the bike upright at standstill and while it drives.
Stands up by itself
From a 3° side stand the wheel's torque lifts the bike to vertical: in 0.20 s in simulation. Feet for 2° and 4° stands are included.
Two controllers, one law
LQR (the default) and a cascade PID, switchable on the fly. With the default gains they are the same controller written two ways.
Phone and PC control
BikePilot on Android and BikeStudio on Windows share one protocol library. STOP works from any connected app, the HUD and the kill switch.
Safe without the link
The loop always runs on the bike. Losing Wi-Fi stops driving after 0.3 s, and without a pilot for 30 s the bike parks itself on a stand.
Steering physics
Turns use a coordinated-turn lean feedforward and a speed-dependent steering limit; the theory covers counter-steering, trail and self-stability.
What you will learn
Bike geometry: wheelbase, rake and trail
Roll dynamics: the bike as an inverted pendulum
Reaction wheels: momentum, saturation and sizing
PID balance, anti-windup and the cascade form
State space and LQR: choosing Q and R
Attitude estimation with gyro and accelerometer
Steering, counter-steering and coordinated turns
BLDC motors, FOC and current control as torque
Three ways to get it
Be the first to build the Bike Robot
This kit is still in development. Leave your contact and we will write to you when it is released.
DIY: files and software
The whole build is yours: print the parts, buy the components, build the electronics and assemble the machine.
You do
Print, source the components, build the boards, assemble
Print files of every part (STL, STEP and 3MF)
Electronics design: wiring, schematics and the list of components
Firmware and software, including the app when the kit has one
Price on request: it depends on the option. In the DIY option the filament, the electronics and the hardware are yours to source (this page lists them); in the kit option, only the filament.
Included with every option
The files, the manual and the software come with every option, the ready-to-use machine too.
Print files
STL files for every printed part: frame, fork, swingarm, rims, TPU tyres, wheel disc and guard
Two-colour 3MF armor plates with the yellow mech livery
STEP files of the assembly and of each part
Stand feet for 2°, 3° and 4°
Firmware for the M5Stack CoreS3
Assembly manual
Build guide with every part, fastener and step
Bill of materials and wiring diagram
First power-up checklist: IMU axes, motor directions, steering trim, stand calibration
13 lab experiments
Safety notes: the reaction wheel, LiPo handling, the kill switch
App
BikeStudio + BikePilot Windows Android
BikeStudio: lean gauge, flag lamps and live charts of the lean, the wheel speed and every controller term
BikeStudio: ARM / PARK / STOP, keyboard driving, lean-step and torque-pulse tests
BikeStudio: calibration, Wi-Fi setup, CSV recording and an event log
BikeStudio: LEARN tab with the whole theory course, offline
BikePilot: two-thumb driving, ARM / PARK and an always-visible STOP
BikePilot: telemetry HUD with lean, state, wheel speed, battery and link quality