Bionic Flower
Coordinate light and stepper-driven petals across a group of robotic flowers.
My role IoT robotics developer at SkySpirit · device control and choreography
Visit AI BlossomFrom controller to petals
SkySpirit’s Bionic Flower education kit couples an actuator to the petals through a mechanical linkage. Its onboard controller supports light and movement, and learners can program the kit with cards, Open Roberta or the Arduino IDE. Explore the education kit
The drawing above is a simplified portfolio schematic. Select it to bring the parts together or separate them.
Time group cues for motors with unequal travel
Each flower may start a cue from a different position. The ESP32 sequencer estimates travel from remaining rotations, cruise speed and acceleration. It keeps a delay budget per flower and waits for the longest outstanding delay among the selected motors before sending the next cue.
Tech stack
- C++ / Arduino + PlatformIO
- Build the controller and actuator firmware for ESP32 boards.
- BLE + ESP-NOW
- BLE accepts commands at the controller. ESP-NOW carries them to selected flower peers.
- BasicStepperDriver + NeoPixelBus
- Drive the stepper and RGB LEDs through independent command fields.
Challenges and approaches
Change lighting without restarting motion
The controller sends a seven-byte packet with a field mask. The receiver applies only the selected fields, so a colour cue can leave the active motor command intact.
Track position with open-loop control
Startup drives the petals closed and zeros the position counter. The software counts commanded turns, including turns during the acceleration ramp. Missed steps can introduce position drift.
Development harness
- Build checks
- The Arduino CLI Makefile compiles sketches with all warnings enabled.
- Bench diagnostics
- A motor test sketch changes direction and reports its position counter over serial.