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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login