GPY pin voltage tolerance
-
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) -
@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. -
@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.
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