PC與單片機數據采集系統的USB通訊設計論文
上傳時間: 2013-10-30
上傳用戶:hanli8870
針對目前使用的RS232接口數字化B超鍵盤存在PC主機啟動時不能設置BIOS,提出一種PS2鍵盤的設計方法。基于W78E052D單片機,采用8通道串行A/D轉換器設計了8個TGC電位器信息采集電路,電位器位置信息以鍵盤掃描碼序列形式發送,正交編碼器信號通過XC9536XL轉換為單片機可接收的中斷信號,軟件接收到中斷信息后等效處理成按鍵。結果表明,在滿足開機可設置BIOS同時,又可實現超聲特有功能,不需要專門設計驅動程序,接口簡單,成本低。 Abstract: Aiming at the problem of the digital ultrasonic diagnostic imaging system keyboard with RS232 interface currently used couldn?蒺t set the BIOS when the PC boot, this paper proposed a design method of PS2 keyboards. Based on W78E052D microcontroller,designed eight TGC potentiometers information acquisition circuit with 8-channel serial A/D converter, potentiometer position information sent out with keyboard scan code sequentially.The control circuit based on XC9536 CPLD is used for converting the mechanical actions of the encoders into the signals that can be identified by the MCU, software received interrupt information and equivalently treatmented as key. The results show that the BIOS can be set to meet the boot, ultrasound specific functionality can be achieved at the same time, it does not require specially designed driver,the interface is simple and low cost.
上傳時間: 2013-10-10
上傳用戶:asdfasdfd
AT指令簡編匯集 詳細介紹了一般命令與呼叫控制命令,網絡服務命令,安全命令,電話命令 短消息命令,數據命令等
標簽: AT指令
上傳時間: 2013-10-10
上傳用戶:后時代明明
針對眾多低成本數據采集需求,采用帶有片上USB控制器和D/A轉換器的混合信號微處理器C8051F340,設計了一款可通過USB接口和LabVIEW圖形用戶界面實現與PC機聯機的數據采集器,同時借助系統的SD卡存儲獨立實現現場長時間采集數據。該數據采集器成本低,結構簡單,體積小,已成功用于工業現場。 Abstract: Aiming at the need of low cost data acquisition, a data acquisition device is designed based on C8051F340 which is a mixed-signal microcontroller and integrates USB controller and A/D controller on a chip.The data acquisition device which can combine with PC by USB interface and LabVIEW graphical user interface,can realize data acquisition. At the same time,it can be solely run a long time in virtue of SD card in field.The date aequisition device features low cost,simple structure and little sharp, and it has been used in industry field.
上傳時間: 2014-05-31
上傳用戶:1109003457
介紹一種無極可調交流電子負載設計的新方法,由ATmega48單片機輸出PWM波,通過上位機設定不同的占空比控制場效應管的通斷時間,即改變流過場效應管的平均電流。根據電流的大小,可以等效為相應的負載,并將采集的電流值顯示在上位機上。文中對該系統的軟﹑硬件設計思路作了詳細的分析,闡述了其設計原理。 Abstract: A new type electronic load is introduced.Due to ATmega48 microcomputer output PWM wave.The different duty is set ratio through PC to control FET turn-on time.We can equivalent homologous load according the current and display the current at PC.The hardware and software designing are analysed in detail. The principle is explained and the output is also given.
上傳時間: 2013-11-23
上傳用戶:蟲蟲蟲蟲蟲蟲
針對材料試驗機等設備中要求測量或控制材料拉伸或壓縮的位移,一般采用光電軸角編碼器檢測位置信號,輸出正交編碼脈沖信號。若采用其他方法檢測位置信號,必然導致電路設計復雜,可靠性降低。因此,提出一種基于LS7266R1的電子式萬能材料試驗機設計方案。給出了試驗機中的控制器工作原理,LS7266R1與單片機的接口硬件設計,以及主程序軟件流程圖。巧妙地把力量傳感器,位移傳感器等機械運動狀態的壓力或拉力以及位置坐標,變成了電壓信號和電脈沖數字信號,供A/D測量和LS7266R1計數,從而實現了獨立完成材料試驗控制或通過PC機串口命令完成材料試驗控制。 Abstract: Aiming at the requirement that the displacement of the tension and compression always be tested and controlled in the equipement such as material testing machine. The position signal was tested by photoelectric axial angle coder. Therefore, the paper proposes the design of electronic universal testing machine design based on LS7266R1. If the position signal detected by other methods, will inevitably lead to the circuit design complexity, reliability decreased. The work theory of the controller, the hardware interface design between LS7266R1 and single chip, and the flow chart of main program, are presented in this paper. The signal of the compression or tension power and displacement at working, which tested by power sensor and displacement sensor especially, is changed into electric voltage and electric pulse numerical signals. And these signals can be tested by A/D and counted by LS7266R1. Finally the test of the material properties can be controlled by itself, or controlled by the COM command of PC.
上傳時間: 2013-11-02
上傳用戶:yl1140vista
摘要:介紹了采取專用電平轉換芯片MAX232實現PC機與MCS51單片機之間的串行通信的方法.通過對系統的通信方式選擇89C51通信波特率的設置、通信的設置,以及對接口電路的軟件和硬件的設計分析,展示了該電路的實用性.關鍵詞:微處理器;PC機;串行通信;RS-232接口;MAX232芯片
上傳時間: 2014-01-22
上傳用戶:shizhanincc
摘要:提出一種全新的利用鍵盤接口實現單片機系統和PC機通信的方案,介紹了鍵盤與PC機通信的原理,并成功地應用于實際系統。該方案為外部單片機系統與3-機通信提供了一條有效的途徑。關鍵詞:鍵盤接口 單片機系統 時序 命令字
上傳時間: 2013-11-03
上傳用戶:drink!
摘要:文章介紹了由PC機和80C196單片機構成的熱處理溫度微機控制系統,并就集中溫度數據采集方法、PC機和單片機的數據通信格式、單片機軟硬件設計、雙向晶閘管的觸發電路等相關技術進行了分析,給出了串行通信中斷接收及數據處理程序設計流程圖。關鍵詞:單片機;數據通信;觸發電路;溫度控制
上傳時間: 2013-10-20
上傳用戶:fnhhs
交換機與多個現場單片機連通。現場單片機完成對各物理參量的數據采集,進行數字濾波、數據處理、比值告警、現場顯示及對現場設備進行控制等,并定時或隨機地向中央管理PC機報告過程情況。中央管理PC機定時或隨機地匯集各測試點的信息,進行數據處理、顯示打印、聲光報警,并負責全局的綜合控制、管理調度和策劃指揮等任務。中央PC機可通過電話網依次自動撥號呼叫下屬各現場單片機,單片機收到呼叫并建立聯接后發送數據到中央管理PC機,各現場單片機之間則不能進行呼叫聯絡。由于單片機應用系統的安裝數量和分布范圍不同,與中心站的距離一般為幾公里到幾十公里,在單片機與PC機之間需要傳送的數據量不是很大的情況下,采用調制解調器通過電話線路進行通信較為適用。下位單片機以其所在單位的電話號碼作為其唯一的地址,并由單片機控制電話的使用,可以實現無人值守自動通信。每當電話響鈴一定次數后仍無人接聽,則單片機自動接入線路,通過不同標志來判斷是主機呼叫還是人打電話。若是主機呼叫,表示中心站要求通信,單片機將保持與上位PC機連接,將各種測量數據發送出去并接收主機發來的命令;若是人打電話,則斷開連接繼續進行數據采集,并接通模擬響鈴電路,提醒人們接聽。
上傳時間: 2014-12-27
上傳用戶:趙一霞a