This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
connect-or-not-lisbon [2015/04/30 10:17] 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 ==== | ||
Line 48: | Line 53: | ||
laptop/beaglebone side: | laptop/beaglebone side: | ||
- | * download all necessary scripts and libraries | + | * 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 and check their addresses | + | * connect both arduinos to the laptop, verify USB addresses before running |
- | * additionally, 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/ | + | * 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* | ||
- | browse, talk, send sms's and upload data over the network. observe changes in light colour and speed of change |