User Tools

Site Tools


test

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
test [2021/03/31 18:27] – [LEDs and buttons] ursgraftest [2021/10/06 11:15] (current) – [Encoders] ursgraf
Line 4: Line 4:
 Before testing your assembled electronics plug in the 12V DC power supply or the Li-Po battery, otherwise the motors won't run. We will now test each component individually. ssh into the BeagleBone blue board and run Before testing your assembled electronics plug in the 12V DC power supply or the Li-Po battery, otherwise the motors won't run. We will now test each component individually. ssh into the BeagleBone blue board and run
 <code> <code>
-ost@bblue:$ rc_test_motors -m 1 -d 1+ost@bblue:sudo 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 lift its bar. If a 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. Check this for all 3 motors. //-m 1// selects the first motor while //-d 1// specifies a duty cycle of 1. The motor should lift its bar. If a 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. Check this for all 3 motors.
 <code> <code>
-ost@bblue:$ rc_test_motors -m 2 -d 1 +ost@bblue:sudo rc_test_motors -m 2 -d 1 
-ost@bblue:$ rc_test_motors -m 3 -d 1+ost@bblue:sudo rc_test_motors -m 3 -d 1
 </code> </code>
  
Line 15: Line 15:
 ssh into the BeagleBone blue board and run: ssh into the BeagleBone blue board and run:
 <code> <code>
-ost@bblue:$ rc_test_encoders +ost@bblue:sudo rc_test_encoders 
 </code> </code>
-If you move the axis you should see encoder values changing. +If you move the axis you should see encoder values changing. 
 ==== LEDs and buttons ==== ==== LEDs and buttons ====
 Next we want to check if all leds and buttons work as desired. Change to root mode  Next we want to check if all leds and buttons work as desired. Change to root mode 
Line 91: Line 90:
 Check the direction of the encoders. Lower your TCP and run Check the direction of the encoders. Lower your TCP and run
 <code> <code>
-debian@beaglebone:$ rc_test_encoders +ost@bblue:$ rc_test_encoders 
 </code> </code>
 on your target. When raising the TCP the encoder values should be positive. Change each negative encoder in the //HwConfigBBBlue.json// from on your target. When raising the TCP the encoder values should be positive. Change each negative encoder in the //HwConfigBBBlue.json// from
test.1617208025.txt.gz · Last modified: 2021/03/31 18:27 by ursgraf