ADC Help
-
Guys, I'm trying to use a HRM on my LoPy.
After digging through the documentation I guess I'll need to use the ADC to read the analog values coming from my HRM sensor.Unfortunately after some experiments using a potentiometer I still don't fully understand it.
I used this potentio since it gives me a stable analog output that I can verify with my Voltmeter.- What's the Pin I should pass as argument when I wire my signal to 'G20' on the expansion board.
- The ADC will read Voltages between 0 and 1.1V?
- Will it be able to read up to 3.3V?
Can somebody give some more info on that and maybe toss in a detailed code example?
Thx in advance!
-
G20 = P12
https://docs.pycom.io/pycom_esp32/pycom_esp32/datasheets.htmllook here for attenuation
https://forum.pycom.io/topic/226/lopy-adcs/14
3. same as point 2