How To Control A Solenoid With A Raspberry Pi Using a Relay

In this setup is it possible to use raspberry Pico instead of Raspberry Pi 3/4 ?

2 Likes