2 ms·
Care to elaborate more on the IR sensor for a water softener? I had thought of doing something similar but with ultrasonic for level. I'm curious what you are d
by blackfawn 5y ago
Care to elaborate more on the IR sensor for a water softener? I had thought of doing something similar but with ultrasonic for level. I'm curious what you are doing with IR. I suppose resistance could be used based on dissolved salt but I like the non-contact options, when possible.
- fullstop 5y agoSure, it's purely optical. I don't know if this was the exact sensor since I salvaged it off of something else, but it was something like this one: https://www.amazon.com/dp/B075FPR2VX/ https://www.amazon.com/dp/B075FPR2VX/ It's hooked up to the ADC of the ESP8266, and thankfully the output was between 0 and 3.3V since that's the range that the Wemos D1 boards can accept, as they have a built in voltage divider. It's measuring the distance between the lid and whatever reflects the IR back.