• slider image 514
  • slider image 516
  • slider image 517
  • slider image 518
  • slider image 519
:::


Browsing this Thread:   1 Anonymous Users






Re: pic12連接RS232傳輸
#4
版主
版主


查看用戶資訊
找了一個 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
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: pic12連接RS232傳輸
#3
初級會員
初級會員


查看用戶資訊
參照:

Ryang 寫道:
PIC12 沒有 UART Module,所以傳送只能用軟體模擬方式用 I/O 傳送。請告知傳送的 Protocal ? C or Assembly?


主要針對將2組ADC轉換出來的訊號,藉由RS232傳輸至PLC(Power line carrier) module 解碼,

PIC12只要能以串列傳輸方式將ADC傳送既可。

本身熟C語言但可能要以Assembly撰寫

謝謝您

發表於: 2010/2/9 9:47
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: pic12連接RS232傳輸
#2
版主
版主


查看用戶資訊
PIC12 沒有 UART Module,所以傳送只能用軟體模擬方式用 I/O 傳送。請告知傳送的 Protocal ? C or Assembly?

發表於: 2010/2/8 13:46
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


pic12連接RS232傳輸
#1
初級會員
初級會員


查看用戶資訊
不好意思~

想請教有人有用過將PIC12擷取ADC資料藉由RS232傳輸嗎?

目前AD取值OK但是不會用RS232傳輸,

可以提供我相關參考資料嗎?

感激不盡

發表於: 2010/2/8 10:50
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------