Circle Of Light: Unterschied zwischen den Versionen

aus Metalab Wiki, dem offenen Zentrum für meta-disziplinäre Magier und technisch-kreative Enthusiasten.
Zur Navigation springenZur Suche springen
 
(25 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 3: Zeile 3:
 
We use this page to organize the project.
 
We use this page to organize the project.
  
== Architecture ==
 
 
Document describing the whole system: [[Datei:CoFArch.pdf]]
 
Document describing the whole system: [[Datei:CoFArch.pdf]]
  
== What we need ==
+
[[File:CoFArch.png|Diagram]]
 +
 
 +
== What we need (except electronic parts) ==
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
! What? !! Who? !! Cost !! Status
+
! What? !! Who? !! Cost !! Status !! Comment
 +
|-
 +
| [https://www.aliexpress.com/item/32862966303.html?spm=a2g0o.productlist.0.0.111c7491LNYnt6&s=p&algo_pvid=1fb8b469-5c20-44f6-8f16-3993ef8db97d&algo_expid=1fb8b469-5c20-44f6-8f16-3993ef8db97d-0&btsid=8ed09771-293a-43b2-b1f2-04b41abaca56&ws_ab_test=searchweb0_0,searchweb201602_7,searchweb201603_52 1000 WS2811 LEDs] || [[User:amir|amir]] & [[User:pwnschlager|pwnschlager]] || 138$ || <span style="color:#00FF00">Done</span> ||
 +
|-
 +
| (Guess) 4 x PC power supplies  || ? || ? || <span style="color:#00FF00">Done</span> || We found two working power supplies & [[User:wirehead|wirehead]] has one
 +
|-
 +
| Oscilloscope  || ? || ? || <span style="color:#00FF00">Done</span> ||
 +
|-
 +
| Tap measure  || [[User:wirehead|wirehead]] || ? || <span style="color:#00FF00">Done</span> ||
 +
|-
 +
| Lab power supply  || [[User:wirehead|wirehead]] || 0$ || <span style="color:#00FF00">Done</span> || Will bring it
 +
|-
 +
| Multimeter || [[User:pwnschlager|meks]] & [[User:wirehead|wirehead]] || 0$ || <span style="color:#00FF00">Done</span> || meks has one
 +
|-
 +
| Solder iron, solder || [[User:pwnschlager|meks]] & [[User:wirehead|wirehead]]|| 0$ || <span style="color:#00FF00">Done</span> || meks has one
 
|-
 
|-
| [https://www.aliexpress.com/item/32862966303.html?spm=a2g0o.productlist.0.0.111c7491LNYnt6&s=p&algo_pvid=1fb8b469-5c20-44f6-8f16-3993ef8db97d&algo_expid=1fb8b469-5c20-44f6-8f16-3993ef8db97d-0&btsid=8ed09771-293a-43b2-b1f2-04b41abaca56&ws_ab_test=searchweb0_0,searchweb201602_7,searchweb201603_52 1000 WS2811 LEDs] || [[User:amir|amir]] & [[User:pwnschlager|pwnschlager]] || 138$ || Order pending
+
| Long power cables || [[User:amir|amir]] || 0$ || <span style="color:#00FF00">Done</span> || I have several meters. we have to figure out if that is enough.
 
|-
 
|-
| (Guess) 4 x PC power supplies  || ? || ? || We found two working power supplies
+
| Long signal cables || [[User:amir|amir]] & [[User:wirehead|wirehead]] || 0$ || <span style="color:#00FF00">Done</span> || I have a large box full of 1m audio cables and two reels. wirehead also mentioned she had a reel.
 
|-
 
|-
| Oscilloscope  || ? || ? || ?
+
| Microcontroller for usb to midi || [[User:amir|amir]] || 4€ || <span style="color:#00FF00">Done</span> || We have 1 board
 
|-
 
|-
| Tap measure  || ? || ? || ?
+
| Microcontrollers for midi to LED translators || [[User:juli|juli]] || 12€ || <span style="color:#00FF00">Done</span> || We have 3 boards
 
|-
 
|-
| Lab power supply  || [[User:wirehead|wirehead]] || 0$ || Will bring it
+
| Laptop || [[User:amir|amir]] || 0$ || <span style="color:#00FF00">Done</span> || We are going to use my laptop
 
|-
 
|-
| Multimeter || [[User:pwnschlager|meks]] || 0$ || meks has one
+
| Fog machine || [[User:nini|nini]] || 0$ || <span style="color:#00FF00">Done</span> || thx!
 
|-
 
|-
| Solder iron, solder, short cables || [[User:pwnschlager|meks]] || 0$ || meks has one, not sure about short cables, probably some restln
+
| Fog liquid || ? || ? || <span style="color:#FF0000">Pending</span> || I think i still have some stashed at the lab
 
|-
 
|-
| Long power cables || [[User:amir|amir]] || 0$ || I have several meters
+
| Two Wiimotes || [[User:ryn|rin]] / ?  || ? / 0$ || <span style="color:#00FF00">Done</span> ||
 
|-
 
|-
| Long signal cables || [[User:amir|amir]] || 0$ || I have a large box full of 1m audio cables
+
| 4 sets of rechargeable batteries for the Wiimotes  || [[User:amir|amir]] || 0$ || <span style="color:#00FF00">Done</span> || Had some lying around
 
|-
 
|-
| Microcontroller for usb to midi || ? || ? || ?
+
| PA || [[User:amir|amir]] || 0$ || <span style="color:#00ff00">Done</span> || I've got [http://www.samsontech.com/samson/products/studio-monitors/resolv/resolv65/ decent and loud active speakers]
 
|-
 
|-
| Microcontrollers for midi to LED translators || [[User:juli|juli]] || 16€ || We have four boards
+
| Organize a net to mount the LEDs on || [[User:juli|juli]] & [[User:amir|amir]] || ? || <span style="color:#0000FF">Partial</span> || We gonna scout this week
 
|-
 
|-
| Yet undetermined electronic parts (like Mosfets) || ? || ? || ?
+
| Cable Ties || [[User:wirehead|wirehead]] || ? || <span style="color:#00FF00">Done</span> || I have several sizes
 
|-
 
|-
| Laptop || [[User:amir|amir]] || 0$ || We are going to use my laptop
+
| Caravan || [[User:wirehead|wirehead]] || 1000€ + || <span style="color:#FF0000">Pending</span> ||  [https://docs.google.com/spreadsheets/d/1u_l-7ZuIUaUT9oj8s7oCfDQwYOUIKK_K_d6nmS8YolI/edit?usp=sharing here is a list of options]
 
|-
 
|-
| Fog machine? || ? || ? || ?
+
| Cable extension reel || [[User:amir|amir]]  || ? || <span style="color:#00FF00">Done</span> || Got one
 +
|}
 +
 
 +
== What electronic parts we need ==
 +
 
 +
{| class="wikitable sortable"
 
|-
 
|-
| Two Wiimotes || [[User:ryn|rin]] / ?  || ? / 0$ ||  Maybe we may borrow from the lab / Can borrow from [[User:ryn|rin]]
+
! Quantity !! Description !! PartNr. !! Cost !! Status
 
|-
 
|-
| 4 sets of rechargeable batteries for the Wiimotes  || [[User:amir|amir]|| ? || Had some lying around
+
| 25 || 220Ohm 1/4watt resistor || [https://www.digikey.at/products/de?keywords=CF14JT220RCT-ND Digikey CF14JT220RCT-ND] || $0.72 || pending
 
|-
 
|-
| PA || [[User:amir|amir]] || 0$ || I've got [http://www.samsontech.com/samson/products/studio-monitors/resolv/resolv65/ decent and loud active speakers]
+
| 10 || 1N4148 diode || [https://www.digikey.at/products/de?keywords=1N4148-TAPCT-ND Digikey 1N4148-TAPCT-ND] || $1.78 || pending
 
|-
 
|-
| Organize a net to mount the LEDs on || [[User:juli|juli]] || ? || ?
+
| 25 || 10kOhm 1/4watt resistor || [https://www.digikey.at/products/de?keywords=CF14JT10K0CT-ND Digikey CF14JT10K0CT-ND] || $0.72 || pending
 
|-
 
|-
| Cable Ties || ? || ? || ?
+
| 25 || 470 Ohm 1/4watt resistor || [https://www.digikey.at/product-detail/de/stackpole-electronics-inc/CF14JT470R/CF14JT470RCT-ND/1830342 Digikey CF14JT470RCT-ND] || $0.72 || pending
 
|-
 
|-
| [https://www.caramobil.at/vermietung/mietfahrzeuge/wohnwagen/ Caravan] || ? || ? || ?
+
| 25 || 6N138 optocoupler || [https://www.digikey.at/products/de?keywords=751-1263-5-ND Digikey 751-1263-5-ND] || $33.23 || pending
 +
|-
 +
| 10 || Lochrasterplatine || [https://www.digikey.at/product-detail/de/dfrobot/FIT0099/1738-1000-ND/6588422 Digikey 1738-1000-ND] || $13 || pending
 
|}
 
|}
  
Zeile 63: Zeile 85:
 
| Program a Wiimote receiver for the laptop (x64-linux). || [[User:amir|amir]] || 0$ || Already done for another project  
 
| Program a Wiimote receiver for the laptop (x64-linux). || [[User:amir|amir]] || 0$ || Already done for another project  
 
|-
 
|-
| Program visuals based on Wiimote input for the laptop || ? || ? || ?
+
| Program visuals based on Wiimote input for the laptop || [[User:amir|amir]] + [[User:pwnschlager|pwnschlager]] || 0$ || [[User:amir|amir]] wrote visuals
 
|-
 
|-
 
| Encode the visuals to midi with a program for the laptop || ? || ? || ?
 
| Encode the visuals to midi with a program for the laptop || ? || ? || ?
Zeile 78: Zeile 100:
 
== Code ==
 
== Code ==
  
I hacked wmgui (part of libcwiid) to output MIDI events and wrote a simple visual that slides over a large image depending on events, always only showing a portion of the image.
+
I hacked wmgui (part of libcwiid) to output MIDI events and wrote a simple visuals. (I also ported it from C to C++ so i could use RTMidi and the wonder of C++ :p)
- wmgui code: https://github.com/kallaballa/Circle/blob/master/third/cwiid-0.6.00/wmgui/main.c
+
* wmgui code: https://github.com/kallaballa/Circle/blob/master/third/cwiid-0.6.00/wmgui/main.c
- visual code: https://github.com/kallaballa/Circle/blob/master/src/sierpinski.cpp
+
 
 +
=== Visuals ===
 +
* Slide: [https://github.com/kallaballa/Circle/blob/master/src/slide/slide.cpp Kinetically slides over an image larger then the LED-matrix controlled by Wiimotes]
 +
* Piano: [https://github.com/kallaballa/Circle/blob/master/src/piano/piano.cpp Reads midi events from an instrument and visualizes noteOn/noteOff events]
 +
* Spectro: [https://github.com/kallaballa/Circle/blob/master/src/spectro/spectro.cpp Receives audio from a microphone and visualizes the spectrum]
 +
* Water: [https://github.com/kallaballa/Circle/blob/master/src/water/water.cpp Receives audio from a microphone and visualizes the waterfall spectrum]
 +
* Video: [https://github.com/kallaballa/Circle/blob/master/src/video/video.cpp Plays a video on the LED-matrix]

Aktuelle Version vom 25. August 2019, 16:31 Uhr

WTF

Juli, pwnschlager, wirehead and I are going to build an LED project for Die Schmiede. We use this page to organize the project.

Document describing the whole system: Datei:CoFArch.pdf

Diagram

What we need (except electronic parts)

What? Who? Cost Status Comment
1000 WS2811 LEDs amir & pwnschlager 138$ Done
(Guess) 4 x PC power supplies ? ? Done We found two working power supplies & wirehead has one
Oscilloscope ? ? Done
Tap measure wirehead ? Done
Lab power supply wirehead 0$ Done Will bring it
Multimeter meks & wirehead 0$ Done meks has one
Solder iron, solder meks & wirehead 0$ Done meks has one
Long power cables amir 0$ Done I have several meters. we have to figure out if that is enough.
Long signal cables amir & wirehead 0$ Done I have a large box full of 1m audio cables and two reels. wirehead also mentioned she had a reel.
Microcontroller for usb to midi amir 4€ Done We have 1 board
Microcontrollers for midi to LED translators juli 12€ Done We have 3 boards
Laptop amir 0$ Done We are going to use my laptop
Fog machine nini 0$ Done thx!
Fog liquid ? ? Pending I think i still have some stashed at the lab
Two Wiimotes rin / ? ? / 0$ Done
4 sets of rechargeable batteries for the Wiimotes amir 0$ Done Had some lying around
PA amir 0$ Done I've got decent and loud active speakers
Organize a net to mount the LEDs on juli & amir ? Partial We gonna scout this week
Cable Ties wirehead ? Done I have several sizes
Caravan wirehead 1000€ + Pending here is a list of options
Cable extension reel amir ? Done Got one

What electronic parts we need

Quantity Description PartNr. Cost Status
25 220Ohm 1/4watt resistor Digikey CF14JT220RCT-ND $0.72 pending
10 1N4148 diode Digikey 1N4148-TAPCT-ND $1.78 pending
25 10kOhm 1/4watt resistor Digikey CF14JT10K0CT-ND $0.72 pending
25 470 Ohm 1/4watt resistor Digikey CF14JT470RCT-ND $0.72 pending
25 6N138 optocoupler Digikey 751-1263-5-ND $33.23 pending
10 Lochrasterplatine Digikey 1738-1000-ND $13 pending

TODO

What? Who? Cost Status
Test the maximum length of a LED-strand (and therefor determine the number of needed power lines) ? ? ?
Program a Wiimote receiver for the laptop (x64-linux). amir 0$ Already done for another project
Program visuals based on Wiimote input for the laptop amir + pwnschlager 0$ amir wrote visuals
Encode the visuals to midi with a program for the laptop ? ? ?
Build and program a usb to midi transmitter dongle for the laptop. Optionally buy or borrow a midi interface ? ? ?
Build and program midi receiver to LED boards (short MW-boards) for each strand ? ? ?
Solder LED-strands with MW-boards ? ? ?
Solder power lines from power supplies to LED-strands ? ? ?

Code

I hacked wmgui (part of libcwiid) to output MIDI events and wrote a simple visuals. (I also ported it from C to C++ so i could use RTMidi and the wonder of C++ :p)

Visuals