Difference between revisions of "PIC RS232"

From Mech
Jump to navigationJump to search
Line 1: Line 1:
under construction...
under construction...


[[Image:max232n-01|right]]
[[Image:max232n-01.gif|right]]


[[Image:max232n-02|right]]
[[Image:max232n-02.gif|right]]


[[Image:max232n-03|right]]
[[Image:max232n-03.gif|right]]


Print to and read from a serial (com) port (printf & scanf)
Print to and read from a serial (com) port (printf & scanf)

Revision as of 22:06, 26 December 2007

under construction...

Max232n-01.gif
Max232n-02.gif
Max232n-03.gif

Print to and read from a serial (com) port (printf & scanf) Serial ports on desktop and laptop computers use RS232 serial protocol and they use bipolar signals PIC and some devices (e.g. serial LCD displays) use RS232 with logic-level signals MAX232N chip shifts levels, logic-level to/from bipolar levels (+-12V) Computers without com ports can use a USB-to-serial adapter On a standard male DB9 com port connector on a computer, 2=input to computer, 3=output from computer, 7=ground The CCS IDE has a Tools/SerialPortMonitor (text window) built in


Textwindow.gif