Become a leader in the IoT community!
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
Join our community of embedded and IoT practitioners to contribute experience, learn new skills and collaborate with other developers with complementary skillsets.
I’m using a circuit that gives a LOW output on D when a magnet passes by the reed switch. Is there a way to make it output HIGH instead? (HIGH being 3.3V, which is the voltage I’m powering the circuit with).
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