在開放式數控系統結構模型的基礎上,研究了基于ISA總線的DSP通信控制原理。采用中斷方式完成了PC機和DSP之間的通信。介紹了以DriverWorks為工具開發ISA設備WDM驅動程序的方法,探討了中斷處理、驅動程序與應用程序之間的通信,簡要說明了驅動程序的安裝與調試。通過調試,系統設計運行穩定。 Abstract: The ISA bus and DSP correspondence control principle is investigated in the basis of the existing open architecture numerical control system.The interrupt method is used to realize the communication between PC and DSP based on the ISA bus.The methods of WDM driver exploitation for ISA device using Driver Works are introduced.The main process of driver program and the keys such as handle interrupt and the communication between the drivers and application are presented.And how to debug and install the drive is explained.
上傳時間: 2013-11-04
上傳用戶:kang1923
基于幅移鍵控技術ASK(Amplitude-Shift Keying),以C8051F340單片機作為監測終端控制器,C8051F330D單片機作為探測節點控制器,采用半雙工的通信方式,通過監控終端和探測節點的無線收發電路,實現數據的雙向無線傳輸。收發電路采用直徑為0.8 mm的漆包線自行繞制成圓形空心線圈天線,天線直徑為(3.4±0.3)cm。試驗表明,探測節點與監測終端的通信距離為24 cm,通過橋接方式,節點收發功率為102 mW時,節點間的通信距離可達20 cm。與傳統無線收發模塊相比,該無線收發電路在受體積、功耗、成本限制的場合有廣闊的應用前景。 Abstract: Based on ASK technology and with the C8051F340 and C8051F330D MCU as the controller, using half-duplex communication mode, this paper achieves bi-directional data transfer. Transceiver circuit constituted by enameled wire which diameter is 0.8mm and wound into a diameter (3.4±0.3) cm circular hollow coil antenna. Tests show that the communication distance between detection and monitoring of the terminal is 24cm,the distance is up to 20cm between two nodes when using the manner of bridging and the node transceiver power is 102mW. Compared with the conventional wireless transceiver modules, the circuit has wide application prospect in small size, low cost and low power consumption and other characteristics.
上傳時間: 2013-10-19
上傳用戶:xz85592677
為了在工業生產及過程控制中準確測量溫度,設計了一種基于低功耗MSP430單片機的數字溫度計。整個系統通過單片機MSP430F1121A控制DS18B20讀取溫度,采用數碼管顯示,溫度傳感器DS18B20與單片機之間通過串口進行數據傳輸。MSP430系列單片機具有超低功耗,且外圍的整合性高,DS18B20只需一個端口即可實現數據通信,連接方便。通過多次實驗證明,該系統的測試結果與實際環境溫度一致,除了具有接口電路簡單、測量精度高、誤差小、可靠性高等特點外,其低成本、低功耗的特點使其擁有更廣闊的應用前景。 Abstract: In order to obtain accurate measuring temperature in industrial production and process control, a digital thermometer based on MSP430 MCU is designed. The system uses MSP430F1121A MCU to control DS18B20, and gets the temperature data, which is displayed on the LED. The temperature sensor DS18B20 and MCU transmit data through serial communication. MSP430 series has ultra-low power and high integration, DS18B20 only needs one port to achieve data communication. Through many experimental results prove, this system is consistent with actual environment temperature. The system has characteristics of interface circuit simple, high measuring accuracy, minor error, high reliability, besides, the characteristics of low cost and low power make it having vaster application prospect.
上傳時間: 2013-10-16
上傳用戶:wettetw
在現代測控系統中,由于PC機具有強大的數據處理能力和良好的用戶交互界面,單片機具有較強的現場抗干擾能力及良好的性價比,因此以PC機為上位機實施用戶控制和以單片機為下位機進行實時數據采集的分布式智能化控制系統無疑具有很好的應用前景。本文中單片機實現了溫度檢測,具有較好的實時性;PC機完成了數據顯示、存儲及統計分析,繪制了實時溫度曲線,并對系統目前所處狀況做出了評判。兩者之間以串行口進行通信聯絡
上傳時間: 2013-11-06
上傳用戶:joheace
摘要:介紹了采取專用電平轉換芯片MAX232實現PC機與MCS51單片機之間的串行通信的方法.通過對系統的通信方式選擇89C51通信波特率的設置、通信的設置,以及對接口電路的軟件和硬件的設計分析,展示了該電路的實用性.關鍵詞:微處理器;PC機;串行通信;RS-232接口;MAX232芯片
上傳時間: 2014-01-22
上傳用戶:shizhanincc
摘要:設計了基于單片機的罐道傾角數據采集系統,介紹了系統的構成、工作原理和流程圖,給出了單片機AT89S52與外圍器件的硬件接口電路。使用匯編語言和VisualBasic設計了PC機與單片機間的串行通信程序,并提出了數據趨勢曲線的繪制方法。設計的數據采集系統具有易實現、易編程、可移植、體積小、功耗低等優點。關鍵詞:單片機;數據采集系統;罐道傾角;串行通信;VB
上傳時間: 2013-11-19
上傳用戶:012345
一、實驗目的1.了解串行通信的基本知識;2.掌握用單片機串行口實現串行通信的方法。二、實驗器材微機、示波器、萬用表、電源、AEDK仿真開發系統,面包板一塊,MAX202C芯片一塊,電容、電阻、導線若干。三、實驗原理此處僅介紹與本實驗內容密切相關的串行通信基本知識,其它有關基本知識介紹請見本講義實驗七。
上傳時間: 2013-10-17
上傳用戶:hongmo
摘要:本文介紹了TCP/IP協議、RTL8029的結構特性以及PCI總線協議的特點,給出了一種用P89C51RD2單片機控制以太網接口芯片RTL80內實現以太網通信的設計方案,闡述了用EMP7128型CPLD實現單片機接口與PCI接口之間的轉換,以及TCP/IP協議的實硯關鍵詞:RTL8029,PCI總線,TCP/IP
上傳時間: 2013-11-14
上傳用戶:thinode
計算機的串行口與控制 單片機串行口除用作單片機之間串行通信的通道外,還能和普通計算機的RS-232口(串口)進行通信。 這是單片機的一大特色,使得它在通信與控制領域得到廣泛的應用。 本部分從一些基礎的RS-232標準談起,并結合一些串口基礎實驗加深對知識的理解。最后,講解如何用Visual Basic語言編寫一個簡單的串口通信程序。
上傳時間: 2014-01-12
上傳用戶:siguazgb
摘要:提出一種全新的利用鍵盤接口實現單片機系統和PC機通信的方案,介紹了鍵盤與PC機通信的原理,并成功地應用于實際系統。該方案為外部單片機系統與3-機通信提供了一條有效的途徑。關鍵詞:鍵盤接口 單片機系統 時序 命令字
上傳時間: 2013-11-03
上傳用戶:drink!