PIC RS232
From Mech
Jump to navigationJump to searchunder construction...
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