Controlling 12/24V DC motor - mosfet circuit

I would DIY, see these two examples:


AND