====== Connect or Not: Buhne A, Zurich, November 2013 ====== {{::image1772.png?nolink&590|}} ===== interaction scheme ===== {{::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 ===== RGB LED theatre lights + DMX shield + Arduino + Connect or Not Android app + laptop ==== hardware ==== * 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]]) * Arduino Uno * 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) * smartphone (Samsung Galaxy S3, Android 4.0.4) ==== software ==== * Arduino [[DMX-simple|DMX Simple]] library, customized * [[arduino-pd|arduino.pd]] * puredata patch with OSC server and lights controls [[wybron-pd|puredata patch using Wybron]] OR [[teclumen-pd|puredata patch using Teclumen]] lights * to test the light spots only, use puredata test patch for [[teclumen-test-pd|Teclumen test patch]] OR [[wybron-test-pd|Wybron test patch]] connect or not: [[connect-or-not-setup|researching the setup]] ===== 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