This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
connect-or-not-zurich [2015/04/29 12:44] zoza created |
connect-or-not-zurich [2015/04/29 14:01] (current) zoza [HOWTO] |
||
---|---|---|---|
Line 2: | Line 2: | ||
{{::image1772.png?nolink&590|}} | {{::image1772.png?nolink&590|}} | ||
- | |||
- | Android application > OSC data stream > Puredata patch : [[connectornot-dataflow|data flow]] | ||
- | |||
===== interaction scheme ===== | ===== interaction scheme ===== | ||
{{::milicone-interaction-scheme.png?400}} | {{::milicone-interaction-scheme.png?400}} | ||
+ | |||
+ | Android application > OSC data stream > Puredata patch | ||
+ | airodump > csv ANDROID APP [PLAY] | ||
+ | | | | ||
+ | | | | ||
+ | | | | ||
+ | milicone-backup.py [PLAY] | | ||
+ | | | | | ||
+ | | | | | ||
+ | | [OSC] :50000> [OSC] :50000> | ||
+ | | | | :49999> | ||
+ | | | | | | ||
+ | | [ I N T E R A C T I O N ] | | | ||
+ | | PD: OSC_pd_Arduino-DMX.pd <:50000 | | ||
+ | | | | | ||
+ | | | | | ||
+ | | | | | ||
+ | | | | ||
+ | | DMX shield + Arduino > RGB Light | ||
+ | | | ||
+ | | | | ||
+ | | | | ||
+ | | | | ||
+ | | [ D O C U M E N T A T I O N ] | ||
+ | | receive-osc.py > log/log(+UNIXtimestamp).txt <:49999 | ||
+ | |_______________________ milicone-direct-backup.py > log(+UNIXtimestamp).txt | ||
===== technical details ===== | ===== technical details ===== | ||
+ | |||
+ | RGB LED theatre lights + DMX shield + Arduino + Connect or Not Android app + laptop | ||
==== hardware ==== | ==== hardware ==== | ||
- | * DMX RGB spot lights | + | * 2 RGB LED light spots: //Teclumen Fusion color 18 FC RGBW//; ({{http://www.ecm-sa.ch/files/stage_color_18_fc_manuale.pdf|datasheet}}) DmxSetup: [1RGB, 8 channel]; ([[teclumen-test-pd]]) /OR/ //Wybron Cygnus VN100 model 7500// ({{http://www.wybron.com/stage-lighting-service-and-repair/documentation/user-manuals/Cygnus_ColorWash_Manual_v1.8.pdf|datasheet}}) DmxSetup: addr 0001 /// res 8bit /// fdr ON /// HSP OFF /// ([[wybron-test-pd]]) |
- | - Teclumen Fusion color 18 FC RGBW; ({{http://www.ecm-sa.ch/files/stage_color_18_fc_manuale.pdf|datasheet}}) DmxSetup: [1RGB, 8 channel]; ([[teclumen-test-pd]]) | + | * Arduino Uno |
- | - Wybron Cygnus VN100 model 7500 ({{http://www.wybron.com/stage-lighting-service-and-repair/documentation/user-manuals/Cygnus_ColorWash_Manual_v1.8.pdf|datasheet}}) DmxSetup: addr 0001 /// res 8bit /// fdr ON /// HSP OFF /// ([[wybron-test-pd]]) | + | * DMX shield by [[https://www.tindie.com/products/Conceptinetics/25kv-isolated-dmx-512-shield-for-arduino-rdm-capable-r2|Conceptinetics]] |
- | * Arduino + DMX shield by {{https://www.tindie.com/products/Conceptinetics/25kv-isolated-dmx-512-shield-for-arduino-rdm-capable-r2|Conceptinetics}} | + | * laptop (Debian Wheezy) with built in wireless adapter Intel® Centrino® Advanced-N 6205 with Intel(R) Wireless WiFi driver for Linux, 3.11-2-amd64 (iwlwifi) |
- | * laptop running Debian Wheezy | + | * smartphone (Samsung Galaxy S3, Android 4.0.4) |
- | * connect or not: [[connect-or-not-setup|researching the setup]] | ||
==== software ==== | ==== software ==== | ||
- | * Arduino [[DMX-simple|DMX Simple]] library (not the same DMX simple that comes by default!!! modified pin 2 to be always high) | + | * Arduino [[DMX-simple|DMX Simple]] library, customized |
- | * [[arduino-pd|arduino.pd]] (place it in the working folder) | + | * [[arduino-pd|arduino.pd]] |
- | * puredata test patches | + | * puredata patch with OSC server and lights controls [[wybron-pd|puredata patch using Wybron]] OR [[teclumen-pd|puredata patch using Teclumen]] lights |
- | - puredata [[teclumen-test-pd|Teclumen test patch]] | + | * to test the light spots only, use puredata test patch for [[teclumen-test-pd|Teclumen test patch]] OR [[wybron-test-pd|Wybron test patch]] |
- | - puredata [[wybron-test-pd|Wybron test patch]] | + | |
- | * puredata patch (Wybron version is the newest) | + | |
- | - Connect or not > OSC > DMX [[wybron-pd|puredata patch using Wybron]] lights | + | connect or not: [[connect-or-not-setup|researching the setup]] |
- | - Connect or not > OSC > DMX [[teclumen-pd|puredata patch using Teclumen]] lights | + | |
+ | ===== HOWTO ===== | ||
+ | |||
+ | phone side: | ||
+ | |||
+ | * download and install [[https://play.google.com/store/apps/details?id=net.lmag.connectornot|Connect or Not app from Google Playstore]] | ||
+ | * enable OSC transmission (Menu>Enable OSC) | ||
+ | * press the PLAY button to start counting and sending data | ||
+ | * make sure you are connected to a wireless network (doesn't need to be online) | ||
+ | |||
+ | laptop side: | ||
+ | |||
+ | * connect to the same WiFi network as the smartphone | ||
+ | * make sure the Wybron lights are correctly connected to the DMX shield (in series) and that the Arduino is connected to the laptop; check Arduino port and baudrate | ||
+ | * start the [[wybron-pd]] puredata patch | ||
+ | |||
+ | * browse, talk, send sms's and upload data over the network. observe changes in light colour and speed of change | ||