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 13:48] – [Analog Output and Enable] 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:// | ||
| - | ===== Analog Output | + | {{: |
| - | You can test the analog output together | + | |
| + | ===== Testing the Hardware ===== | ||
| + | |||
| + | ==== Analog Output ==== | ||
| + | You can test the analog output together by applying a positive set voltage | ||
| < | < | ||
| - | $ sudo ./flinkdio -s5 -c0 -wh | + | $ flinkanalogoutput -s2 -c0 -o35000 |
| - | $ sudo ./flinkanalogoutput -s2 -c0 -o34000 | + | |
| </ | </ | ||
| - | ===== Analog Output and Enable ===== | + | ==== Encoder Inputs |
| - | You can test the analog output together | + | Check if the encoder is properly connected |
| < | < | ||
| - | $ sudo ./ | + | $ flinkcounter |
| - | $ sudo ./flinkanalogoutput -s2 -c0 -o34000 | + | </code> |
| + | Turning the motor in positive direction must lead to the encoder counting upwards. If not, change the A and B signal. | ||
| + | |||
| + | ==== Enable Output ==== | ||
| + | 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 | ||
| </ | </ | ||
| + | ==== Ready Signal ==== | ||
| + | The ready signal is placed on one of the two push button. | ||
| + | < | ||
| + | $ gpioget -c gpiochip0 14 | ||
| + | </ | ||
| - | + | ==== Emergency Signal | |
| - | ===== Encoder Inputs | + | The second push button causes an emergency signal. |
| - | Check if the encoder is properly connected with: | + | |
| < | < | ||
| - | $ sudo ./ | + | $ gpioget |
| </ | </ | ||
| - | 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 up. . | ||
| - | ===== Emergency Signal | + | =====Run Application===== |
| + | |||
| + | Start the application by choosing the appropriate configuration file: | ||
| + | < | ||
| + | $ sudo ./ | ||
| + | </ | ||
| - | 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. | + | Pay attention |
| + | * gpio-eeros: for digital | ||
| + | * flink-eeros: | ||
getting_started/tutorials/oneaxis_microzed.1779968939.txt.gz · Last modified: by ursgraf
