Neopixel: Difference between revisions

From Technologia Incognita
Jump to navigation Jump to search
Einstein (talk | contribs)
Einstein (talk | contribs)
No edit summary
Line 27: Line 27:


* Programming
* Programming
** Software
** Software
*** Arduinosoftware http://arduino.cc/en/Main/Software
*** Arduinosoftware http://arduino.cc/en/Main/Software
*** Adafruit_Neopixel libraries https://github.com/adafruit/Adafruit_NeoPixel
*** Adafruit_Neopixel libraries https://github.com/adafruit/Adafruit_NeoPixel
* Example by Adafruit
** Adafruit Neopixel example to get you going https://raw.github.com/adafruit/Adafruit_NeoPixel/master/examples/strandtest/strandtest.pde
* Examples by Einstein


** Simple ON in one color
** Example by Adafruit
*** Adafruit Neopixel example to get you going https://raw.github.com/adafruit/Adafruit_NeoPixel/master/examples/strandtest/strandtest.pde
 
** Examples by Einstein
 
*** Simple ON in one color
     [[:File:Neopixel_all_on.ino.txt]]
     [[:File:Neopixel_all_on.ino.txt]]


** Simple OFF in one color
*** Simple OFF in one color
     [[:File:Neopixel_all_off.ino.txt]]
     [[:File:Neopixel_all_off.ino.txt]]


** Using colorcodes.h instead of rgb values
*** Using colorcodes.h instead of rgb values


Using colorcodes.h instead of rgb values in code, because i got tired of typing numbers :)
Using colorcodes.h instead of rgb values in code, because i got tired of typing numbers :)

Revision as of 14:27, 17 September 2013

Projects
Participants Einstein
Skills Basic electronics, Programming, Arduino
Status Active
Niche Electronics
Purpose Fun

Welcome to our Neopixel wiki by Einstein

What do we use for this project

  • Neopixel Ledstrip WS2812 60leds/mtr
  • Controlerboard
    • Arduino (using Arduino Ethernet for this project)
    • STM

Other stuff you might need

  • Networkcable
  • USB cable
  • Powersupply

Control

Arduino

  • Connecting
    • PIN 6
  • Programming
    • Examples by Einstein
      • Simple ON in one color
   File:Neopixel_all_on.ino.txt
      • Simple OFF in one color
   File:Neopixel_all_off.ino.txt
      • Using colorcodes.h instead of rgb values

Using colorcodes.h instead of rgb values in code, because i got tired of typing numbers :)

   use this file and include it in the source
   File:colorcodes.h.txt
   already changed sources
   Sample ON:
   File:Neopixel_all_on_colorcodes.ino.txt
   
   Sample OFF:
   File:Neopixel_all_low_colorcodes.ino.txt
    • Simple blink in one color

STM

  • Connecting
    • PIN 1


What todo with your LED strip

  • Building your own OHM2013 lantern