====== QUADRICONE installation at Les Urbaines, Lausanne ======
{{::arlaud-visitor.jpg?nolink&200|}} {{::arlaud-sunday-allpoints.jpg?nolink&475|}}
===== interaction scheme =====
{{:quadricone-interaction-scheme.png?400|}}
===== technical details =====
[[stretchable-fabric|stretchable fabric]] + 4 HiTec servo motors + arduino + laptop running airodump-ng under Ubuntu Oneiric
==== hardware ====
* the ceiling:
- stretchable fabric, 2.25x7m
- 2 wooden bars, 5x5cm, 2.25m long
- 2 wire cables, 7m long
- hooks, screws, staples...
* the floor:
- 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]]
- four theatre weights to hold motors on the ground and wooden boxes to hide the motors
- Arduino Mega (ATMEGA1280) board
- custom made shield with connectors for the motors and independent power
- 24W Universal AC Power Adapter, on 6v
- plexiglass wheels on motors
- laptop, scanning and sending data to Arduino
==== software ====
* aircrack-ng, scanning network traffic (looks up the traffic on all available networks, writes a dump to a .csv file)
* [[Multiple-Serial-Servo-Control|Arduino-Python 4-Axis Servo Control]] firmware by Principialabs, with the associated [[servo-py|servo.py]] library
* python script [[quadricone-python-urbaines|quadricone.py]], reads the .csv file, finds four most active networks and calculates the position of motors based on the difference in the number of packets from the previous calculation
* quadricone: [[making-of-quadricone2|making of]] // pictures //
===== HOWTO =====
* use this [[start-up-zurich|startup.sh]] script
or
* start [[http://aircrack-ng.org|aircrack]]
airmon-ng start wlan0
(this will create an instance of the interface in the monitor mode, mon0)
airodump-ng -o csv -w [a file] mon0
* in a separate terminal, run the [[quadricone-python-urbaines|python script]]:
python quadricone.py
* alternatively, to check the functioning of the system without motors, run [[quadricone-python-urbaines-noservo|python test script]]
python quadricone-test.py
* when finished, stop airmon-ng
airmon-ng stop wlan0
airmon-ng stop mon0