ntb:build
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ntb:build [2021/06/11 16:04] – [Hardware Configuration Files] ursgraf | 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@bblue: | + | ost@bblue: |
| - | root@bblue: | + | |
| </ | </ | ||
| - | The TCP motor should turn clockwise with the command | + | The TCP motor should turn clockwise with the commands |
| < | < | ||
| - | ost@bblue:$ sudo rc_test_motors | + | ost@bblue:$ sudo gpioset |
| + | </ | ||
| + | and | ||
| + | < | ||
| + | ost@bblue:$ sudo gpioset | ||
| + | </ | ||
| + | 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 ====== | ====== Hardware Configuration Files ====== | ||
| The git repository includes a directory // | The git repository includes a directory // | ||
| < | < | ||
| - | $ scp delta-ntb/ | + | $ scp delta-ntb/ |
| - | $ scp delta-ntb/ | + | $ scp delta-ntb/ |
| </ | </ | ||
| Replace the ' | Replace the ' | ||
ntb/build.1623420287.txt.gz · Last modified: by ursgraf
