Embedded systems
Barunastra Autonomous Vessel.
Building the IRC 2025 microcontroller firmware from scratch for a redesigned autonomous vessel.
- MY ROLE
- Electrical & Programming Lead / Embedded System Specialist
- My contribution
- Initiated the redesign and built the IRC 2025 microcontroller firmware from scratch.
- Engineering team result
- The team consolidated the electronics from two enclosures into one.
- TEAM ACHIEVEMENT
- RoboBoat 2025: 1st in Autonomy Challenge, tied for 2nd in Design Documentation.

Onboard electronics
The problem & my part.
For the 2025 International RoboBoat Competition, Barunastra ITS redesigned the interfaces between onboard computing, propulsion, power, and mission hardware. As Electrical & Programming Division Lead, I initiated the embedded-system redesign and built the firmware that connected the custom controller to the rest of the vessel.
My contribution
On Proteus and Proteus 2.0, I worked on microcontroller firmware, wiring, integration, and electrical testing, including battery monitoring and emergency shutdown. On Proteus 2.0, that work included CAN-based ESC monitoring. For Ares, I initiated the embedded-system redesign and wrote the STM32F411 firmware from scratch. My teammate Jonathan Oktaviano Frizzy developed and documented the PCB designs and the vessel-wide electrical architecture for Ares.
How the pieces connect.
- 01
Onboard mini PC
Collects camera and LiDAR input and communicates over USB with the STM32 and Pixhawk.
- 02
Pixhawk CUAV V6X
Uses GPS and sends PWM signals to the ESCs and steering servos.
- 03
STM32F411 controller
Samples battery voltages, sends telemetry to the PC, and handles radio input, emergency inputs, mission outputs, and status indicators.
- 04
Power and distribution
The electrical design distributes power from 4S and 6S LiPo packs and exposes battery voltage to the custom controller.
Electrical design across RoboBoat 2023–2025
The electrical system evolved from power protection on Nala Proteus to better fault isolation and richer telemetry on Proteus 2.0. Nala Ares then consolidated the hardware and split maneuvering from auxiliary control.
2023 · Nala Proteus
A modular frame made the vessel easier to transport and reassemble. The power design paired current sensing with battery-voltage readings, and a LoRa link replaced the previous telemetry radio for remote shutdown. The stop circuit still depended on the main microcontroller, a weakness that surfaced during trials.
Technical Design Report 2023 (PDF) (opens in a new tab)2024 · Nala Proteus 2.0
The team added a separate emergency-stop controller so a stalled main controller would no longer prevent shutdown. A 1 Mbps CAN bus replaced the 100 kbps serial link for monitoring six ESCs. The two enclosures separated power electronics from the onboard computer and control equipment.
Technical Design Report 2024 (PDF) (opens in a new tab)2025 · Nala Ares
The team moved to one enclosure with compact power and controller boards. The Pixhawk took over maneuvering, while the STM32F411 handled battery telemetry, auxiliary devices, and status reporting. Centralized wiring made servicing easier, with monitoring focused on active components.
Technical Design Report 2025 (PDF) (opens in a new tab)
Appendix G lists the 2024 enclosures at about 3 kg combined and the 2025 enclosure at 1.72 kg. The report sets a target of up to 70% reduction in power and controller PCB size.
Inside the work.
Battery telemetry and USB communication
The STM32 samples six analog battery-voltage channels using ADC with DMA. The firmware converts the readings into battery telemetry and sends them to the onboard PC over USB CDC. The same link carries commands for mission hardware in autonomous mode.
Manual and autonomous operation
I integrated a CRSF decoder over UART so the radio receiver could select the operating mode and control mission outputs in manual mode. In autonomous mode, the firmware handles onboard PC requests for the pump and launcher. FreeRTOS schedules the board control, mission, and LoRa tasks.
Emergency interfaces and status
The firmware processes the physical emergency button and wireless LoRa input. It reports the current emergency, manual, autonomous, or low-battery state to the separate indicator controller over UART.
Integration and testing at RoboBoat
I integrated sensors, traced communication faults, and checked electrical signals. I documented battery-use and speed tests for three thruster configurations in Appendix C.1 and co-authored the electrical design and safety test documentation in Appendices G and G.1. In the US, I helped reassemble the vessel after shipping and verified the integrated system with the team.
What came together.
The team consolidated the electronics into one enclosure while retaining battery monitoring, emergency control, and status indicators. Barunastra ITS took 1st in Autonomy and tied for 2nd in Design Documentation in 2025, took 3rd in Autonomy in 2024, and took 1st in Autonomy and 2nd in Design Documentation in 2023.
Results at a glance
- IRC 2025 firmware built from scratch
- STM32 battery telemetry, USB communication, CRSF input, LoRa integration, and mission control.
- One electronics enclosure
- The 2025 design brought the power, control, and computing hardware into one enclosure.
- RoboBoat 2025 · team achievement
- 1st in the Autonomy Challenge and tied for 2nd in Design Documentation.
A NOTE ON SCOPE
Role progression: Electrical — Microcontroller (Jan 2023–Aug 2024), Head of Autonomous Surface Vessel (Aug–Nov 2024), and Electrical & Programming Division Lead (Nov 2024–Nov 2025). Competition results are team achievements.
NEXT PROJECT
