Neopixel: Difference between revisions
Jump to navigation
Jump to search
(19 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
|ProjectPurpose=Fun | |ProjectPurpose=Fun | ||
}} | }} | ||
= Welcome to our Neopixel wiki | = Welcome to our Neopixel wiki = | ||
Line 13: | Line 13: | ||
* Controlerboard | * Controlerboard | ||
** Arduino Ethernet (ready for networking features :)) | ** Arduino Ethernet (ready for networking features :)) | ||
** | ** STM32F4Discovery | ||
** Cubieboard2 | |||
== Other stuff you might need == | == Other stuff you might need == | ||
Line 31: | Line 32: | ||
==== Software ==== | ==== Software ==== | ||
* #define NUM_LIGHTS 4 //Number off connected leds (i use 4 in all sources, please change to 60 for 1 meter) | * #define NUM_LIGHTS 4 //Number off connected leds (i use 4 in all sources, please change to 60 for 1 meter) | ||
* #define PIN 6 //Pin 6 for | * #define PIN 6 //Pin 6 for data transfer | ||
=== Programming === | === Programming === | ||
Line 37: | Line 38: | ||
==== Software ==== | ==== Software ==== | ||
===== Arduino Software ===== | ===== Arduino Software ===== | ||
Arduino Software | *Arduino Software Windows/Linux/Mac | ||
**http://arduino.cc/en/Main/Software | |||
===== Adafruit Neopixel libraries ===== | ===== Adafruit Neopixel libraries ===== | ||
Adafruit Neopixel libraries | *Adafruit Neopixel libraries | ||
**https://github.com/adafruit/Adafruit_NeoPixel | |||
==== Examples ==== | ==== Examples ==== | ||
===== Example by Adafruit ===== | ===== Example by Adafruit ===== | ||
* Adafruit Neopixel example to get you going https://raw.github.com/adafruit/Adafruit_NeoPixel/master/examples/strandtest/strandtest.pde | * Adafruit Neopixel example to get you going | ||
**https://raw.github.com/adafruit/Adafruit_NeoPixel/master/examples/strandtest/strandtest.pde | |||
===== Examples by Einstein ===== | ===== Examples by Einstein ===== | ||
* Simple OFF in one color (black) | |||
** [[:File:Neopixel_all_off.ino.txt]] | |||
* Simple ON in one color (white) | |||
** [[:File:Neopixel_all_on.ino.txt]] | |||
colorcodes.h download | * Using colorcodes.h instead of rgb values in code, because i got tired of typing numbers :) download colorcodes.h and include it in the source, rename to colorcodes.h | ||
** [[:File:colorcodes.h.txt]] | |||
Sample | * Sample OFF with colorcodes (black) | ||
**[[:File:Neopixel_all_off_colorcodes.ino.txt]] | |||
Sample | * Sample ON with colorcodes (white) | ||
**[[:File:Neopixel_all_on_colorcodes.ino.txt]] | |||
* Simple blink in one color | * Simple blink/strobe light in one color | ||
**[[:File:Neopixel_Strobe.ino.txt]] | |||
== | == STM32F4Discovery == | ||
=== Connecting === | === Connecting === | ||
Line 92: | Line 95: | ||
* Adafruit Neopixel example to get you going https:// | * Adafruit Neopixel example to get you going https:// | ||
===== Examples by | ===== Examples by epidemik ===== | ||
* Simple ON in one color | * Simple ON in one color | ||
Line 105: | Line 108: | ||
=== by Einstein === | === by Einstein === | ||
==== Software ==== | ==== Software ==== | ||
* Remote control leds thru | |||
* Remote control leds thru internal webserver | |||
** Webserver with links : In progress (works code soon) | ** Webserver with links : In progress (works code soon) | ||
** Webserver with buttons : In progress (works code soon) | ** Webserver with buttons : In progress (works code soon) | ||
* Remote control leds thru | |||
* Remote control leds thru internal telnetserver | |||
** In progress (works code soon) | ** In progress (works code soon) | ||
*Knightrider | *Knightrider | ||
** In progress (works code soon) | ** In progress (works code soon) | ||
*Beachparty lights | *Beachparty lights | ||
** In progress (works code soon) | ** In progress (works code soon) | ||
*Policelights | *Policelights | ||
** In progress (works code soon) | ** In progress (works code soon) | ||
Line 120: | Line 128: | ||
* None yet | * None yet | ||
=== by | === by epidemik === | ||
==== Software ==== | ==== Software ==== | ||
* Running demo on lantern | * Running demo on lantern | ||
** In progress (works code soon) | |||
* Fireplace | |||
** In progress (works code soon) | ** In progress (works code soon) | ||
Latest revision as of 18:07, 17 September 2013
Projects | |
---|---|
![]() | |
Participants | Einstein |
Skills | Basic electronics, Programming, Arduino |
Status | Active |
Niche | Electronics |
Purpose | Fun |
Welcome to our Neopixel wiki
What do we use for this project
- Neopixel Ledstrip WS2812 60leds/mtr
- Controlerboard
- Arduino Ethernet (ready for networking features :))
- STM32F4Discovery
- Cubieboard2
Other stuff you might need
- Networkcable
- USB cable
- Powersupply
Control your Neopixel Leds
Arduino
Connecting
Hardware
- Connect your Neopixel LED strip DI to pin6 of your Arduino
- Connect +5V and GND to your Arduino
Software
- #define NUM_LIGHTS 4 //Number off connected leds (i use 4 in all sources, please change to 60 for 1 meter)
- #define PIN 6 //Pin 6 for data transfer
Programming
Software
Arduino Software
- Arduino Software Windows/Linux/Mac
Adafruit Neopixel libraries
- Adafruit Neopixel libraries
Examples
Example by Adafruit
- Adafruit Neopixel example to get you going
Examples by Einstein
- Simple OFF in one color (black)
- Simple ON in one color (white)
- Using colorcodes.h instead of rgb values in code, because i got tired of typing numbers :) download colorcodes.h and include it in the source, rename to colorcodes.h
- Sample OFF with colorcodes (black)
- Sample ON with colorcodes (white)
- Simple blink/strobe light in one color
STM32F4Discovery
Connecting
Hardware
- Connect your Neopixel LED strip DI to pin6 of your STM
- Connect +5V and GND to your STM
Software
- #define NUM_LIGHTS 4 //Number off connected leds (i use 4 in all sources, please change to 60 for 1 meter)
- #define PIN 6 //Pin 6 for Data
Programming
Software
STM Software
STM Software can be downloaded here -> https://
Adafruit Neopixel libraries
Adafruit Neopixel libraries can be downloaded here -> libraries https://
Examples
Example by Adafruit
- Adafruit Neopixel example to get you going https://
Examples by epidemik
- Simple ON in one color
- Simple OFF in one color
- Simple blink in one color
What todo with your LED strip
Fun Hard- and Softwareprojects
by Einstein
Software
- Remote control leds thru internal webserver
- Webserver with links : In progress (works code soon)
- Webserver with buttons : In progress (works code soon)
- Remote control leds thru internal telnetserver
- In progress (works code soon)
- Knightrider
- In progress (works code soon)
- Beachparty lights
- In progress (works code soon)
- Policelights
- In progress (works code soon)
Hardware
- None yet
by epidemik
Software
- Running demo on lantern
- In progress (works code soon)
- Fireplace
- In progress (works code soon)
Hardware
- reBuilding your own OHM2013 lantern
- In progress (foto's soon)
Serious Hard- and Softwareprojects
- Huh?