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 [2019/10/15 12:59] – [Encoder Inputs] graf | getting_started:tutorials:oneaxis_cb20 [2026/05/28 14:21] (current) – [Run Application] ursgraf | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Experimental Setup with a cb20 Board ====== | ====== Experimental Setup with a cb20 Board ====== | ||
| - | Use our [[http:// | ||
| - | ===== Analog Output and Enable | + | Back to [[oneaxis|]] |
| - | 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 | + | |
| + | Use our [[https:// | ||
| + | |||
| + | ===== Testing the Hardware ===== | ||
| + | |||
| + | ==== 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 18: | 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. As there is no external motor controller on the Beaglebone blue we simply put this signal on a digital input pin which is connected | + | The ready signal signals to the controller that the motor controller has powered up. |
| + | |||
| + | ==== Emergency Signal ==== | ||
| + | |||
| + | The emergency signal | ||
| + | |||
| + | =====Run Application===== | ||
| + | |||
| + | Start the application by choosing the appropriate configuration file: | ||
| + | < | ||
| + | $ sudo ./simpleMotorControl -c HwConfigFlinkCB20.json | ||
| + | </ | ||
| - | ===== Emergency Signal ===== | ||
| - | The emergency signal is used to bring the application in a safe mode. We put this input signal on a digital input pin which is connected to the on board push button //Pause//. Later when the application runs we can cause the safety system to switch to an emergency state by pressing the //Pause// button. | ||
getting_started/tutorials/oneaxis_cb20.1571137162.txt.gz · Last modified: by graf
