Close

Electronics Upgrade (v2.03 → v3.07)

A project log for Roverling Mk II

Autonomous robot with GPS + IMU navigation, waypoint execution, PID control, RC + LoRa + Wi-Fi comms and real-time telemetry.

mark-makiesMark Makies 06/12/2025 at 23:270 Comments

With the project now focused on a specific application, autonomous metal detection, the electronics have been optimised for reliability, modularity, and expanded I/O.

Melt Down:

With increased torque and payload come new challenges, like spinning wheels and stalled motors. During an autonomous run, a stick got caught in one of the drive wheels (note to self: no more holes in wheels). The PID controller did what it was told, increased power to full and held it there. The result - One melted motor.  I'm just lucky I had one spare.

40 V of Li-Po power pumped into a 24 V, 11 W brushed DC motor is far from iideal.

To prevent that from ever happening again, I’ve added both stall and slip detection:

Stall Detection:

Implemented at the motor controller (RP2040), this monitors current draw on each motor. If current exceeds a defined threshold continuously for more than a defined period (indicating a jam or blocked wheel), the controller shuts down motor output and reports the fault via UART to the vehicle controller.  This is then passed on to the telemetry system.

Slip Detection:

Implemented at the vehicle controller (Pyboard), this compares expected movement (based on active commands) to actual displacement measured via GPS. If Roverling moves less than 1 m over 10 seconds while the motors are engaged and GPS fix is good, it transitions into a slipping state and halts further motion.

Discussions