This is an old revision of the document!
Neopixel Goggles
Name | Neopixel Goggles |
---|---|
Description | Fancy goggles with neopixel rings |
Status | Running |
Contact | metalgamer |
Participants | |
Repository | https://projects.c3l.lu/Wearables/Neopixel-Goggles |
Kit
Use the Trinket-Powered NeoPixel Goggle Kit Pack from Adafruit. You can buy it either at Adafruit or locally at Electronic-Shop.
Software
I used a heavily modified version of NeoPatterns. You can find the code in the repository
Configuration
You have different configuration parameters that can be changed in the beginning of the file.
Name | Description |
---|---|
PIN | The pin number, where the neopixel rings are attached. Default: 0 |
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_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_MAX | The upper bound for the random number of steps. Default: 10 |
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 |
BLINK_MIN_INTERVAL | The lower bound for the random interval of the Blink mode. Default: 250 |
BLINK_MAX_INTERVAL | The upper bound for the random interval of the Blink mode. Default: 500 |
Patterns
Rainbow Cycle
Your classic rainbow cycle.
Color Wipe
Double Color Wipe
Scanner
Double Scanner
Random
Double Random
Blink
Dot