This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
quadricone-installation [2015/04/28 15:29] zoza [second prototype: quadricone @ les urbaines] |
quadricone-installation [2015/04/29 15:27] (current) zoza [QUADRICONE installation at Les Urbaines, Lausanne] |
||
---|---|---|---|
Line 4: | Line 4: | ||
{{::arlaud-visitor.jpg?nolink&200|}} {{::arlaud-sunday-allpoints.jpg?nolink&475|}} | {{::arlaud-visitor.jpg?nolink&200|}} {{::arlaud-sunday-allpoints.jpg?nolink&475|}} | ||
- | [[stretchable-fabric|stretchable fabric]] + 4 servo motors + arduino + laptop running airodump-ng under Ubuntu Oneiric | ||
===== interaction scheme ===== | ===== interaction scheme ===== | ||
Line 11: | Line 10: | ||
===== technical details ===== | ===== technical details ===== | ||
+ | [[stretchable-fabric|stretchable fabric]] + 4 HiTec servo motors + arduino + laptop running airodump-ng under Ubuntu Oneiric | ||
==== hardware ==== | ==== hardware ==== | ||
Line 24: | Line 24: | ||
- 4 HiTEC ultra torque servo motors, {{http://www.servocity.com/html/hs-645mg_ultra_torque.html|HS-645MG}} | - 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]] | - modified the servos for continuous rotation, using this procedure [[servo-continuous-modify]] | ||
- | - four wooden boxes to hide the motors | + | - four theatre weights to hold motors on the ground and wooden boxes to hide the motors |
- Arduino Mega (ATMEGA1280) board | - 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 | - laptop, scanning and sending data to Arduino | ||
- | - custom made wheels | ||
- | * quadricone: [[making-of-quadricone2|making of]] // pictures // | ||
==== software ==== | ==== software ==== | ||
* aircrack-ng, scanning network traffic (looks up the traffic on all available networks, writes a dump to a .csv file) | * aircrack-ng, scanning network traffic (looks up the traffic on all available networks, writes a dump to a .csv file) | ||
- | * [[Multiple-Serial-Servo-Control]] [[http://principialabs.com/arduino-python-4-axis-servo-control/|multiple servo control prinicipialabs]] firmware for the Arduino, with the associated servo.py library | + | * [[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 | * 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 | ||
- | * software [[quadricone-software|development]] | + | * quadricone: [[making-of-quadricone2|making of]] // pictures // |
+ | ===== HOWTO ===== | ||
+ | * use this [[start-up-zurich|startup.sh]] script | ||
+ | or | ||
+ | * start [[http://aircrack-ng.org|aircrack]] | ||
- | {{::arlaud-visitor.jpg?nolink&200|}} {{::arlaud-sunday-allpoints.jpg?nolink&475|}} | + | <code bash> |
+ | airmon-ng start wlan0 | ||
+ | </code> | ||
+ | (this will create an instance of the interface in the monitor mode, mon0) | ||
+ | <code bash> | ||
+ | airodump-ng -o csv -w [a file] mon0 | ||
+ | </code> | ||
- | [[stretchable-fabric|stretchable fabric]] + 4 servo motors + arduino + laptop running airodump-ng under Ubuntu Oneiric | + | * in a separate terminal, run the [[quadricone-python-urbaines|python script]]: |
+ | <code> | ||
+ | python quadricone.py | ||
+ | </code> | ||
- | ===== HOWTO ===== | + | * alternatively, to check the functioning of the system without motors, run [[quadricone-python-urbaines-noservo|python test script]] |
- | * [[quadricone-python-urbaines|quadricone python script]] reads the aircrack-ng dump and controls 4 modified servo (stand still when given command 90, turn clockwise when given 89 or less, turn counterclockwise when given 91 or more) | + | <code> |
+ | python quadricone-test.py | ||
+ | </code> | ||
- | * [[quadricone-python-urbaines-noservo|quadricone test script]] reads the aircrack-ng dump and simulates the movement of motors | + | * when finished, stop airmon-ng |
+ | <code bash>airmon-ng stop wlan0 | ||
+ | airmon-ng stop mon0 | ||
+ | </code> |