# Driving M0134 ESC

Source: https://forum.modalai.com/topic/3069/driving-m0134-esc
Category: ESCs, Sensors and Accessories (https://forum.modalai.com/category/15/escs-sensors-and-accessories)
Tags: esc
Posted: 2024-01-30 03:59:03 UTC by MChehadeh
Replies: 5 · Views: 1007

## MChehadeh · 2024-01-30 03:59:03 UTC

Hi,
I did a successful spin-up of a motor with ModalAI M0134 ESC using UART. However, when trying to drive the ESC by PWM signals (used 400Hz, 1ms-2ms) the motors are not rotating and the ESC seems not to have any response to the PWM command.

I checked the PWM signal with logic analyzer and all looks alright. I have double checked the pinout connection and found all good. What am I missing?

The ESC I am using is Model M0134 REV A, M2300000N6A. The firmware loaded is modalai_esc_firmware_m0134_1_v0_39_RC9_d4fe8e3d.bin

Thank you!

## Reply by Moderator (ModalAI staff) · 2024-01-30 04:00:40 UTC

@MChehadeh The ESC does not support PWM as input, only UART

## Reply by MChehadeh · 2024-01-30 04:31:55 UTC (in reply to Moderator)

@Moderator Thanks for the quick response,,

The datasheet says it is supported: https://docs.modalai.com/modal-esc-datasheet/ ; where it reads: "PWM input supporting 1-2ms and OneShot125 (more protocols coming soon)"

## Reply by Alex Kushleyev (ModalAI staff) · 2024-01-30 16:00:25 UTC (in reply to MChehadeh)

@MChehadeh , sorry about that. We have disabled the feature because it has not been used by our customers for a long time. If you really need it, we can re-enable it for you for testing purposes. However, please be aware that pwm input not being actively tested by our test team and we cannot guarantee performance.

If you still would like to use the pwm input (1-2ms), I can make a special firmware build for you (based on the latest firmware)

Alex

## Reply by MChehadeh · 2024-02-01 08:05:02 UTC (in reply to Alex Kushleyev)

@Alex-Kushleyev No worries. I got things running through serial with KakuteH7 and fmuv6x flight contollers. No all seems good

## Reply by Alex Kushleyev (ModalAI staff) · 2024-02-02 15:46:32 UTC (in reply to MChehadeh)

@MChehadeh , thank you for being flexible
