Difference between revisions of "Techinc Wheel"
(short summary about the wheel) |
m (clean up log) |
||
Line 42: | Line 42: | ||
'''WS2901 12V magic strip''' | '''WS2901 12V magic strip''' | ||
* 12V | * 12V | ||
− | * | + | * 40 addressable pixels, color profile BRG |
− | |||
* Wires: green 12V (not attached), blue clock (pin 11), red data (pin 12), black GND (pin GND) | * Wires: green 12V (not attached), blue clock (pin 11), red data (pin 12), black GND (pin GND) | ||
− | |||
− | |||
− | |||
− | |||
− | |||
==== Color patterns ==== | ==== Color patterns ==== | ||
− | |||
* Make a few color patterns: | * Make a few color patterns: | ||
** No rotation: colors of logo | ** No rotation: colors of logo | ||
Line 66: | Line 59: | ||
=== Software === | === Software === | ||
+ | * FastLED library http://fastled.io/ | ||
+ | * Neopixel library https://github.com/adafruit/Adafruit_NeoPixel | ||
+ | * Adafruit_WS2801 https://github.com/adafruit/Adafruit-WS2801-Library | ||
* FastSPI library https://code.google.com/p/fastspi/ | * FastSPI library https://code.google.com/p/fastspi/ | ||
− | * | + | * ShiftPWM http://www.elcojacobs.com/using-shiftpwm-to-control-led-strips-with-arduino/ |
− | |||
* Related projects @techinc: [[LEDLightDistrict]], [[Neopixel]] | * Related projects @techinc: [[LEDLightDistrict]], [[Neopixel]] | ||
== Old == | == Old == | ||
[[Techinc_Wheel/Old]] | [[Techinc_Wheel/Old]] |
Revision as of 23:03, 21 August 2014
Projects | |
---|---|
Participants | Narya |
Skills | Electronics, Mechanics |
Status | Active |
Niche | Electronics |
Purpose | Promotion |
Contents
Summary
- The wooden techinc wheel has a WS2801 LED strip stuck on the back and is controlled via an Arduino Nano
- The 8 strips consist of 5 pixels each (3 LEDs per pixel). The first "spoke" goes outwards, the second inwards, the third outwards, etc
- The data pin is 12 and the clock pin 11.
- Color order is BRG, which is supported by the FastLED library, but for other libraries you need to put the colors in the right order
Feel free to put your Arduino code on it, add sensors or whatever.
Code
Currently the ColorPalette code runs on the Arduino.
Arduino code - work in progress
Things to make and do
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.
To do: connect the wheel to Powerbars
Mount
Who: justa, narya, control-k
- Location: on the wall - done
Painting
- NO color painting!
- Scratched parts could eventually be fixed with varnish
Backlit
Who: Narya, Brainsmoke and Mariejel
Soldering: done
WS2901 12V magic strip
- 12V
- 40 addressable pixels, color profile BRG
- Wires: green 12V (not attached), blue clock (pin 11), red data (pin 12), black GND (pin GND)
Color patterns
- Make a few color patterns:
- No rotation: colors of logo
- From center to outside and vice versa (knight rider)
- Rainbow glow
- Rotating colors
- FIRE
- ...
Sensors
- Color sensor to change knight rider color for example
- Distance sensor: change color and/or speed. If hand is within 4cm it can function as a switch (switch between color programs)
Software
- FastLED library http://fastled.io/
- Neopixel library https://github.com/adafruit/Adafruit_NeoPixel
- Adafruit_WS2801 https://github.com/adafruit/Adafruit-WS2801-Library
- FastSPI library https://code.google.com/p/fastspi/
- ShiftPWM http://www.elcojacobs.com/using-shiftpwm-to-control-led-strips-with-arduino/
- Related projects @techinc: LEDLightDistrict, Neopixel