test
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| test [2021/03/31 18:27] – [LEDs and buttons] ursgraf | test [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 | ||
| < | < | ||
| - | ost@bblue:$ rc_test_motors -m 1 -d 1 | + | ost@bblue: | 
| </ | </ | ||
| //-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 '' | //-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 '' | ||
| < | < | ||
| - | ost@bblue:$ rc_test_motors -m 2 -d 1 | + | ost@bblue: | 
| - | ost@bblue:$ rc_test_motors -m 3 -d 1 | + | ost@bblue: | 
| </ | </ | ||
| Line 15: | Line 15: | ||
| ssh into the BeagleBone blue board and run: | ssh into the BeagleBone blue board and run: | ||
| < | < | ||
| - | ost@bblue:$ rc_test_encoders | + | ost@bblue: | 
| </ | </ | ||
| - | 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 | ||
| < | < | ||
| - | debian@beaglebone:$ rc_test_encoders | + | ost@bblue:$ rc_test_encoders | 
| </ | </ | ||
| on your target. When raising the TCP the encoder values should be positive. Change each negative encoder in the // | on your target. When raising the TCP the encoder values should be positive. Change each negative encoder in the // | ||
test.1617208025.txt.gz · Last modified: 2021/03/31 18:27 by ursgraf
                
                