User Tools

Site Tools


connect-or-not-lisbon

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: Pavilhao CIVIL, IST, Lisbon, September 2014 ====== {{http://emperors.kucjica.org/wp-content/uploads/2014/09/frontview-passingby-web-1024x708.jpg?400}} ===== interaction scheme ===== {{http://emperors.kucjica.org/wp-content/uploads/2014/09/interaction-scheme-1024x471.png?600}} ===== technical details ===== Stretchable fabric + motors + custom designed LED RGBW boards + 2 Arduinos + laptop + Connect or Not Android app [[connectornot-lisbon-development|development]] ==== hardware ==== * stretchable fabric, 2.25x7m * 2 wooden bars, 5x5cm, 2.25m long * 2 wire cables, 7m long * hooks, screws, staples… * Arduino Uno board * Arduino Mega(ATMEGA1280) board * custom made shield with connectors for the motors and independent power * 24W Universal AC Power Adapter, on 6v * 4 HiTEC ultra torque servo motors, [[http://www.servocity.com/html/hs-645mg_ultra_torque.html|HS-645MG]] * modified the servos for continuous rotation, using this procedure [[servo-continuous-modify]] * plexiglass wheels on motors * 4 custom made RGBW LED light boards * 3 [[http://estimote.com|estimote beacons]] * 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 (tested with Samsung Galaxy S3, Android 4.0.4) ==== software ==== * Arduino [[shiftpwm-led-controls|ShiftPWM library]] * Arduino [[diskoLEDron-ino|diskoLEDron.ino]] firmware for LED control * Arduino [[multiple-serial-servo-control|Arduino-Python 4-Axis Servo Control]] firmware for motors control * python script, [[connectornot-lisbon-py|get-values.py]] interfacitng the incomiong values with systems reaction * python libraries [[servoclass-py|servoclass.py]] and [[ledclass-py|ledclass.py]]; put them in the same folder with the main .py file and verify USB addresses before running ===== HOWTO ===== phone side: * download and install [[https://play.google.com/store/apps/details?id=net.lmag.connectornot|Connect or Not app from Google Playstore]] * press the PLAY button to start counting and sending data laptop/beaglebone side: * download all necessary scripts and libraries [[shiftpwm-led-controls|ShiftPWM library]],[[diskoLEDron-ino|diskoLEDron.ino]], [[multiple-serial-servo-control|Arduino-Python 4-Axis Servo Control]], [[connectornot-lisbon-py|get-values.py]], [[servoclass-py|servoclass.py]], [[ledclass-py|ledclass.py]]; put them in the same folder with the main .py file * connect both arduinos to the laptop, verify USB addresses before running * optionally, you can write udev rules for your machine so that the naming of USB serial addresses is persistent http://hintshop.ludvig.co.nz/show/persistent-names-usb-serial-devices/ or http://hackaday.com/2009/09/18/how-to-write-udev-rules/ * start get-values.py <code bash>python get-values.py</code> browse, talk, send sms's and upload data over the network. observe changes in the movement and lights

connect-or-not-lisbon.1430400673.txt.gz · Last modified: 2015/04/30 13:31 by zoza