I am trying to make a circuit so I can use an arduino to change the rotation of a dc motor , so I am thinking about using an H-bridge made of a DPDT relay connected to the arduino. Would it work? Also can u draw me a diagram of how a DPDT relay H bridge would look like?
This will reverse the direction of the motor. The separate switch MOSFET is used to turn the motor on and off, or control the speed via PWM.
If the motor is reversed while it is still spinning it will be braked by D1 even if the MOSFET is off (and you would probably want to ensure that it is off until the motor is stopped).