competition
Embedded CSTM32PCB DesignBLDC Control

robocon-r2-drum

DD Robocon 2025 — Drum Scoring Robot

robocon-r2-drum
overview

R2 was the scoring robot — responsible for receiving balls from R1 and delivering them into scoring positions using a high-speed drum mechanism. Designed for reliability and speed: it had to execute its scoring sequence in under 5 seconds per cycle to keep up with R1's placement rate.

the problem

The drum delivery mechanism needed consistent ball trajectory regardless of ball surface wear or variation in loading angle from R1. Early prototypes had a 30% miss rate due to inconsistent drum RPM at load time. The inter-robot coordination also had to be failsafe — if R2 wasn't ready, R1 had to hold without disrupting its own task queue.

my role

Designed all PCBs for R2: power distribution board, BLDC driver board for the drum motor, and the main STM32 controller board. Implemented the drum speed controller with a closed-loop RPM hold using hall-effect feedback. Built the inter-robot comms protocol — a lightweight UART handshake running at 115200 baud with CRC8 error detection.

outcome

R2 achieved a >95% delivery success rate in practice runs. The inter-robot protocol had zero communication failures across all scrimmage and competition matches. Drum mechanism produced consistent ball trajectory ±2° across 500+ cycles.

tech specs
MCU
STM32F446RE
drum motor
BLDC 3500 KV · FOC control
feedback
Hall-effect sensor · closed-loop RPM
comms
UART · 115200 baud · CRC8
cycle time
<5 s scoring sequence
result
AIR 22 · DD Robocon 2025