I am using a PIC18F2450 that is powered with 5v. I need two of my outputs to go to about 7.5 volts or at least a RTS DTR level. What is the best way to accomplish this?
Thanks,
Bob
Printable View
I am using a PIC18F2450 that is powered with 5v. I need two of my outputs to go to about 7.5 volts or at least a RTS DTR level. What is the best way to accomplish this?
Thanks,
Bob
Usually a MAX232 or similar is used for serial stuff.
But you could roll your own with a transistor or mosfet.
No this isn't for serial, I have a device that I need to communicate with that uses only the RTS, DTR lines to communicate. It just counts the pulses on each line.
Bob
Do you know what parts I might need?
BobPlant, If you are just receiving (counting) pulses from some external device, just use a voltage divider set to give you 5 volts out from your 7.5 volt source. Then you can just use any pin as an input....
Dave Purola,
N8NTA