User Tools

Site Tools


monorail

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
monorail [2013-11-02 09:40] janemonorail [2015-10-05 15:55] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Monorail ====== ====== Monorail ======
-The assembly parts for the track are stored in a christmas cardboard box. The box waits for you on a shelf beside the old batteries container.+===How to control the monorail=== 
 +You can control it from Python over Bluetooth as follow (instruction for a linux distro): 
 + 
 +  - Install [[http://code.google.com/p/nxt-python/| python-nxt]]  
 +  - Turn it on by pressing the orange button. 
 +  - Start python and run the following setup commands: 
 +<code> 
 +from nxt.bluesock import Bluesock 
 +from nxt.motor import Motor 
 +ID = '00:16:53:02:9B:DE' 
 +sock =  BlueSock(ID) 
 +brick = sock.connect() 
 +motor_a = Motor(brick, nxt.motor.PORT_A) 
 +motor_b = Motor(brick, nxt.motor.PORT_B) 
 +motor_c = Motor(brick, nxt.motor.PORT_C) 
 +</code> 
 + 
 +You can then control the motors by calling motor.turn(power, degrees) 
 +e.g. motor_a.turn(127, 360). 
 + 
 +Motor A moves it along the rail, Motor B pans the sensor head and Motor 
 +C tilts the sensor head. 
 + 
 +See the python-nxt documentation for more, you should be able to set up 
 +and use the sensors too. 
 +===Monorail instrustion=== 
 +[[http://the.earth.li/~martin/temp/monorail/Building%20Instructions%20%5BMonorail%5D.html| Lego Mindstorm ]] 
 + 
 +===Parts=== 
 +The assembly parts for the track are stored in a christmas cardboard box. The box waits for you on a shelf beside the old batteries container. The design for the laser cutter of the ceiling station and connector is stored in [[https://github.com/HennyN/Hacklab_monorail |a github rep]].  
 <code> <code>
 Ceiling holders:      laser-cut from 3mm ply Ceiling holders:      laser-cut from 3mm ply
Line 6: Line 36:
 Rail:                 3x19x4000mm Aluminum Rail:                 3x19x4000mm Aluminum
 </code> </code>
 +
 +===Roadmap===
 +  * charging station
 +  * junctions
 +
 +**Control Monorail From Android**
 +
 +Download the lego NXT app, pair bluetooth with android device by matching the pin displayed on the screen of the lego brick. Pin was 1234. 
 +
 +Motor A moves it along the rail, Motor B pans the sensor head and Motor
 +C tilts the sensor head.
 +
  
monorail.1383385232.txt.gz · Last modified: 2015-10-05 15:55 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki