khufumen
- 25th April 2010, 22:24
I'm sending serial data from a small GPS unit running at 3.3V to port C4 on a PIC18F458
running at 5V. After much hair pulling I realized the Schmitt trigger required (.8 * 5) 4V to signal
an 'on' state which of course it wasn't getting.
My question is:
is there an IC chip that can boost my serial output from the GPS unit to
5 volts so that it can be read on port C4?
In the past I've used Max232s to convert from TTL levels
to 12V/-12V levels but I don't need to invert. I just want to bump up the serial voltage levels
between the the GPS unit and the PIC. I realize I can simply move the input to a TTL port on the PIC
but I need to use port C4. I also don't want to lower VDD on the PIC since I am also running AD
conversions on some 5V sensors. Any input would be greatly appreciated.
Kind Regards
Eric
running at 5V. After much hair pulling I realized the Schmitt trigger required (.8 * 5) 4V to signal
an 'on' state which of course it wasn't getting.
My question is:
is there an IC chip that can boost my serial output from the GPS unit to
5 volts so that it can be read on port C4?
In the past I've used Max232s to convert from TTL levels
to 12V/-12V levels but I don't need to invert. I just want to bump up the serial voltage levels
between the the GPS unit and the PIC. I realize I can simply move the input to a TTL port on the PIC
but I need to use port C4. I also don't want to lower VDD on the PIC since I am also running AD
conversions on some 5V sensors. Any input would be greatly appreciated.
Kind Regards
Eric