Use ADC with threshold instead of digital input #18
digitalbirdo
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Yes, that sounds like a good idea. I will have some thoughts about it. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I had a lot of trouble correctly adjusting the potentiometer on the TCRT5000. Even a modification to a Schmitt-Trigger did not help to get consistant results.
I did a quick hack to read the analog output of the TCRT5000 and switch an output pin to on/off.
I connected GPIO4 diretcly to GPIO5.
It would be a bit nicer to have the possibility of an ADC as an input with an configurable threshold instead of fiddling around with the potentiometer :)
Beta Was this translation helpful? Give feedback.
All reactions