You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project implements a compact DC motor speed controller using a RISC-V microcontroller.
It is designed for speed control via pulse feedback from a light barrier and communicates through a serial interface. Additional sensors can be attached using I2C.
Beware that the entire PCB isn't a masterpiece as this is just for technology evaluation.
Why this thing?
Mostly for playing around with very cheap RISC-V microcontrollers and an execise for C/Rust with very limited resources. It can be used for controlling simple toy robot chassis that usually have two DC motors with light barriers which can be used as feedback loop for a speed control algorithm.
System Overview
Power Supply
AP62300 (3A Buck Converter) → 7V rail (for DC motors)
AMS1117-3.3 (LDO Regulator) → 3.3V rail (for microcontroller and motor driver logic)
MiniSpeedController is a dual DC motor controller based on a WCH CH32V003F RISC-V Microcontroller and two TI DRV8837DSGR. It consumes two encoder inputs and is controllable using an USART via simple TLV commands. Sensors can be attached using I2C -- Codeberg Mirror