3 ms·
Sure, 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
by fullstop 5y ago
Sure, 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.