#Trundlebot project: LED Test @Tugrik
#Trundlebot project: LED Test  @Tugrik
Uploaded March 2013 | Updated December 2026, 3 hours ago
We had a strip of individually-addressable RGB LEDs that we had no idea what to do with so we added them to the hexrotor project for night flying. They run off an Arduino Teensy 2.0 and are powered off the main flight battery by a 5v stepdown converter.

For this first test, the teensy listens directly to one channel of the receiver so I can toggle their mode using a switch on the transmitter. It bypasses the APM2.5 completely. Garth wrote the code to sample the output from the Futaba receiver. While it's capable of using a variable input (dial, stick or multiswitch) to directly select modes, all of those are in use for other functions so we dumbed it down a simple on/off switch on a spare channel instead.

When not in one of the pattern modes the lights blink in a standard 'navigation' pattern: two whites on the front arms, then four reds on the rears, so the pilot can tell its orientation. Toggling the switch down changes to 'pattern mode', displaying the last pattern you used. Toggle it back up to return to nav lights. Toggle back and forth quickly (under 3 seconds) and it will progress through all the patterns in the system one at a time until you get the one you want. This way we only eat up a single switch on the transmitter. In the future the Teensy will also listen to either an output pin off the APM2.5 controller or maybe just the MAVlink bus so the APM can change modes itself depending on flight-mode, GPS status or battery state. This should also let the ground station operator pick the display mode over the telemetry link.

The night-time video was shot with a dirt-cheap little camcorder with the world's worst auto-focus; please pardon the poor quality.

Trundlebot is mostly going to be used for daytime FPV and aerial photography, but these LEDs will make some basic night-flying possible (and rather fun)!
#Trundlebot project: LED TestFlipsideCONdition badge sampleInakis technicolor dreamcoatWine Country Motorcycling - GoPro Fusion TestTunitas Creek (La Honda, CA) ride 12/31/2017. GoPro FusionFling Got FlungWhat I Did Today - Lot Cleanup (by Emoburd)The lady Orca at the Sip-n-Dip Mermaid Lounge in Great Falls, MTGimbalTestTugStreamForest after completion of forestry mulching
Tugrik dItichi |

#Trundlebot project: LED Test

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER