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

    GPY pin voltage tolerance

    Scheduled Pinned Locked Moved GPy
    3 Posts 2 Posters 319 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.
    • shanefowler25S Offline
      shanefowler25
      last edited by

      Hi,

      I’m thinking of buying a GPy for my IoT application. I was wondering if the GPy GPIO pins are 5v tolerant or 3.3v tolerant?

      My barcode scanner module that I need to use for my application has an operating voltage of 5V and I want to make sure it will operate properly as well as not damage the board.

      The barcode scanner I’m using is here:
      (https://www.waveshare.com/wiki/Barcode_Scanner_Module)

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

        @shanefowler25 The GPy (generally: the ESP32) does not claim 5V tolerance, although there are some contributions in the espressif forum telling that. Generally, if you limit the inrush current, e.g. by a resistor of ~10kOhm, you can safely connect the UART output of your sensor to the RX input. The opposite direction is less of a problem. Only the 3.3V output level of the ESP32 is JUST high enough to be considered as high level input of the 5V domain.
        If you want to be safe, use a level shifter. At 9600 baud and low active logic, a simple one will do.

        1 Reply Last reply Reply Quote 0
        • shanefowler25S Offline
          shanefowler25
          last edited by

          @robert-hh Thank you for the response! I'm going to buy a level shifter from sparkfun and use that for my project. Hopefully that works out for what I'm trying to do and doesn't damage the board.

          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