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

Next revision
Previous revision
Next revisionBoth sides next revision
getting_started:tutorials:oneaxis_bbb [2019/10/12 19:28] – created grafgetting_started:tutorials:oneaxis_bbb [2019/10/14 17:21] – [Enable Signal] graf
Line 1: Line 1:
-====== Headline ======+====== Experimental Setup with a Beaglebone Blue Board ====== 
 +Use a [[https://wiki.ntb.ch/infoportal/embedded_systems/ti_sitara_am335x/beaglebone_blue/start|Beaglebone Blue]]. Connect all the necessary signals according to your hardware configuration file.
  
-  * A [[https://wiki.ntb.ch/infoportal/embedded_systems/ti_sitara_am335x/beaglebone_blue/start|Beaglebone Blue]] board together with the appropriate EEROS hardware wrappersee [[eeros_architecture:hal:hardware_libraries#beaglebone_blue|Hardware Wrapper Libraries]]Please follow the instructions in [[https://wiki.ntb.ch/infoportal/software/linux/beagleboneblue]] to install the necessary toolchain before you install EEROS. +===== Analog Output ===== 
-  * Our cb20 controller board ([[http://wiki.ntb.ch/infoportal/embedded_systems/imx6/cb#cb20_board|]] together with [[http://www.flink-project.ch|]] and the appropriate EEROS hardware wrapper, see [[eeros_architecture:hal:hardware_libraries#flink|]].+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 batteryotherwise the motors won't runssh into the Beaglebone blue board and run 
 +<code> 
 +debian@beaglebone:$ rc_test_motors -m 1 -d 1 
 +</code> 
 +//-m 1// selects the first motor while //-d 1// specifies a duty cycle of 1The motor should run in positive directionIf the motor turns in the opposite direction, change the + and - wire of the motor. You can stop the program by pressing ''Ctrl-C''. The test program is located in ///usr/bin// and can be run from anywhere
  
-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 and therefore, we do not use this signal. However, we put the signal onto the green led on the board.
-  * 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 caseeither change the cables or change the hardware configuration file\\ +===== 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. Make sure that your encoder works with 3.3V as delivered by this connector. Test the encoder with 
 +<code> 
 +debian@beaglebone:$ rc_test_encoders  
 +</code> 
 +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 upAs 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// 
 + 
 +===== 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  
 + 
 +  * emergency button to a digital input
  
  
getting_started/tutorials/oneaxis_bbb.txt · Last modified: 2021/02/12 17:22 by ursgraf