I
Iftikhar
Guest
Whats the purpose of Level Shifter.
MAX3232, etc...
MAX3232, etc...
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
RS232 voltages are not the same as microcontroller voltages.Whats the purpose of Level Shifter.
MAX3232, etc...
Transmitting 0-5v over some distance is unreliable. RS232 (+/-15v, butWhats the purpose of Level Shifter.
MAX3232, etc...
I think you're required to accept 5 to 15, with 12 nominal, and requiredA PIC I/O pin might be 0v off, 5v on, where RS232 needs -5V on, to 5V
off (I think).
You are correct... I should have said 'at least -5V on, to 5V '. I don'tIn article <40aad995$0$16593$5a62ac22@freenews.iinet.net.au>,
Al Borowski <aj.borowski@erasethis.student.qut.edu.au> wrote:
A PIC I/O pin might be 0v off, 5v on, where RS232 needs -5V on, to 5V
off (I think).
I think you're required to accept 5 to 15, with 12 nominal, and required
to provide at least 10, but don't trust my memory if you're actually
implementing something.
The minimum threshold for reception is +/-3V, but many PC's will workrecommended.
I believe 0-5V works on all common (maybe all known) receivers (for aIftikhar wrote:
Whats the purpose of Level Shifter.
MAX3232, etc...
RS232 voltages are not the same as microcontroller voltages.
A PIC I/O pin might be 0v off, 5v on, where RS232 needs -5V on, to 5V
off (I think).
Al
Renesas (Mitsubishi) M16C UART 2 allows this. Handy for a quick ANSII believe 0-5V works on all common (maybe all known) receivers (for a
short distance and with other caveats). However, the MAX232 etc. not
only level-shift but also invert, so using logic levels direct from a
microcontroller really only works if both sides agree to eschew the
transceiver or if you bit-bang the serial interface. I don't know of
any microcontroller hardware UART that has the option of inverting the
signal levels.
The threshold of a 1489 is approximately +1V, so 0V to +5V signalsIn article <40aad995$0$16593$5a62ac22@freenews.iinet.net.au>,
Al Borowski <aj.borowski@erasethis.student.qut.edu.au> wrote:
A PIC I/O pin might be 0v off, 5v on, where RS232 needs -5V on, to 5V
off (I think).
I think you're required to accept 5 to 15, with 12 nominal, and required
to provide at least 10, but don't trust my memory if you're actually
implementing something. +/- 5 is definitely borderline and not
recommended.
Cool, thanks.In message <jb4ma0lulaqcfd28u6bdgnq61d3e8kg4oh@4ax.com>, Spehro Pefhany
speffSNIP@interlogDOTyou.knowwhat> writes
snipped
I believe 0-5V works on all common (maybe all known) receivers (for a
short distance and with other caveats). However, the MAX232 etc. not
only level-shift but also invert, so using logic levels direct from a
microcontroller really only works if both sides agree to eschew the
transceiver or if you bit-bang the serial interface. I don't know of
any microcontroller hardware UART that has the option of inverting the
signal levels.
Renesas (Mitsubishi) M16C UART 2 allows this.
However, it would be just fine for a port used only for setup *during*Handy for a quick ANSI
terminal lash-up for debugging. 0-3V3 works also, the threshold seems
to be around 2V for the several PCs I've used, and 38k4 baud seems
perfectly reliable over 5m. No, I wouldn't do this for production.
Whats the purpose of Level Shifter.
MAX3232, etc...