Project / Finished product
Airsoft Gun Controller
A secure ATMega328 controller for an automatic magazine loader with OLED interface and motor protection.
- Embedded


- MCU
- ATMega328
- Config
- USB–UART, password lock
- UI
- Custom OLED GUI
- Drive
- DC motor + stall detect
- Safety
- UVLO · overcurrent
At a glance
The brief
An automatic magazine loader needed a board that would drive a DC motor, survive a gearbox stall, refuse unauthorised configuration and still be usable in the field without a laptop.
We designed the PCB, the firmware and the OLED interface as one unit — including the unglamorous protections that keep the pack and the motor alive.
Control and interface
The controller sits on an ATMega328. USB–UART is the service port; access is password-protected so a found cable is not a found product. Day-to-day operation goes through a custom OLED UI rather than a hidden serial menu.
Serial control remains available for fixtures and production tests.
Motor and protection
The DC motor that indexes magazines is current-limited. Stall detection stops a jammed gearbox from cooking the driver. Deep-discharge protection keeps the pack from being flattened in a bag.
Those interlocks are in firmware and in hardware. Neither is optional.

Files