User Tools

Site Tools


connect-or-not-lisbon

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
connect-or-not-lisbon [2015/04/30 08:44]
zoza [software]
connect-or-not-lisbon [2015/08/17 14:02] (current)
zoza
Line 11: Line 11:
 Stretchable fabric + motors + custom designed LED RGBW boards + 2 Arduinos + laptop + Connect or Not Android app  Stretchable fabric + motors + custom designed LED RGBW boards + 2 Arduinos + laptop + Connect or Not Android app 
  
 +[[connectornot-lisbon-development|development]]
 ==== hardware ==== ==== hardware ====
  
Line 22: Line 23:
   * custom made shield with connectors for the motors and independent power   * custom made shield with connectors for the motors and independent power
   * 24W Universal AC Power Adapter, on 6v   * 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   * plexiglass wheels on motors
  
   * 4 custom made RGBW LED light boards   * 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)   * 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)   * smartphone (tested with Samsung Galaxy S3, Android 4.0.4)
- 
  
 ==== software ==== ==== software ====
  
-  * Arduino ShiftPWM library  +  * Arduino ​[[shiftpwm-led-controls|ShiftPWM library]] 
-  * Arduino firmware for LED control +  * Arduino ​[[diskoLEDron-ino|diskoLEDron.ino]] ​firmware for LED control 
-  * Arduino firmware for motors 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 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   * 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
Line 46: Line 51:
   * press the PLAY button to start counting and sending data   * press the PLAY button to start counting and sending data
  
-laptop side:+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 
 + 
 +==== HOWTO analyse position tracking ==== 
 + 
 +get the database file from the server; 
 + 
 +read it using *sqlitebrowser* ​
  
-  * start the [[lisbon-pd]] puredata patch 
  
-browse, talk, send sms's and upload data over the network. observe changes in light colour and speed of change 
connect-or-not-lisbon.1430383442.txt.gz · Last modified: 2015/04/30 08:44 by zoza