LEDs/lights - Printable Version +- RebelDroids.net (http://www.rebeldroids.net/forum) +-- Forum: Droid Discussions (http://www.rebeldroids.net/forum/forumdisplay.php?fid=6) +--- Forum: H015 Sentry Droid (http://www.rebeldroids.net/forum/forumdisplay.php?fid=31) +--- Thread: LEDs/lights (/showthread.php?tid=312) |
LEDs/lights - kresty - 02-21-2017 Obviously we can do whatever we want with the LEDs, but I was curious what the originals looked like. Staring at the Celebration London photos, I observed the following LED colors around the neck: Front Center - Bluish - seems steady. Left Center - Red (orange sometimes)? Seems to slowly blink (anyone know the rate?) Rear - on left of the back side - Orangish (red?) Right side - 2 leds on the left of the right side. Leftmost is red and blinks, other is green and steady? RE: LEDs/lights - Ramjet - 06-26-2017 I can make up an arduino controlled module for the LEDs if you'd like. I'll post it in this thread. RE: LEDs/lights - kresty - 06-26-2017 Thanks for the offer, I don't have a problem with the electronics, I was just wondering what the "observed" behaviors for the "real" lights were? I have plenty of arduino's and neopixels to play with ![]() RE: LEDs/lights - kresty - 03-19-2018 Looks like I didn't get my latest nots to here.. I managed to see enough clips in video to see: Front - Center - Solid Blue (RGB Blue) Left side - Center - Red, blinks on/off @ 2 hz - (1/4 second off, 1/4 second on) Rear - It's to the left side - Binks red @ 2hz Right side - Two LEDs toward the left, outermost one is Red, Green is closer to the middle. Counts down in Binary if Green on is 2 and Red on is 1, about 250ms per digit. Seems to be slightly out-of-sync with the left/rear LEDs. RE: LEDs/lights - kresty - 03-19-2018 Code I used // We're updating 4x/second void updateLEDs() { // Our things happen 4x/second int time = (millis() % 1000) / 250; // Right side counts down from 3 in binary // Right Red is 2's on time 0 & 1 leds[LED_RIGHT_A].r = 0; leds[LED_RIGHT_A].g = 0; leds[LED_RIGHT_A].b = 0; if (time < 2) { leds[LED_RIGHT_A].r = 255; } // Right Green is 1's on time 0 & 2 leds[LED_RIGHT_B].r = 0; leds[LED_RIGHT_B].g = 0; leds[LED_RIGHT_B].b = 0; if (time == 0 || time == 2) { leds[LED_RIGHT_B].g = 255; } // Left & rear LED blinks red about 2hz, but slightly off of right side? time = (millis() % 510) / 255; leds[LED_REAR].r = 0; leds[LED_REAR].g = 0; leds[LED_REAR].b = 0; leds[LED_LEFT].r = 0; leds[LED_LEFT].g = 0; leds[LED_LEFT].b = 0; if (time == 0) { leds[LED_REAR].r = 255; leds[LED_LEFT].r = 255; } // Front is Blue leds[LED_FRONT].r = 0; leds[LED_FRONT].g = 0; leds[LED_FRONT].b = 255; // Show our updates FastLED.show(); } |