Difference between revisions of "LedPet"
From
Line 10: | Line 10: | ||
=Patterns= | =Patterns= | ||
− | |||
* colorWipe : Fill strip with color (and next color) | * colorWipe : Fill strip with color (and next color) | ||
* knightRider : What would be a LED strip without this option. | * knightRider : What would be a LED strip without this option. | ||
* rainbowCycle : Cycle rainbow colors over the strip. | * rainbowCycle : Cycle rainbow colors over the strip. | ||
− | |||
* police : Warn everyone that the police is coming. | * police : Warn everyone that the police is coming. | ||
* LightBrightnessVU : Testing program for light sensor. | * LightBrightnessVU : Testing program for light sensor. | ||
* theaterChase : Showtime | * theaterChase : Showtime | ||
* randomPix : Put random pixel on strip and fade out. Select Green for 'matrix' effect. | * randomPix : Put random pixel on strip and fade out. Select Green for 'matrix' effect. | ||
− | |||
* Demo : cycle between all above modes. | * Demo : cycle between all above modes. | ||
+ | |||
+ | [[Media:LedPet.ino.zip|Download source here]] (be sure to download [https://github.com/adafruit/Adafruit_NeoPixel NeoPixel] Library from adafruit) | ||
Revision as of 20:57, 23 September 2016
Project: LedPet | |
---|---|
Name | LedPet |
Initiator | zeno4ever |
Status | Almost finished |
Skills | Electronics |
Summary | Hat with LED strip controlled by Arduino nano |
Pet (dutch for hat) with 95 LEDS and selectable program via switch. You can chose between patterns with the switch.
Contents
Patterns
- colorWipe : Fill strip with color (and next color)
- knightRider : What would be a LED strip without this option.
- rainbowCycle : Cycle rainbow colors over the strip.
- police : Warn everyone that the police is coming.
- LightBrightnessVU : Testing program for light sensor.
- theaterChase : Showtime
- randomPix : Put random pixel on strip and fade out. Select Green for 'matrix' effect.
- Demo : cycle between all above modes.
Download source here (be sure to download NeoPixel Library from adafruit)
Source will be published soonish at my personal Github account.
Resources
Parts List
- (officers) hat
- AliExpress 144 ws2812 LED strip 1 Meter US $17.50
- Powerbank
- Arduino nano or cloon at Dealextream
- Light sensor
- Micro Switch
- 2 * 10 K OHM resistor for switch and light
- 470 OHM resistor for LED data line
- Some ductape to fix the parts on the hat.
Other
- NeoPixel Library from adafruit
- NeoPixel Uberguide for practical info how to connect/control Neopixels.