This is an old revision of the document!
Warning: Declaration of syntax_plugin_wrap_div::handle($match, $state, $pos, Doku_Handler &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/var/www/kucjica/emperors-wiki/lib/plugins/wrap/syntax/div.php on line
43
Warning: Declaration of syntax_plugin_wrap_div::render($mode, Doku_Renderer &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/var/www/kucjica/emperors-wiki/lib/plugins/wrap/syntax/div.php on line
81
Warning: Declaration of syntax_plugin_wrap_closesection::handle($match, $state, $pos, Doku_Handler &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/var/www/kucjica/emperors-wiki/lib/plugins/wrap/syntax/closesection.php on line
23
Warning: Declaration of syntax_plugin_wrap_closesection::render($mode, Doku_Renderer &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/var/www/kucjica/emperors-wiki/lib/plugins/wrap/syntax/closesection.php on line
29
Warning: Declaration of syntax_plugin_wrap_span::handle($match, $state, $pos, Doku_Handler &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/var/www/kucjica/emperors-wiki/lib/plugins/wrap/syntax/span.php on line
43
Warning: Declaration of syntax_plugin_wrap_span::render($mode, Doku_Renderer &$renderer, $indata) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/var/www/kucjica/emperors-wiki/lib/plugins/wrap/syntax/span.php on line
63
Warning: Declaration of syntax_plugin_gallery::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/var/www/kucjica/emperors-wiki/lib/plugins/gallery/syntax.php on line
51
Warning: Declaration of syntax_plugin_gallery::render($mode, &$R, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/var/www/kucjica/emperors-wiki/lib/plugins/gallery/syntax.php on line
147
Warning: Declaration of syntax_plugin_vshare::handle($match, $state, $pos, &$handler) should be compatible with DokuWiki_Syntax_Plugin::handle($match, $state, $pos, Doku_Handler $handler) in
/var/www/kucjica/emperors-wiki/lib/plugins/vshare/syntax.php on line
47
Warning: Declaration of syntax_plugin_vshare::render($mode, &$R, $data) should be compatible with DokuWiki_Syntax_Plugin::render($format, Doku_Renderer $renderer, $data) in
/var/www/kucjica/emperors-wiki/lib/plugins/vshare/syntax.php on line
107
Warning: preg_match(): Compilation failed: invalid range in character class at offset 3444 in
/var/www/kucjica/emperors-wiki/inc/parser/lexer.php on line
118
A PCRE internal error occured. This might be caused by a faulty plugin
====== Connect or Not: Klub K4, Kersnikova, Ljubljana, February 2014 ======
{{http://emperors.kucjica.org/wp-content/uploads/2014/09/red-green-web.jpg?400}}
===== interaction scheme =====
{{::interaction-scheme-connectornot.png?nolink&400|}}
===== technical details =====
Scanners + DMX shield + Arduino + Connect or Not Android app + laptop
==== hardware ====
* 6 [[http://www.robe.cz/products/article/clubscan-250-ct|Robe ClubScan 250ct]] moving lights
* 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)
* TP-Link TL-WR703N wireless router ([[http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/openwrt-ar71xx-generic-tl-wr2543-v1-squashfs-factory.bin|OpenWRT squashfs firmware]]) [[http://wiki.xinchejian.com/wiki/Install_OpenWRT_on_TPlink_WR703N|how to install]]
* smartphone (tested with 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 [[clubscan-pd|puredata patch using ClubScan moving lights]]
* to test the light spots only, use puredata test patch for [[dmx-eurolite-test-pd|DMX general test patch]]
===== 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 ClubScan 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 [[clubscan-pd]] puredata patch
browse, talk, send sms's and upload data over the network. observe changes in light colour and speed of change