This repository contains the firmware, KiCad design files and OpenSCAD files for a mini sumobot I developed by following the excellent embedded systems project series from the YouTube channel Artful Bytes.
The series walks through the complete design and implementation of a mini sumobot, including writing firmware for the MCU and sensors, building a state-machine abstraction for the fighting logic, and designing a custom PCB for the robot.
For both the firmware and the PCB, I used the original project as a reference, while trying to design and implement some parts of the robot myself. In particular, I adopted a different software architecture while reusing code from the original project especially for sensor drivers and state machine. On the hardware side, some components used in the original PCB were not available through JLCPCB, the manufacturer I used, which required selecting alternative parts and adapting the schematic and layout accordingly.
The PCB was designed using KiCad and the project files can be found in ./pcb. In addition, I designed a 3D-printable case for the robot using OpenSCAD. The files for the case can be found in ./case.
Driver development
Board bring-up
Robot assembly
Testing of the robot
Inner life of robot




