User Tools

Site Tools


getting_started:tutorials:oneaxis_bbb

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
Next revisionBoth sides next revision
getting_started:tutorials:oneaxis_bbb [2019/10/14 17:21] – [Emergency Signal] grafgetting_started:tutorials:oneaxis_bbb [2021/02/12 15:23] – [Encoder Inputs] ursgraf
Line 5: Line 5:
 There are 4 connectors denoted with //DC Motors//. Connect number 1 with the motor. Before testing plug in the 12V DC power supply or the Li-Po battery, otherwise the motors won't run. ssh into the Beaglebone blue board and run There are 4 connectors denoted with //DC Motors//. Connect number 1 with the motor. Before testing plug in the 12V DC power supply or the Li-Po battery, otherwise the motors won't run. ssh into the Beaglebone blue board and run
 <code> <code>
-debian@beaglebone:$ rc_test_motors -m 1 -d 1+ost@bblue:$ rc_test_motors -m 1 -d 1
 </code> </code>
 //-m 1// selects the first motor while //-d 1// specifies a duty cycle of 1. The motor should run in positive direction. If the motor turns in the opposite direction, change the + and - wire of the motor. You can stop the program by pressing ''Ctrl-C''. The test program is located in ///usr/bin// and can be run from anywhere.  //-m 1// selects the first motor while //-d 1// specifies a duty cycle of 1. The motor should run in positive direction. If the motor turns in the opposite direction, change the + and - wire of the motor. You can stop the program by pressing ''Ctrl-C''. The test program is located in ///usr/bin// and can be run from anywhere. 
Line 15: Line 15:
 There are 4 connectors denoted with //4 Quadrature encoder inputs//. Connect number 1 with your encoder. Make sure that your encoder works with 3.3V as delivered by this connector. Test the encoder with There are 4 connectors denoted with //4 Quadrature encoder inputs//. Connect number 1 with your encoder. Make sure that your encoder works with 3.3V as delivered by this connector. Test the encoder with
 <code> <code>
-debian@beaglebone:$ rc_test_encoders +ost@bblue:$ rc_test_encoders 
 </code> </code>
 Turning the motor in positive direction must lead to the encoder counting upwards. If not, change the A and B signal. Turning the motor in positive direction must lead to the encoder counting upwards. If not, change the A and B signal.
getting_started/tutorials/oneaxis_bbb.txt · Last modified: 2021/02/12 17:22 by ursgraf