Difference between revisions of "Neopixel"

From Technologia Incognita
Jump to: navigation, search
(Software)
 
(81 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
|ProjectPurpose=Fun
 
|ProjectPurpose=Fun
 
}}
 
}}
Building your own OHM2013 lantern with WS2812 Neopixel strip and any controller f.e. Arduino
+
= Welcome to our Neopixel wiki =
  
= Auto stereoscopic Rainbow glowing TechInc logo Steering wheel =
 
  
== In house ==
+
== What do we use for this project ==
* Wooden steering wheel
+
* Neopixel Ledstrip WS2812 60leds/mtr
* 60x 5mm RGB LEDs
+
* Controlerboard
 +
** Arduino Ethernet (ready for networking features :))
 +
** STM32F4Discovery
 +
** Cubieboard2
  
== Ordered ==
+
== Other stuff you might need ==
 +
* Networkcable
 +
* USB cable
 +
* Powersupply
  
== Need ==
+
= Control your Neopixel Leds=
* Wires, lamps, resistors, controller, etc
 
* Something to mount it on
 
* Ideas for function
 
  
== Things to make and do ==
+
== Arduino ==
This project has several parts: '''backlit''' the wheel, '''mount''' the wheel to the wall or on some stand, and make the wheel '''control''' something. It would be nice to be able to unmount the wheel and take it somewhere else, e.g. to display it at events like OHM.
+
=== Connecting ===
  
=== Painting ===
+
==== Hardware ====
Who: [[Narya]]
+
* Connect your Neopixel LED strip DI to pin6 of your Arduino
* NO color painting!
+
* Connect +5V and GND to your Arduino
* I will fix the scratched parts with varnish
 
  
=== Backlit ===
+
==== Software ====
Who: [[Narya]] and [[User:Brainsmoke | Brainsmoke]]
+
* #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
  
* RGB LEDs are in (playing with arduino now to see how it works, code is on [https://github.com/Narya/RGB Git])
+
=== Programming ===
** I can change the colors now
 
** Next, attach potentiometers: one for changing the color, one for changing the intensity
 
* Info about colors on [http://en.wikipedia.org/wiki/HSL_and_HSV Wikipedia]
 
* [https://github.com/l3kn/RGBlink RGBlink Arduino library]
 
* Design a simple circuit board for the components with [http://www.kicad-pcb.org/ KiCad]
 
* Make a plan for controlling the lights, ideas:
 
** No rotation: colors of logo
 
** <s>Rotation: full color [http://www.ladyada.net/make/spokepov/index.html SpokePOV] ([http://janpaulposma.nl/pimpmybike-biking-at-night-with-style PimpMyBike blog])</s> - based on comments: maybe not such a good idea, since wheel has to spin fast
 
** Change colors remotely
 
** Change colors by turning the wheel
 
  
=== Mount ===
+
==== Software ====
Who: you?
+
===== Arduino Software =====
* Location: on the wall near the door? Other suggestions?
+
*Arduino Software Windows/Linux/Mac
 +
**http://arduino.cc/en/Main/Software
  
=== Control ===
+
===== Adafruit Neopixel libraries =====
Who: you?
+
*Adafruit Neopixel libraries
 +
**https://github.com/adafruit/Adafruit_NeoPixel
  
Random ideas, feel free to add your ideas below and add your name if you like to work on it
+
==== Examples ====
* Make something that registers when the wheel is turned
+
===== Example by Adafruit =====
* Let it control X when the wheel is turned (don't know what "X" should be, ideas are welcome)
+
* Adafruit Neopixel example to get you going
* No function, just let it rotate
+
**https://raw.github.com/adafruit/Adafruit_NeoPixel/master/examples/strandtest/strandtest.pde
 +
 
 +
===== 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]]
 +
 
 +
* 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 OFF with colorcodes (black)
 +
**[[:File:Neopixel_all_off_colorcodes.ino.txt]]
 +
 
 +
* Sample ON with colorcodes (white)
 +
**[[:File:Neopixel_all_on_colorcodes.ino.txt]]
 +
 
 +
* Simple blink/strobe light in one color
 +
**[[:File:Neopixel_Strobe.ino.txt]]
 +
 
 +
== 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?

Latest revision as of 17:07, 17 September 2013

Projects
RGB strip lights.jpg
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
Adafruit Neopixel libraries

Examples

Example by Adafruit
Examples by Einstein
  • 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

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?