M0138 protocol
-
Hello,
We are interested in ESC 4in1 - M0138. We have a couple of questions regarding how to control it:
Please advise if it is possible to control it via PWM or only via UART
And what UART protocol is used?Thanks!
Victor
-
Hello,
We are interested in ESC 4in1 - M0138. We have a couple of questions regarding how to control it:
Please advise if it is possible to control it via PWM or only via UART
And what UART protocol is used?Thanks!
Victor
Hello @LV-Office-Holder,
The M0138 racing ESC only has two I/O pins and they are used for aux PWM output. PWM input is disabled for this ESC due to lack of PWM input for each ESC channel.
The ESC protocol example can be found here : https://gitlab.com/voxl-public/support/esc-driver as well as part of PX4 implementation : https://github.com/modalai/px4-firmware/tree/voxl-dev/src/drivers/actuators/voxl_esc . I would suggest referencing the PX4 implementation since it has the latest updates.
Additionally, we have
voxl-esctest tools (python) : https://gitlab.com/voxl-public/voxl-sdk/utilities/voxl-esc . The test tools allow you to spin motors, plot data, perform firmware and parameter updates.Please let me know if you have any other questions.
Alex
Reading along? Create a free ModalAI Forum account to join in.
With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.
Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.
Register Login