Difference between revisions of "Techinc Wheel"

From Technologia Incognita
Jump to: navigation, search
m (where did the wheel go?)
(short summary about the wheel)
Line 6: Line 6:
 
|ProjectPurpose=Promotion
 
|ProjectPurpose=Promotion
 
}}
 
}}
'''Where did the wheel go?''' It is at [https://haxogreen.lu/ Haxogreen]
+
== Summary ==
  
''Things to make and do''
+
* 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.
 +
 
 +
[https://github.com/techinc/wheel 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.
 
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.
  
== Code ==
+
To do: connect the wheel to [[Powerbars]]
[https://github.com/techinc/wheel PCB layout and code for the LEDs] - ''work in progress''
 
  
== Mount ==
+
=== Mount ===
 
Who: justa, narya, control-k
 
Who: justa, narya, control-k
 
* Location: on the wall - done
 
* Location: on the wall - done
 
[[File:wheel-on-the-wall.JPG|200px|thumb|none|wheel mounted on the wall]]
 
[[File:wheel-on-the-wall.JPG|200px|thumb|none|wheel mounted on the wall]]
  
== Painting ==
+
=== Painting ===
Who: [[User:Narya|Narya]]
 
 
* NO color painting!
 
* NO color painting!
* I will fix the scratched parts with varnish
+
* Scratched parts could eventually be fixed with varnish
  
== Backlit ==
+
=== Backlit ===
 
Who: [[User:Narya|Narya]], [[User:Brainsmoke | Brainsmoke]] and [[User:Mariejel | Mariejel]]
 
Who: [[User:Narya|Narya]], [[User:Brainsmoke | Brainsmoke]] and [[User:Mariejel | Mariejel]]
 +
 +
Soldering: done
  
 
'''WS2901 12V magic strip'''
 
'''WS2901 12V magic strip'''
Line 37: Line 49:
 
** Tried swapping data and clock, different pins
 
** 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
 
** 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
** Need to read this: http://forum.arduino.cc/index.php?topic=173363.0
 
 
* 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.
 
* 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]
 
* Info about colors on [http://en.wikipedia.org/wiki/HSL_and_HSV Wikipedia]
 
* Make a few color patterns:
 
* Make a few color patterns:
Line 50: Line 61:
 
** ...
 
** ...
  
=== Sensors ===
+
==== Sensors ====
 
* Color sensor to change knight rider color for example
 
* 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)
 
* Distance sensor: change color and/or speed. If hand is within 4cm it can function as a switch (switch between color programs)
  
== Software ==
+
=== Software ===
 
* FastSPI library https://code.google.com/p/fastspi/
 
* FastSPI library https://code.google.com/p/fastspi/
 
* Neopixel library https://github.com/adafruit/Adafruit_NeoPixel
 
* Neopixel library https://github.com/adafruit/Adafruit_NeoPixel

Revision as of 23:56, 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
  • 36 LEDs/m (180 LEDs in total for 5m), 60 addressable pixels
  • 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)
  • 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: NeoPixel, Adafruit_WS2801, and 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

  • Info about colors on Wikipedia
  • 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