Main Content

In this tutorial I show you how to control a pull type solenoid switch with a push button using the D1 mini.

Solenoid switches have a wide range of uses from water/air valves to electrical relays. A pull type solenoid could be used as part of a locking mechanism with a button used to retract the pin from a barrel or frame.”

Link to article