User Tools

Site Tools


getting_started:tutorials:oneaxis_microzed

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_microzed [2026/05/28 13:53] ursgrafgetting_started:tutorials:oneaxis_microzed [2026/06/02 10:18] (current) – [Emergency Signal] ursgraf
Line 4: Line 4:
  
 Use our [[https://wiki.ost.ch/spaces/EDS/pages/342720564/RT-Board|RT-Board]]. It delivers the necessary power on its analog output.  Use our [[https://wiki.ost.ch/spaces/EDS/pages/342720564/RT-Board|RT-Board]]. It delivers the necessary power on its analog output. 
 +{{:getting_started:tutorials:microzedmotor.jpg?400|}}
  
 ===== Testing the Hardware ===== ===== Testing the Hardware =====
Line 21: Line 22:
  
 ==== Enable Output ==== ==== Enable Output ====
-You can test the analog output together with the motor controller by applying a positive set voltage. Furtheryou have to enable the motor. The necessary flink test programs will be automatically transfered when deploying the application as described in [[getting_started:deploy:deploy_cb20|]].+On the RT-board we do not use an external motor controller and thereforewe cannot really control the motor power with this signalHowever, we put the signal onto the //MIO10// output which has a led on the boardCheck the function with
 <code> <code>
-sudo ./flinkdio -s5 -c0 -wh +gpioset -c gpiochip0 10=1
-$ sudo ./flinkanalogoutput -s2 -c0 -o34000+
 </code> </code>
    
 ==== Ready Signal ==== ==== Ready Signal ====
-The ready signal signals to the controller that the motor controller has powered up. +The ready signal is placed on one of the two push button. 
 +<code> 
 +$ gpioget -c gpiochip0 14 
 +</code>
  
 ==== Emergency Signal ===== ==== Emergency Signal =====
 +The second push button causes an emergency signal.
 +<code>
 +$ gpioget -c gpiochip0 14
 +</code>
 +
 +
 +=====Run Application=====
 +
 +Start the application by choosing the appropriate configuration file:
 +<code>
 +$ sudo ./simpleMotorControl -c HwConfigFlinkMicrozed.json
 +</code>
  
-The emergency signal is used to bring the application in a safe modeWe connect this input signal (channel 0 on connector P12 to an external push buttonAs soon as a logic one is detected on this digital input the safety system is caused to switch to an emergency state.+Pay attention to the hardware configuration fileIt loads two hardware wrapper libraries. 
 +  * gpio-eeros: for digital inputs and outputs 
 +  * flink-eeros: for analog output and encoder input
getting_started/tutorials/oneaxis_microzed.1779969198.txt.gz · Last modified: by ursgraf