Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

Sharing data between a 5V device and a 3.3V device

Status
Not open for further replies.

mik3ca

Member
I have a microcontroller and am considering buying a radio module. Every module I find online has a maximum operating voltage of 3.9. My microcontroller runs at 5V.

I want to be able to exchange data between both devices but I'm afraid if I hook up the pins directly then I'd blow up the radio module since it can't handle 5V.

I heard about level converters but I'm not sure which IC to buy. I'd rather buy something that's commonly available.

I also thought of a LDO voltage regulator from 5V to 3.9V to drive VCC of the radio module but I don't know if that's efficient.

Can someone point me in the right direction? I'm also limited to DIP IC's since I don't work with smd.
 
Plus a 3.3V regulator to power the 3.3V radio module from the 5V supply the microcontroller uses.

μC+5Vpower-------------------------Vreg--------------------------+3.3V radiopower

μCdatalines----------------------LevelshifterIC---------------------radio datalines
 
3.3V logic can drive 5V logic, check 5V part VIL and VIH. Some 3.3V parts can tolerate 5V inputs, check your radio module data sheet. The data sheet should list maximum input. In many cases no level translation is needed.
 
**broken link removed** will mount a Digikey p/n on a DIP adapter for you.

EDIT: Fixed for Eric. Thanks.
 
Last edited:
You can do it discretely as well. See attached compass schematic.

Mike.
 

Attachments

  • GY_271_ELECTRONIC_COMPASS.pdf
    625.6 KB · Views: 140
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top