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/14 19:51] – 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 ====== | ||
| - | Our cb20 controller board ([[http:// | ||
| - | Connect all the necessary signals according | + | Back to [[oneaxis|]] |
| - | * analog output and enable signal to the motor controller | + | |
| - | * encoder outputs (A/B signals) to the decoder inputs | + | |
| - | * motor controller ready signal to a digital input | + | |
| - | * emergency button to a digital input | + | |
| - | IMPORTANT Make sure that a positive voltage on the motor leads to the encoder counting upwards. If the opposite is the case, either change the cables or change the hardware configuration file. \\ | + | Use our [[https:// |
| - | IMPORTANT On the beaglebone blue board, you don't need a motor controller. | + | |
| + | ===== 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 are included in our image. | ||
| + | < | ||
| + | $ sudo ./flinkdio -s5 -c0 -wh | ||
| + | $ sudo ./ | ||
| + | </ | ||
| + | |||
| + | ==== Encoder Inputs ==== | ||
| + | Check if the encoder is properly connected with: | ||
| + | < | ||
| + | $ sudo ./ | ||
| + | </ | ||
| + | Turning the motor in positive direction must lead to the encoder counting upwards. If not, change the A and B signal. | ||
| + | |||
| + | ==== Ready Signal ==== | ||
| + | The ready signal signals to the controller that the motor controller has powered up. | ||
| + | |||
| + | ==== 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. | ||
| + | |||
| + | =====Run Application===== | ||
| + | |||
| + | Start the application by choosing the appropriate configuration file: | ||
| + | < | ||
| + | $ sudo ./ | ||
| + | </ | ||
getting_started/tutorials/oneaxis_cb20.1571075505.txt.gz · Last modified: by graf
