May this thread can be of assistance
https://forum.arduino.cc/t/a-powerful-30a-dc-motor-driver-using-power-mosfets-pwm-controlled-half-bridge/602140
...