Serial Communication Between PC and Minitype PIC
Tan Xiaohua · Ordnance Industry Automation · 2007
The serial communication between PC and mini type PIC achieves TXD and RXD,which realized through PIC12FX hardware circuit communicated with RS232 serial interface of PC.When sending,the TXD port’s TX holds low level for N seconds as start bit,then sending one data bit every other N seconds.After RXD finished,TX holds high level for N seconds as stop bit.When receiving,the RXD port’s RX detects the start bit by N/2 seconds speed,and receives first data bit after 1.5N seconds.Then receiving other data bits every other N seconds,until receiving stop bit.