How to wire a Rpi, a relay, a DPDT and a PWM module to a DC motor, allowing to control its direction and speed? - Electrical Engineering Stack Exchange
python - Why can't I control solenoid valve using Raspberry Pi? - Raspberry Pi Stack Exchange
Using raspberry pi to control pump and solenoid valve | All About Circuits