ntb:build
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ntb:build [2020/01/24 11:10] – [Build the Software] graf | ntb:build [2026/06/03 15:11] (current) – [Test the Hardware] ursgraf | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| The same tests as [[..:: | The same tests as [[..:: | ||
| - | The NTB version of the Delta has a target tool point (TCP) with a motor and a magnet. The magnet can be operated as follows | + | The NTB version of the Delta has a target tool point (TCP) with a motor and a magnet. The magnet can be operated as follows: |
| < | < | ||
| - | root@beaglebone:$ cd / | + | ost@bblue:$ echo 1 | sudo tee / |
| - | root@beaglebone: | + | |
| </ | </ | ||
| - | The TCP motor should turn clockwise with the command | + | The TCP motor should turn clockwise with the commands |
| < | < | ||
| - | debian@beaglebone:$ rc_test_motors | + | ost@bblue:$ sudo gpioset |
| </ | </ | ||
| + | and | ||
| + | < | ||
| + | ost@bblue:$ sudo gpioset -c gpiochip1 MDIR_4B=0 | ||
| + | </ | ||
| + | Changing the polarity of MDIR_4A and MDIR_4B will change the direction. In a further shell, configure the pwm signal as follows: | ||
| + | < | ||
| + | ost@bblue:$ echo 1 | sudo tee / | ||
| + | ost@bblue:$ echo 1000000 | sudo tee / | ||
| + | ost@bblue:$ echo 500000 | sudo tee / | ||
| + | ost@bblue:$ echo 1 | sudo tee / | ||
| + | </ | ||
| + | |||
| + | The counter0 for the TCP encoder does not have to be enabled. Watch the counter with | ||
| + | < | ||
| + | ost@bblue:$ watch -n 0.5 cat / | ||
| + | </ | ||
| + | If you move the axis you should see counter values changing. Check the direction of the encoder. | ||
| + | Turn the TCP clockwise and the encoder values should be positive. If not, change the hardware configuration in // | ||
| + | ====== Hardware Configuration Files ====== | ||
| + | The git repository includes a directory // | ||
| + | |||
| + | < | ||
| + | $ scp delta-ntb/ | ||
| + | $ scp delta-ntb/ | ||
| + | </ | ||
| + | Replace the ' | ||
ntb/build.1579860656.txt.gz · Last modified: by graf
