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

    Pytrack External IO Pins can be used?

    Scheduled Pinned Locked Moved Expansion Board
    3 Posts 2 Posters 36 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.
    • S Offline
      somervda
      last edited by

      I am using the EXT IO pins on the pytrack board (From the "External IO Header"). I have been trying to select 3 of the EXT_IO pins to use to measure voltages, however they seem to be in use (or have preset values) Voltage measurements on IO 0 and 2 are pulled down to ground by default and IO 4 is at 2.5V. I have not yet set them for use as input IO but am now worried they are predefined as output IO? Am I free to play with the IO header pins and use them for input without impacting other functionality on the pytrack board (Within normal operating tolerances of the board) ?

      robert-hhR 1 Reply Last reply Reply Quote 0
      • robert-hhR Offline
        robert-hh @somervda
        last edited by robert-hh

        @somervda When you say "measure voltages", do you mean analog voltage? That will not be possible. No pin on the external IO header can be used as analog input. Only ADC1 is available with the MicroPython firmware. Using ADC2 is not possible.
        You can however use an external ADC like the ADS1115 and talk to it via I2C.

        S 1 Reply Last reply Reply Quote 1
        • S Offline
          somervda @robert-hh
          last edited by

          @robert-hh Thanks Robert, sounds like I will need to rethink how I do what I am planning and use I2C like you say. You saved me some time.

          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