Any experience on driving brushed motor using Pixhawk/PX4

Hi everyone,

Could anyone help me with how to drive a brushed motor from the Pixhawk ? I would like to use the following motor: 2,737 RPM Premium Planetary Gear Motor w/Encoder - ServoCity

The communication with the motor should be as low latency as possible since this it will be used for control. Does anyone know if this is possible and how I can setup such a communication ?

Best regards,

Is this just a brushed DC motor? So you would need a brushed ESC like these? Car Brushed ESC | Electronic Speed Controller | RC Hobbies

1 Like

Ok that seems to make sense. Do you know how I could get feedback from the motor - we are implementing it with an encoder and limit switches ? Can this be read into PX4 using I2C ? Or is there a simpler way to do this.

Thanks for your help !

If the encoder is I2C you can write a driver in PX4 by copying and adapting an existing I2C driver.