Re: pic12連接RS232傳輸
|
||||
---|---|---|---|---|
版主
|
找了一個 AN510 給你參考一下:
AN510 : Implementation of an Asynchronous Serial I/O http://www.microchip.com/stellent/idc ... eId=1824&appnote=en010973 The PIC16C5X series from Microchip Technology Inc., are 8-bit, high-speed, EPROM-based microcontrollers. This application note describes an implementation of an asynchronous serial I/O using a PIC16C5X micro-controller. These microcontrollers can operate at very high speeds with a minimum cycle time of 200 ns @ 20 MHz input clock. Many microcontroller applications require chip-to-chip serial data communications. Since the PIC16C5X series has no on-chip serial ports, serial communication has to be performed in software. For many cost-sensitive high volume applications, implementation of a serial I/O through software provides a more cost effective solution than dedicated logic. This application note provides code for the PIC16C5X to simulate a serial port using two I/O pins (one as input for reception and the other as output for transmission).
發表於: 2010/2/9 14:58
|
|||
|
Re: pic12連接RS232傳輸
|
||||
---|---|---|---|---|
版主
|
PIC12 沒有 UART Module,所以傳送只能用軟體模擬方式用 I/O 傳送。請告知傳送的 Protocal ? C or Assembly?
發表於: 2010/2/8 13:46
|
|||
|
pic12連接RS232傳輸
|
||||
---|---|---|---|---|
初級會員
|
不好意思~
想請教有人有用過將PIC12擷取ADC資料藉由RS232傳輸嗎? 目前AD取值OK但是不會用RS232傳輸, 可以提供我相關參考資料嗎? 感激不盡
發表於: 2010/2/8 10:50
|
|||
|