A Raspberry Pi Pico and KY-021 Mini Magnetic Reed Switch
In this article, we connect a KY-021 Mini Magnetic Reed Switch to a Raspberry Pi Pico, any Rp2040 type board will be suitable. We actually tested this with a Cytron Maker Pi Pico We will use Micropython for these examples but of course you can…