How to make linear actuators go in both directions? (Using arduino/microcontroller)
You could also use a double-pole, double-throw (DPDT) relay, with PWM controlling the N-MOSFET gate as a speed control. Use another N-MOSFET if needed to energize the relay, can also find 5V relays with low-current coils that Arduino can control directly.







simulate this circuit &ndash; Schematic created using CircuitLab