Swarm Robot Exploration Based on a Custom-Designed STM32 Platform
📅 2017 🔖 Research Project
This work was part of a swarm robotics research project led by Associate Professor Lei Bin at the Institute of Robotics and Intelligent Systems, Wuhan University of Science and Technology. The project focused on exploring swarm robotic behaviors using custom-designed STM32-based PCB. Representative behaviors investigated included group walking, cooperative object transportation, and firefly-inspired synchronized flashing.

My primary contribution was the design of a custom STM32-based circuit board specifically for firefly-inspired synchronized flashing experiments. The board integrates Bluetooth communication, a camera module, an LCD display, and other modules. By leveraging color recognition and Bluetooth-based communication, the system mimics the collective synchronization of flashing behavior observed in natural firefly swarms. Specifically, in the swarm robotic system, each robot maintains an internal phase variable that increases over time. Using an onboard camera and color recognition algorithms, the robot perceives flashing signals emitted by neighboring robots. When a nearby robot’s flash is detected, the current phase is recorded and incorporated into subsequent phase update calculations. Once the phase reaches a predefined threshold, the robot triggers its own LED to emit a flash. Through continuous phase adjustment and visual interaction, the system ultimately achieves collective synchronized flashing behavior analogous to that observed in natural firefly swarms. The PCB schematics and code have been released on github. The team members involved in this part of the work include Gao Xumin, Li Kan, and Lei Bin.


Acknowledgements
This work was supported by a research project led by Associate Professor Lei Bin at the Institute of Robotics and Intelligent Systems, Wuhan University of Science and Technology.
