Are Itsybitsy M4 I/O pins 5V tolerable?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- gremlininusa
- Posts: 7
- Joined: Tue Mar 28, 2023 2:11 am
Are Itsybitsy M4 I/O pins 5V tolerable?
Hi, I have a ItsyBitsy M4. It is powered from USB (5V). I connected a push button to pin 3. One end of the button is connected to USB pin, while the other end of the button is connected to pin3 (and pin 3 is also connected to GND). This is the typical connection of a button. I ran a basic button debounce sketch, and it seemed to be working. Then my coworker reminded me that the GPIO pins are 3.3V. Now I worry that I may have damaged the GPIO pin. The Adafruit ItsyBitsy M4 manual says those GPIO pins are 3.3V. Does it mean they are not 5V tolerable? Thanks.
- barshatriplee
- Posts: 200
- Joined: Wed Mar 22, 2023 10:11 am
Re: Are Itsybitsy M4 I/O pins 5V tolerable?
Adafruit ItsyBitsy M4 is a 3.3V power and logic-compatible board. If you want to give it 5V, you need to use a logic-level converter in between.
- Franklin97355
- Posts: 23940
- Joined: Mon Apr 21, 2008 2:33 pm
Re: Are Itsybitsy M4 I/O pins 5V tolerable?
This is the general purpose I/O pin set for the microcontroller. All logic is 3.3V. You can usually use 3V logic as an input to 5V, but the 3V Itsy pins should not be connected to 5V! You might consider connecting the switch to the 3v pin or using ground instead.
- gremlininusa
- Posts: 7
- Joined: Tue Mar 28, 2023 2:11 am
Re: Are Itsybitsy M4 I/O pins 5V tolerable?
Thank you so much for the answers.
Please be positive and constructive with your questions and comments.