HOW TO – Connecting a 3.3V device to a 5V microcontroller

Technology
HOW TO – Connecting a 3.3V device to a 5V microcontroller

St-1
Spark Fun has a simple breakdown of the various ways to interface 3.3V logic devices to 5V logic devices –

If you’ve ever tried to hook up a 3.3V sensor to a 5V micro, you know what I’m talking about – connecting these two can be a problem! There are several ways in which a 3.3V device can be safely connected to a 5v microcontroller. This tutorial will detail a few ways in which this can be accomplished.

Below is an example of how NOT to connect a 3.3V device (like the SCP1000-D01 pressure sensor with SPI interface) to a 5V microcontroller (like a PIC or AVR running at 5V). Although you may experience normal operating conditions, the lifespan of your 3.3V device will be dramatically shortened.

Spark Fun Electronics – Link.

What will the next generation of Make: look like? We’re inviting you to shape the future by investing in Make:. By becoming an investor, you help decide what’s next. The future of Make: is in your hands. Learn More.

Tagged

current: @adafruit - previous: MAKE, popular science, hackaday, engadget, fallon, braincraft ... howtoons, 2600...

View more articles by Phillip Torrone
Discuss this article with the rest of the community on our Discord server!

ADVERTISEMENT

Escape to an island of imagination + innovation as Maker Faire Bay Area returns for its 16th iteration!

Prices Increase in....

Days
Hours
Minutes
Seconds
FEEDBACK