Difference between revisions of "Techinc Wheel"

From Technologia Incognita
Jump to: navigation, search
(short summary about the wheel)
m (clean up log)
Line 42: Line 42:
 
'''WS2901 12V magic strip'''
 
'''WS2901 12V magic strip'''
 
* 12V
 
* 12V
* 36 LEDs/m (180 LEDs in total for 5m), 60 addressable pixels
+
* 40 addressable pixels, color profile BRG
* Power consumption = 8.64W/m, so 45W for total. Need power supply of at least 3.75A.
 
 
* 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)
* Problem (7-6-2014): When lights are supposed to be off/black the LEDs are red. LED strip becomes hot
 
** Tried different data speeds
 
** Tried swapping data and clock, different pins
 
** Tried different libraries: [https://github.com/adafruit/Adafruit_NeoPixel NeoPixel], [https://github.com/adafruit/Adafruit-WS2801-Library Adafruit_WS2801], and [http://fastled.io/ FastLED] library. Color profiles work (note: it is BRG), but problem is the same for every library
 
* Problem solved (27-6-2014): using another power supply did the trick. Previous one was a 12V 6.32A supply. Now using a 12V 5.42A power supply. Don't really understand why it didn't work before, because the previous supply had enough power.
 
  
 
==== Color patterns ====
 
==== Color patterns ====
* Info about colors on [http://en.wikipedia.org/wiki/HSL_and_HSV Wikipedia]
 
 
* 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/
* Neopixel library https://github.com/adafruit/Adafruit_NeoPixel
+
* ShiftPWM http://www.elcojacobs.com/using-shiftpwm-to-control-led-strips-with-arduino/
* Take a look at: 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
20130729-techinc-wheel-at-ohm.jpeg
Participants Narya
Skills Electronics, Mechanics
Status Active
Niche Electronics
Purpose Promotion

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
wheel mounted on the wall

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

Old

Techinc_Wheel/Old