getting_started:tutorials:oneaxis_cb20
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
getting_started:tutorials:oneaxis_cb20 [2019/10/14 19:51] – graf | getting_started:tutorials:oneaxis_cb20 [2019/10/15 13:00] – [Ready Signal] graf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Experimental Setup with a cb20 Board ====== | ====== Experimental Setup with a cb20 Board ====== | ||
- | Our cb20 controller board ([[http:// | + | Use our [[http:// |
- | Connect all the necessary signals according to your hardware configuration file, notably | + | ===== Analog Output and Enable ===== |
- | * analog output | + | You can test the analog output |
- | * encoder outputs (A/B signals) | + | < |
- | * motor controller ready signal to a digital input | + | $ sudo ./flinkdio -s5 -c0 -wh |
- | * emergency button to a digital input | + | $ sudo ./ |
+ | </ | ||
+ | |||
- | 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. \\ | ||
- | IMPORTANT On the beaglebone blue board, you don't need a motor controller. Hence, you do not need the enable signal. Tie the ready signal to logic one. | ||
+ | ===== 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 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.txt · Last modified: 2019/10/15 13:15 by graf