Electric Trike Battery Charging Hub Station Controller
The Songa Hub Station is a production-grade Electric Trike battery swap station controller engineered to coordinate and monitor multiple charging and battery management nodes within a centralized swap station environment. The system operates as the master controller within the station architecture, communicating with distributed slave devices over an industrial RS-485 bus. Each slave node interfaces with a CAN-based charger and an RS-485-enabled Battery Management System (BMS), enabling centralized supervision of battery charging, battery health, charger operation, and power distribution across the entire swap station.
The hub controller was designed around an ESP32-based embedded architecture integrated with a Quectel EG915N-EU cellular module for secure MQTTs communication with the central cloud platform. Through this connection, the hub receives remote commands, performs remote procedure call (RPC) execution, publishes telemetry from all connected nodes, and supports remote provisioning and diagnostics. The firmware architecture follows an RTOS safe-task model with multiple concurrent FreeRTOS tasks pinned across ESP32 cores for deterministic execution, system isolation, watchdog reliability, and efficient handling of communication-intensive workloads.
From an engineering perspective, the project involved complete end-to-end development including embedded hardware design, RS-485 communication architecture, cellular MQTT integration, RTOS task orchestration, PCB design, hand assembly, production testing, node provisioning logic, and real-world swap station deployment. The system was engineered to support scalable station expansion while maintaining reliable telemetry publishing, robust fault handling, and continuous monitoring of charger and battery operations in electrically noisy field environments.
Swap Station Hub Controller
MQTTs / RS-485 / CAN
ESP32 RTOS Multi-Tasking
Lead Embedded Engineer
Prototype to Deployment
Project Visuals
Fully assembled Songa Hub Controller PCB integrating ESP32, Quectel cellular module, RS-485 communication circuitry, power management, and system monitoring peripherals.
Multiple assembled hub controller boards prepared during the production and validation phase.
Live functional validation of the hub controller during firmware debugging and hardware testing.
PCB layout development and design verification process for the Songa Hub Controller system.
Final enclosed Songa Hub Controller device prepared for swap station deployment.
Manual assembly and integration process during hub controller manufacturing and preparation.
Installation and commissioning of the Songa battery swap station infrastructure in Kisii.
Large-scale system testing setup used for validating charger communication, node synchronization, and telemetry publishing across multiple slave nodes.
Development and debugging environment used during firmware integration and system validation.
Ongoing swap station system development and hardware integration process during engineering validation.
Real-time operational testing of multiple swap station charging nodes under synchronized control.
Fully installed Songa swap station system deployed and operational in Kisii.