Okay really need help on constructing a MOSFET based H-bridge circuit with a switch. I've got two p type and two n type mosfets.
I understand you have to apply voltage to the gates to turn the transistors on but I'm not sure how you turn certain transistors ON while leaving others OFF.
Also wiring and connecting the circuit up on a breadboard, I get you should have a resistor before the gate to protect the transistors? And I believe the source pin of the MOSFET just connects to ground? Does the drain just connect to the motor? Having trouble understand how and where to connect the components. Also need to incorporate a switch that allows the direction of the motor to be selected. Please I need some help, backed into a corner here!