Autonomous lawn mower project using a Pixhawk and BTS7960

Hello, I am a university student in Thailand. Currently, I am working on an autonomous lawn mower project using a Pixhawk and BTS7960. I have tried many methods but still cannot control it properly. I am not sure if the wiring is correct or if I configured it incorrectly. Could you please guide me on how to wire the circuit and set it up in Mission Planner?

Hello, the main issue when pairing Pixhawk with BTS7960 drivers is the PWM frequency mismatch. Pixhawk typically outputs low frequencies around 50-400Hz, whereas high-current drivers like the BTS7960 require high frequencies between 15-25 kHz to operate efficiently. If your motors are just buzzing without moving, this is why. To fix this, try setting MOT_PWM_TYPE to 3 (Brushed Bi-Polar) in ArduRover parameters and increase RC_SPEED to 400Hz. On the hardware side, ensure the R_EN and L_EN pins on the BTS7960 are tied to 5V to enable the driver. If software tweaks aren’t enough, the ultimate solution is using an Arduino Nano as a signal converter to translate Pixhawk’s output into high-frequency PWM. Always double-check your common ground (GND) and remove the blades for safety during testing.