* Add vitepress tree * Update existing workflows so they dont trigger on changes in the docs path * Add nojekyll, package.json, LICENCE etc * Add crowdin docs upload/download scripts * Add docs flaw checker workflows * Used docs prefix for docs workflows * Crowdin obvious fixes * ci: docs move to self hosted runner runs on a beefy server for faster builds Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: don't run build action for docs or ci changes Signed-off-by: Ramon Roche <mrpollo@gmail.com> * ci: update runners Signed-off-by: Ramon Roche <mrpollo@gmail.com> * Add docs/en * Add docs assets and scripts * Fix up editlinks to point to PX4 sources * Download just the translations that are supported * Add translation sources for zh, uk, ko * Update latest tranlsation and uorb graphs * update vitepress to latest --------- Signed-off-by: Ramon Roche <mrpollo@gmail.com> Co-authored-by: Ramon Roche <mrpollo@gmail.com>
3.9 KiB
PWM Сервопривод
This section explains how to connect and configure a gripper that is controlled using a flight controller PWM output (a servo actuator).
Підтримувані захвати
Наступні сервоприводи, підключені за допомогою ШІМ, були протестовані з PX4:
Підключення маніпулятора з керуванням ШІМ
Кабель ШІМ складається з трьох ліній: живлення, земля та сигнал. Типовий роз'єм показаний на зображенні нижче:
На зображенні вище кольори проводів мають наступні значення:
| Колір проводу | Ціль |
|---|---|
| Brown | Ground |
| Red | Power |
| Yellow | Сигнал PWM |
Вам потрібно буде підключити їх до відповідного входу PWM контролера польоту.
Перевірка сумісності
Перед підключенням кабелю перевірте наступні вимоги:
- Signal line voltage level: Check the data-sheet of your gripper mechanism to find the voltage level of the signal line. І переконайтеся, що це сумісно з рівнем напруги контактів вашого контролера польоту.
- Power requirements of gripper: Check the mechanism's data-sheet to find out the power line voltage level requirements. Depending on that, the gripper can be either connected directly to the power module or connected to a 5V line. Також можна використовувати спеціалізований регулятор напруги для виведення будь-якої іншої необхідної напруги.
Конфігурація PX4
Configuration instructions can be found in: Gripper > PX4 Configuration documentation.
Зокрема, зверніть увагу, що серводатчик повинен бути відображений на вивід, як показано нижче.
Відображення активатора
PWM servo grippers, and other peripherals connected directly to PWM outputs, must be mapped to specific outputs during Actuator Configuration.
This is done by assigning the Gripper function to the to the output port where the gripper is connected.
For example, the image below assigns Gripper to the PWM AUX5 output.
Вам також потрібно встановити правильну частоту ШІМ для вихідного порту захоплювача (для комерційних сервоприводів / захоплювачів це зазвичай 50 Гц).
:::info Mis-configuring the frequency may damaging the gripper. :::
The sliders in the Actuator Testing section of the configuration screen can be used to verify that the correct output moves when you move the slider. Мінімальні та максимальні значення ШІМ повинні бути встановлені так, щоб сервопривід був повністю закритий у відключеному положенні і повністю відкритий в максимальному положенні слайдера.


