3v to 5v level translation

From: Scott Miller (scott_at_3xf.com)
Date: 02/09/05


Date: Wed, 9 Feb 2005 09:18:56 -0800

I'm connecting a 5-volt HD44780 LCD controller to a 3-volt microcontroller.
I'd planned to use a level translator IC, but I just switched to an MCU with
5-volt tolerant inputs. Actually, I don't need inputs - just 6 outputs. My
question is this - assuming the slew rate is acceptable, is there any reason
I can't just connect each I/O line to a pullup to 5 volts, set the port to
all 0's, and then use the data direction register to switch between
high-impedance input mode and output to control the 5-volt signals?

Seems to me like it should be fine, but I can't recall having seen it done
that way before.

Thanks,

Scott



Relevant Pages

  • Re: cheapest FPGA?
    ... I can do it with a microcontroller, but the only MCUs with the hardware I need (TFT LCD controller) ... tend to come with lots of other stuff (ethernet, large flash, USB etc.) which I don't need. ... At some point I may look at the NXP ARM9 LCD part which can load from SPI but it's in a BGA package ... rates than the MCU could handle. ...
    (comp.arch.fpga)
  • Re: Problem using a mosfet to switch devices on/off
    ... switch on/off the Vcc of 2 devices. ... Gate - MCU control output and 50K pullup ...
    (sci.electronics.design)
  • Re: 8051 Port2 power consumption
    ... Jim Granville schrieb: ... I am using a C8051F311 MCU and have connected ... resets the MCU. ... Then switch one switch at a time, ...
    (comp.arch.embedded)
  • Re: Connecting buttons with MSP430F2013 for Input Output with software
    ... I want to connect 5 buttons with the MSP430F2013 MCU. ... This circuit will read as a '1' on the input pin's bit when the switch ... Tim Wescott ... "Applied Control Theory for Embedded Systems" gives you just what it says. ...
    (comp.arch.embedded)
  • Re: Connecting buttons with MSP430F2013 for Input Output with software
    ... I want to connect 5 buttons with the MSP430F2013 MCU. ... This circuit will read as a '1' on the input pin's bit when the switch ... Tim Wescott ... "Applied Control Theory for Embedded Systems" gives you just what it says. ...
    (comp.arch.embedded)