Yup, I was trying to detect a bullet. But testing with a finger flick to see if it could handle that.Which on a 38MHz Arduino is (if I don’t have a math error) is 26μS. Should be fast enough for your finger flick. Maybe fast enough for a bullet. Are you trying to detect a bullet?
Currently, setting the pin detections to Digital instead of Analog looks promising. If when I get to bullet phase of tests I'll see if it needs even further tweaking.
I'll have to figure out how to build a circuit to show you all on here.Please post the complete schematic for the circuit you have now. It is entirely possible that a simple component change will solve the problem.
ak
18 posts and counting . . .
But it's simply 2 IR LED's with the receiver sending a signal to the GPIO pin. Some slow code is the first culprit. I found this reference which should let me speed it up. I'll get you a schematic when I figure out where to build one to show.
https://www.reddit.com/r/esp32/comments/f529hf
