Our robot
Build. Test.
Try again.
LEGO mechanics. Python code. One experiment at a time.
UNEARTHED · 2025–26
Our robot in action.
BIOGLOW · 2026–27
Learning to move an arm.
Our Pybricks experiment: find zero, move, pause, return.
- Find the mechanical stop with motor duty limited to 25%.
- Reset the angle to 0°; this labels the position without moving.
- Move to 180°, 90°, then 120°. Pause two seconds at each.
- Return to 0° and hold.
Targets are measured from zero, not added to the previous angle.
Peek at our Python code
Uses Motor, Port, Stop, and wait.
right_arm = Motor(Port.F, gears=[[28, 36], [12, 20]])
right_arm.run_until_stalled(-300, then=Stop.HOLD, duty_limit=25)
right_arm.reset_angle(0)
right_arm.run_target(100, 180, then=Stop.HOLD)
wait(2000)
right_arm.run_target(100, 90, then=Stop.HOLD)
wait(2000)
right_arm.run_target(100, 120, then=Stop.HOLD)
wait(2000)
right_arm.run_target(100, 0, then=Stop.HOLD)Port F: arm motor. Gear lists: two gear stages. Stop.HOLD: hold the target.
Explore the Pybricks motor commands ↗Next: Measure whether the arm returns to the same position.
Can it retrace a curve?
Mark the start. Drive out and reverse. Compare the finish, then change the speed and repeat.
An experiment in progress; results to come.
