Both sides previous revision Previous revision Next revision | Previous revision |
projects:wearables:neopixel_goggles [2018/02/05 20:47] – [Table] metalgamer | projects:wearables:neopixel_goggles [2019/09/24 23:41] (current) – peter |
---|
====== Neopixel Goggles ====== | ====== Neopixel Goggles ====== |
| |
{{ :projects:wearables:neopixel_goggles:UPLOAD_YOUR_LOGO_HERE.png?direct&200|}} | |
| |
^ Name | Neopixel Goggles | | ^ Name | Neopixel Goggles | |
^ Description | Fancy goggles with neopixel rings | | ^ Description | Fancy goggles with neopixel rings | |
^ Status | Running | | ^ Status | Finished successfully | |
^ Contact | [[user:metalgamer]] | | ^ Contact | [[user:metalgamer]] | |
^ Participants | | | ^ Participants | [[user:metalgamer]] | |
^ Repository | https://projects.c3l.lu/Wearables/Neopixel-Goggles | | ^ Repository | https://projects.c3l.lu/Wearables/Neopixel-Goggles | |
| |
===== Software ===== | ===== Software ===== |
| |
I used a heavily modified version of [[https://learn.adafruit.com/multi-tasking-the-arduino-part-3?view=all#put-it-all-together-dot-dot-dot|NeoPatterns]]. You can find the code in the [[https://projects.c3l.lu/Neopixel-Goggles|repository]] | I used a heavily modified version of [[https://learn.adafruit.com/multi-tasking-the-arduino-part-3?view=all#put-it-all-together-dot-dot-dot|NeoPatterns]]. You can find the code in the [[https://projects.c3l.lu/Neopixel-Goggles|repository]]. It currently uses 5046 bytes. |
| |
==== Configuration ==== | ==== Configuration ==== |
^ Name ^ Description ^ | ^ Name ^ Description ^ |
| PIN | The pin number, where the neopixel rings are attached. Default: 0 | | | PIN | The pin number, where the neopixel rings are attached. Default: 0 | |
| | BRIGHTNESS | Set the brightness of all LEDs. Default: 64 | |
| MODE_CHANGE_TIME | The number of milliseconds between changing modes. Default: 10000 (10 seconds) | | | MODE_CHANGE_TIME | The number of milliseconds between changing modes. Default: 10000 (10 seconds) | |
| SLOW_INTERVAL_MIN | The lower bound for the random interval for the following modes: ColorWipe, DoubleColorWipe, Scanner, DoubleScanner, Random, DoubleRandom, Dot. Default: 25 | | |
| SLOW_INTERVAL_MAX | The upper bound for the random interval. Default: 55 | | |
| COLOR_MIN | The lower bound for the random color for the following modes: ColorWipe, DoubleColorWipe, Scanner, DoubleScanner, Random, DoubleRandom, Blink, Dot. Default: 0 | | | COLOR_MIN | The lower bound for the random color for the following modes: ColorWipe, DoubleColorWipe, Scanner, DoubleScanner, Random, DoubleRandom, Blink, Dot. Default: 0 | |
| COLOR_MAX | The upper bound for the random color. Default: 255 | | | COLOR_MAX | The upper bound for the random color. Default: 255 | |
| STEPS_MIN | The lower bound for the random number of steps used in the following modes: Random, DoubleRandom, Blink, Dot. Default: 5 | | | STEPS_MIN | The lower bound for the random number of steps used in the following modes: Random, DoubleRandom, Blink, Dot. Default: 5 | |
| STEPS_MAX | The upper bound for the random number of steps. Default: 10 | | | STEPS_MAX | The upper bound for the random number of steps. Default: 10 | |
| | SLOW_INTERVAL_MIN | The lower bound for the random interval for the following modes: ColorWipe, DoubleColorWipe, Scanner, DoubleScanner, Random, DoubleRandom, Dot. Default: 25 | |
| | SLOW_INTERVAL_MAX | The upper bound for the random interval. Default: 55 | |
| RAINBOW_CYCLE_MIN_INTERVAL | The lower bound for the random interval of the RainbowCycle mode. Default: 1 | | | RAINBOW_CYCLE_MIN_INTERVAL | The lower bound for the random interval of the RainbowCycle mode. Default: 1 | |
| RAINBOW_CYCLE_MAX_INTERVAL | The upper bound for the random interval of the RainbowCycle mode. Default: 10 | | | RAINBOW_CYCLE_MAX_INTERVAL | The upper bound for the random interval of the RainbowCycle mode. Default: 10 | |
| |
=== Color Wipe === | === Color Wipe === |
| |
| Fill the all the LED's with one color, one by one. |
| |
{{https://download.c3l.lu/dlbase/projects/neopixel_googles/Color_Wipe.mp4}} | {{https://download.c3l.lu/dlbase/projects/neopixel_googles/Color_Wipe.mp4}} |
| |
=== Double Color Wipe === | === Double Color Wipe === |
| |
| Same as the Color Wipe, just fill the two sides at the same time. |
| |
{{https://download.c3l.lu/dlbase/projects/neopixel_googles/Double_Color_Wipe.mp4}} | {{https://download.c3l.lu/dlbase/projects/neopixel_googles/Double_Color_Wipe.mp4}} |
| |
=== Random === | === Random === |
| |
| Random colors at random places. |
| |
{{https://download.c3l.lu/dlbase/projects/neopixel_googles/Random.mp4}} | {{https://download.c3l.lu/dlbase/projects/neopixel_googles/Random.mp4}} |
| |
=== Blink === | === Blink === |
| |
| Blink all the led's with one color. |
| |
{{https://download.c3l.lu/dlbase/projects/neopixel_googles/Blink.mp4}} | {{https://download.c3l.lu/dlbase/projects/neopixel_googles/Blink.mp4}} |
| |
=== Dot === | === Dot === |
| |
| Light up one LED at a time. |
| |
{{https://download.c3l.lu/dlbase/projects/neopixel_googles/Dot.mp4}} | {{https://download.c3l.lu/dlbase/projects/neopixel_googles/Dot.mp4}} |