Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    ADC Help

    Scheduled Pinned Locked Moved LoPy
    2 Posts 2 Posters 1.1k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      iber
      last edited by iber

      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.

      1. What's the Pin I should pass as argument when I wire my signal to 'G20' on the expansion board.
      2. The ADC will read Voltages between 0 and 1.1V?
      3. 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!

      1 Reply Last reply Reply Quote 0
      • L Offline
        livius
        last edited by

        G20 = P12
        https://docs.pycom.io/pycom_esp32/pycom_esp32/datasheets.html

        look here for attenuation
        https://forum.pycom.io/topic/226/lopy-adcs/14
        3. same as point 2

        think about people first, then computers

        1 Reply Last reply Reply Quote 0

        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
        • 1 / 1
        • First post
          Last post

        Pycom on Twitter

        Pycom