Difference between revisions of "LedPet"
From
(3 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
|ProjectName=LedPet | |ProjectName=LedPet | ||
|Owner=zeno4ever | |Owner=zeno4ever | ||
− | |Status= | + | |Status=100% |
− | |Skillz=Electronics | + | |Skillz=Basic Electronics, Software (C) |
|Summary=Hat with LED strip controlled by Arduino nano | |Summary=Hat with LED strip controlled by Arduino nano | ||
}} | }} | ||
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) | ||
Line 37: | Line 36: | ||
[[File:LedPet_schematic.png|450px]] | [[File:LedPet_schematic.png|450px]] | ||
− | |||
=Resources= | =Resources= | ||
==Parts List== | ==Parts List== | ||
* (officers) hat | * (officers) hat | ||
− | * [https://www.aliexpress.com/ | + | * [https://www.aliexpress.com/item/1m-ws2812b-ws2812-144led-m-rgb-led-strip-waterproof-ip30-ip67-14keys-rf-wireless-led-rgb/32700470503.html AliExpress 144 ws2812 LED strip 1 Meter] US $17.50 |
* Powerbank | * Powerbank | ||
* [https://www.arduino.cc/en/Main/ArduinoBoardNano Arduino nano] or [http://www.dx.com/nl/p/mini-usb-nano-3-0-atmega328p-development-board-parts-for-arduino-441217?Utm_rid=92935131&Utm_source=affiliate cloon at Dealextream] | * [https://www.arduino.cc/en/Main/ArduinoBoardNano Arduino nano] or [http://www.dx.com/nl/p/mini-usb-nano-3-0-atmega328p-development-board-parts-for-arduino-441217?Utm_rid=92935131&Utm_source=affiliate cloon at Dealextream] |
Latest revision as of 15:02, 2 September 2017
Project: LedPet | |
---|---|
Name | LedPet |
Initiator | zeno4ever |
Status | 100% |
Skills | Basic Electronics, Software (C) |
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)
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.