Become a leader in the IoT community!
New DevHeads get a 320-point leaderboard boost when joining the DevHeads IoT Integration Community. In addition to learning and advising, active community leaders are rewarded with community recognition and free tech stuff. Start your Legendary Collaboration now!
So this might be a silly/obvious answer, and you might have good reasons for not doing so, but would it be possible to run the reed switch directly from VCC to 1? I see you already have a pullup on that line though, so wouldn’t it output high at 1 normally?
There are also NC/NO reed switches, so *switching* that out for where you have one type of reed switch currently might be a good solution. Again, depending on needs/circuit considerations.
That would be the greatest thing to do for someone lazy like me 😂… sometimes I overcomplicat things where the solution is obvious…. It would be a good idea because I will use it for ESP32 digital input…. So thank you Jeremy!
Ha, well glad I could help! It’s amazing how many times we (I) miss the obvious stuff – e.g. is it plugged in?
CONTRIBUTE TO THIS THREAD