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 [2026/05/29 12:08] – [Analog Output] ursgraf | getting_started:tutorials:oneaxis_bbb [2026/07/28 10:45] (current) – [Emergency Signal] ursgraf | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Use a [[https:// | Use a [[https:// | ||
| + | {{: | ||
| ===== Testing the Hardware ===== | ===== Testing the Hardware ===== | ||
| Line 27: | Line 28: | ||
| ost@bblue:$ echo 1 | sudo tee / | ost@bblue:$ echo 1 | sudo tee / | ||
| </ | </ | ||
| + | and the motor will finally start to run. | ||
| Line 39: | Line 41: | ||
| There are 4 connectors denoted with //4 Quadrature encoder inputs//. Connect number 1 with your encoder. Make sure that your encoder works with 3.3V as delivered by this connector. Test the encoder with | There are 4 connectors denoted with //4 Quadrature encoder inputs//. Connect number 1 with your encoder. Make sure that your encoder works with 3.3V as delivered by this connector. Test the encoder with | ||
| < | < | ||
| - | ost@bblue: | + | ost@bblue: |
| ost@bblue: | ost@bblue: | ||
| </ | </ | ||
| - | Turning the motor in positive direction must lead to the encoder counting upwards. If not, change the A and B signals. | + | Turning the motor in positive direction must lead to the encoder counting upwards. If not, change the MDIR_1A |
| ==== 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 to the on board push button //Mode//. | + | 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 // |
| + | < | ||
| + | ost@bblue:$ sudo gpioget -c gpiochip1 MODE_BTN | ||
| + | </ | ||
| + | When not pressed, the button is active. Press the button to not start homing or to pause the movements. | ||
| ==== Emergency Signal ==== | ==== 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 // | + | 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 // |
| + | < | ||
| + | ost@bblue:$ sudo gpioget -c gpiochip1 PAUSE_BTN | ||
| + | </ | ||
| =====Run Application===== | =====Run Application===== | ||
getting_started/tutorials/oneaxis_bbb.1780049303.txt.gz · Last modified: by ursgraf
