User Tools

Site Tools


getting_started:tutorials:oneaxis_bbb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
getting_started:tutorials:oneaxis_bbb [2026/05/29 12:08] – [Analog Output] ursgrafgetting_started:tutorials:oneaxis_bbb [2026/06/02 16:55] (current) – [Experimental Setup with a Beaglebone Blue Board] ursgraf
Line 4: Line 4:
  
 Use a [[https://wiki.ost.ch/spaces/EDS/pages/359858325/BeagleBone+Blue|Beaglebone blue]] board. Connect all the necessary signals according to your hardware configuration file. Use a [[https://wiki.ost.ch/spaces/EDS/pages/359858325/BeagleBone+Blue|Beaglebone blue]] board. Connect all the necessary signals according to your hardware configuration file.
 +{{:getting_started:tutorials:bbbmotor.jpg?400|}}
  
 ===== Testing the Hardware ===== ===== Testing the Hardware =====
Line 42: Line 43:
 ost@bblue:~$ watch -n 0.5 cat /sys/bus/counter/devices/counter1/count0/count ost@bblue:~$ watch -n 0.5 cat /sys/bus/counter/devices/counter1/count0/count
 </code> </code>
-Turning the motor in positive direction must lead to the encoder counting upwards. If not, change the and signals.+Turning the motor in positive direction must lead to the encoder counting upwards. If not, change the MDIR_1A and MDIR_1B signals above.
  
 ==== 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 //Mode//
 +<code>
 +ost@bblue:$ sudo gpioget -c gpiochip1 MODE_BTN
 +</code>
  
 ==== 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 //Pause//. Later when the application runs we can cause the safety system to switch to an emergency state by pressing the //Pause// 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 //Pause//. Later when the application runs we can cause the safety system to switch to an emergency state by pressing the //Pause// button.
 +<code> 
 +ost@bblue:$ sudo gpioget -c gpiochip1 PAUSE_BTN 
 +</code>
 =====Run Application===== =====Run Application=====
  
getting_started/tutorials/oneaxis_bbb.1780049303.txt.gz · Last modified: by ursgraf