2018 · WET Design · Harvey Mudd capstone
A junior capstone sponsored by WET Design. We built eight wireless floating robots that hold formation and run a synchronized light show.
For a light show on water, each robot has to stay in position and each light has to match the others in brightness. So each robot needed to hold its own heading, and the LEDs needed to stay at a constant brightness as the batteries drained.
I designed, built, and tested a PCB that drives four 3W RGBW LEDs at a constant current, independent of battery voltage. It uses an op-amp and a p-channel MOSFET as a current source, with thermal and overcurrent protection.
I wrote a PID controller in Python that keeps each robot on a set heading using its magnetometer.
I helped design a Bluetooth PCB around the nRF52 for a multilink UART system, so the robots could be controlled wirelessly.
All eight robots held their heading, and the LED brightness stayed constant as the batteries ran down.