getting_started:tutorials:oneaxis_cb20
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| getting_started:tutorials:oneaxis_cb20 [2026/05/27 15:41] – [Experimental Setup with a cb20 Board] ursgraf | getting_started:tutorials:oneaxis_cb20 [2026/05/28 14:21] (current) – [Run Application] ursgraf | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| Back to [[oneaxis|]] | Back to [[oneaxis|]] | ||
| - | Use our [[http://wiki.ntb.ch/infoportal/embedded_systems/imx6/cb# | + | Use our [[https://wiki.ost.ch/spaces/EDS/pages/408682789/ |
| - | ===== Analog Output and Enable | + | ===== Testing the Hardware ===== |
| - | You can test the analog output together with the motor controller by applying a positive set voltage. Further, you have to enable the motor. The necessary flink test programs | + | |
| + | ==== Analog Output and Enable ==== | ||
| + | You can test the analog output together with the motor controller by applying a positive set voltage. Further, you have to enable the motor. The necessary flink test programs | ||
| < | < | ||
| $ sudo ./flinkdio -s5 -c0 -wh | $ sudo ./flinkdio -s5 -c0 -wh | ||
| $ sudo ./ | $ sudo ./ | ||
| </ | </ | ||
| - | |||
| - | + | ==== Encoder Inputs ==== | |
| - | ===== Encoder Inputs | + | |
| Check if the encoder is properly connected with: | Check if the encoder is properly connected with: | ||
| < | < | ||
| Line 21: | Line 21: | ||
| 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. | ||
| - | ===== Ready Signal | + | ==== Ready Signal ==== |
| - | The ready signal signals to the controller that the motor controller has powered up. . | + | The ready signal signals to the controller that the motor controller has powered up. |
| - | ===== Emergency Signal | + | ==== Emergency Signal ==== |
| The emergency signal is used to bring the application in a safe mode. We connect this input signal (channel 0 on connector P12 to an external push button. As soon as a logic one is detected on this digital input the safety system is caused to switch to an emergency state. | The emergency signal is used to bring the application in a safe mode. We connect this input signal (channel 0 on connector P12 to an external push button. As soon as a logic one is detected on this digital input the safety system is caused to switch to an emergency state. | ||
| + | |||
| + | =====Run Application===== | ||
| + | |||
| + | Start the application by choosing the appropriate configuration file: | ||
| + | < | ||
| + | $ sudo ./ | ||
| + | </ | ||
| + | |||
| + | |||
getting_started/tutorials/oneaxis_cb20.1779889305.txt.gz · Last modified: by ursgraf
