getting_started:tutorials:oneaxis_bbb
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
getting_started:tutorials:oneaxis_bbb [2019/10/12 19:43] – graf | getting_started:tutorials:oneaxis_bbb [2021/02/12 17:22] (current) – [Experimental Setup with a Beaglebone Blue Board] ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Experimental Setup with a Beaglebone Blue Board ====== | ====== Experimental Setup with a Beaglebone Blue Board ====== | ||
+ | Use a [[https:// | ||
- | * A [[https://wiki.ntb.ch/infoportal/embedded_systems/ | + | ===== Analog Output ===== |
- | * Our cb20 controller board ([[http://wiki.ntb.ch/infoportal/embedded_systems/imx6/cb# | + | There are 4 connectors denoted with //DC Motors//. Connect number 1 with the motor. Before testing plug in the 12V DC power supply or the Li-Po battery, otherwise the motors won't run. ssh into the Beaglebone blue board and run |
+ | < | ||
+ | ost@bblue:$ rc_test_motors -m 1 -d 1 | ||
+ | </code> | ||
+ | //-m 1// selects | ||
- | Connect all the necessary signals according to your hardware configuration file, notably | + | ===== Enable Signal ===== |
- | * analog output and enable signal to the motor controller | + | On the Beaglebone blue we do not use a motor controller |
- | * encoder outputs (A/B signals) to the decoder inputs | + | |
- | * motor controller ready signal | + | |
- | * emergency button to a digital input | + | |
- | IMPORTANT | + | ===== Encoder Inputs ===== |
- | 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. | + | There are 4 connectors denoted with //4 Quadrature encoder inputs//. Connect number 1 with your encoder. |
+ | < | ||
+ | ost@bblue:$ rc_test_encoders | ||
+ | </ | ||
+ | Turning | ||
+ | ===== 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 to the on board push button // | ||
+ | ===== 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_bbb.1570902204.txt.gz · Last modified: 2019/10/12 19:43 by graf