getting_started:tutorials:oneaxis_microzed
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| getting_started:tutorials:oneaxis_microzed [2026/05/28 14:16] – [Enable Output] ursgraf | getting_started:tutorials:oneaxis_microzed [2026/06/02 10:18] (current) – [Emergency Signal] ursgraf | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Use our [[https:// | Use our [[https:// | ||
| + | {{: | ||
| ===== Testing the Hardware ===== | ===== Testing the Hardware ===== | ||
| Line 21: | Line 22: | ||
| ==== Enable Output ==== | ==== Enable Output ==== | ||
| - | Todo | + | On the RT-board we do not use an external motor controller and therefore, we cannot really control the motor power with this signal. However, we put the signal onto the //MIO10// output which has a led on the board. Check the function with |
| + | < | ||
| + | $ gpioset -c gpiochip0 10=1 | ||
| + | </ | ||
| ==== Ready Signal ==== | ==== Ready Signal ==== | ||
| - | The ready signal | + | The ready signal |
| + | < | ||
| + | $ gpioget -c gpiochip0 14 | ||
| + | </ | ||
| ==== Emergency Signal ===== | ==== Emergency Signal ===== | ||
| + | The second push button causes an emergency signal. | ||
| + | < | ||
| + | $ gpioget -c gpiochip0 14 | ||
| + | </ | ||
| - | The emergency signal is used to bring the application in a safe mode. We connect this input signal (channel 0 on connector P12 to an external push button. As soon as a logic one is detected on this digital input the safety system is caused to switch to an emergency state. | ||
| =====Run Application===== | =====Run Application===== | ||
| Line 37: | Line 47: | ||
| </ | </ | ||
| + | Pay attention to the hardware configuration file. It loads two hardware wrapper libraries. | ||
| + | * gpio-eeros: for digital inputs and outputs | ||
| + | * flink-eeros: | ||
getting_started/tutorials/oneaxis_microzed.1779970566.txt.gz · Last modified: by ursgraf
