Both sides previous revision Previous revision Next revision | Previous revision |
projects:wearables:neopixel_goggles [2018/02/06 20:35] – 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]]. It currently uses 5052 bytes. | 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 ==== |
| BRIGHTNESS | Set the brightness of all LEDs. Default: 64 | | | 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 | |