I need help with designing a circuit that contains a magnetic reed switch, LED light, and nodeMCU.
B Thread Starter Bassam070 Joined Nov 6, 2019 2 Nov 6, 2019 #1 I need help with designing a circuit that contains a magnetic reed switch, LED light, and nodeMCU.
B Thread Starter Bassam070 Joined Nov 6, 2019 2 Nov 7, 2019 #4 I tried to use a tact switch instead of the magnetic reed switch. but the thing it did not work.
Bernard Joined Aug 7, 2008 5,784 Nov 7, 2019 #5 You could start with a form A, NO reed SW connected to common & a resistor ( 500 ohm ) other end to + supply (+5 V ). The juncture to MCU which would output state via LED. No magnet , LED on, magnet in place LED off.
You could start with a form A, NO reed SW connected to common & a resistor ( 500 ohm ) other end to + supply (+5 V ). The juncture to MCU which would output state via LED. No magnet , LED on, magnet in place LED off.