隨著計算機技術以及網絡技術的發展,將RS-485 網絡控制系統應用在排隊控制上,設計一種可以代替人們來排隊的系統,可以提高人們生活質量。本文詳細介紹了排隊機系統各控制器的設計,包括各個功能模塊的硬件電路和控制軟件的設計,這些功能模塊和控制器是排隊機控制系統的重要組成部分。
上傳時間: 2014-12-28
上傳用戶:asaqq
自動檢測80C51串行通訊中的波特率:本文介紹一種在80C51 串行通訊應用中自動檢測波特率的方法。按照經驗,程序起動后所接收到的第1 個字符用于測量波特率。這種方法可以不用設定難于記憶的開關,還可以免去在有關應用中使用多種不同波特率的煩惱。人們可以設想:一種可靠地實現自動波特檢測的方法是可能的,它無須嚴格限制可被確認的字符。問題是:在各種的條件下,如何可以在大量允許出現的字符中找出波特率定時間隔。顯然,最快捷的方法是檢測一個單獨位時間(single bit time),以確定接收波特率應該是多少。可是,在RS-232 模式下,許多ASCII 字符并不能測量出一個單獨位時間。對于大多數字符來說,只要波特率存在合理波動(這里的波特率是指標準波特率),從起始位到最后一位“可見”位的數據傳輸周期就會在一定范圍內發生變化。此外,許多系統采用8 位數據、無奇偶校驗的格式傳輸ASCII 字符。在這種格式里,普通ASCII 字節不會有MSB 設定,并且,UART總是先發送數據低位(LSB),后發送數據高位(MSB),我們總會看見數據的停止位。在下面的波特率檢測程序中,先等待串行通訊輸入管腳的起始信號(下降沿),然后起動定時器T0。在其后的串行數據的每一個上升沿,將定時器T0 的數值捕獲并保存。當定時器T0溢出時,其最后一次捕獲的數值即為從串行數據起始位到最后一個上升沿(我們假設是停止位)過程所持續的時間。
上傳時間: 2014-08-22
上傳用戶:dajin
基于AT89C51應用系統的串行通信設計:介紹了基于AT89C51應用系統中的串行通信軟硬件設計方法和實現過程,在基于紅外成像技術的電力設備狀態檢測系統中,將紅外測溫儀檢測到設備的溫度數據傳給控制電路,進行數據格式的轉換后,在RAM 中存儲,同時上傳給PC機。系統利用MAX232實現RS 232C的EIA 電平與單片機的TTI 電平之聞轉換,利用通用串口芯片8251A擴展串行接13',實現PC機與單片機之問的串行通信。 關鍵詞:串行通信;單片機;接口;RS232C
上傳時間: 2014-12-21
上傳用戶:aeiouetla
RSM-6505可同時對5路的熱電偶進行測量,且通道具有周期自校準功能;模塊還具有5路數字量輸出通道,可以設置為用戶控制輸出或對測量溫度值進行超限狀態指示——“超限報警”輸出。RSM-6505對輸入輸出端口采用電氣隔離,并采用帶隔離的RS-485總線接口及看門狗技術,有效保障設備安全可靠運行
上傳時間: 2014-12-28
上傳用戶:han_zh
The MAX3243E device consists of three line drivers, five line receivers, and a dual charge-pump circuit with±15-kV ESD (HBM and IEC61000-4-2, Air-Gap Discharge) and ±8-kV ESD (IEC61000-4-2, Contact Discharge)protection on serial-port connection pins. The device meets the requirements of TIA/EIA-232-F and provides theelectrical interface between an asynchronous communication controller and the serial-port connector. Thiscombination of drivers and receivers matches that needed for the typical serial port used in an IBM PC/AT, orcompatible. The charge pump and four small external capacitors allow operation from a single 3-V to 5.5-Vsupply. In addition, the device includes an always-active noninverting output (ROUT2B), which allowsapplications using the ring indicator to transmit data while the device is powered down. The device operates atdata signaling rates up to 250 kbit/s and a maximum of 30-V/ms driver output slew rate.
標簽: MULTICHANNEL 5.5 TO RS
上傳時間: 2013-10-19
上傳用戶:ddddddd
Microchip ZigBee協議棧:ZigBee™ 是專為低速率傳感器和控制網絡設計的無線網絡協議。有許多應用可從ZigBee 協議受益,其中可能的一些應用有:建筑自動化網絡、住宅安防系統、工業控制網絡、遠程抄表以及PC 外設。與其他無線協議相比, ZigBee 無線協議提供了低復雜性、縮減的資源要求,最重要的是它提供了一組標準的規范。它還提供了三個工作頻帶,以及一些網絡配置和可選的安全功能。如果您正在尋求現有的控制網絡技術(例如RS-422、RS-485)或專有無線協議的替代方案, ZigBee 協議可能是您所需的解決方案。此應用筆記旨在幫助您在應用中采用ZigBee 協議。 可以使用在應用筆記中提供的Microchip ZigBee 協議棧快速地構建應用。為了說明該協議棧的用法,本文包含了兩個有效的演示應用程序。可將這兩個演示程序作為參考或者根據您的需求經過簡單修改來采用它們。此應用筆記中提供的協議棧函數庫實現了一個與物理層無關的應用程序接口。 因此,無需做重大修改就可以輕松地在射頻(Radio Frequency,RF)收發器之間移植應用程序。在此文檔末尾的“常見問題解答”中提供了有關Microchip 協議棧和用法的一些常見問題及其答案。
上傳時間: 2013-10-08
上傳用戶:u789u789u789
基于89C2051單片機的熱表通訊模塊的開發:介紹了利用89C2051 單片機開發某熱表的通訊模塊,并將其應用于實驗用主從分布式控制系統中,實現了工控機同多個熱表的串行通訊。闡述了串行通訊規程,利用單片機的普通I/ O 端口實現串行口功能的方法,從而解決了該單片機在實際的串行通訊應用中串口資源少的問題。通訊模塊通過RS - 485 通訊方式實現了熱表與工控機的遠距離通訊。在充分利用單片機端口資源的基礎上完成了工控機與多臺單片機通訊。關鍵詞:單片機;串行通訊;普通I/ O 端口;RS - 485 ;多機通訊
上傳時間: 2014-04-16
上傳用戶:tb_6877751
Abstract: This application note explains the hardware of different types of 1-Wire® interfaces and software examples adapted to this hardware with a focus on serial ports. Depending on the types of iButtons required for a project and the type of computer to be used, the most economical interface is easily found. The hardware examples shown are basically two different types: 5V general interface and 12V RS-232 interface. Within the 5V group a common printed circuit board could be used for all circuits described. The variations can be achieved by different populations of components. The same principal is used for the 12V RS-232 interface. The population determines if it is a Read all or a Read/Write all type of interface. There are other possible circuit implementations to create a 1-Wire interface. The circuits described in this application note cover many different configurations. For a custom application, one of the described options can be adapted to meet individual needs.
標簽: iButtons Reading Writing and
上傳時間: 2013-10-29
上傳用戶:long14578
CAN與RS232轉換節點的設計與實現 介紹將CAN總線接口與RS232總線接口相互轉換的設計方法和2種總線電平轉換關系,實現CAN總線與各模塊的接口設計,制定了相應的軟硬件設計方案,并給出軟件設計流程圖以及部分硬件設計原理圖。為CAN總線與RS232總線互聯提供了一種方法,對CAN總線與RS232總線接口設備的互聯和廣泛應用的實現具有重要意義。關鍵詞:CAN總線;RS-232總線;串行通信Design and Realization of CAN and RS232 Transformation NodeZHOU Wei, CHENG Xiao-hong(Information Institute, Wuhan University of Technology, Wuhan 430070)【Abstract】This paper introduces one design method of the CAN bus interface and the RS232 bus interface interconversion, emphasizes two kindof bus level transformation relations, realizes the CAN bus and various modules connection design, formulates the design proposal of correspondingsoftware and hardware, and gives the flow chart of software design as well as the partial schematic diagram of hardware design. It providesonemethod for the CAN bus and the RS232 bus interconnection, has the vital significance to widespread application realization of the CAN busand theRS232 bus interface equipment interconnection.【Key words】CAN bus; RS-232 bus; serial communication
上傳時間: 2013-11-04
上傳用戶:leesuper
19-1. 單片機典型應用系統組成19-2.單片機應用系統實例19-3.單片機應用系統的開發過程單片機系統組成A/D接口:實現模擬信號的采集并行A/D串行A/DD/A接口:輸出模擬量的控制信號并行D/A串行D/A開關量輸入輸出:實現開關信號的檢測和控制步進電機、PWM控制的直流電機開關量輸出的傳感器(如光電、霍爾傳感器等)通信接口:實現系統和外界(單片機或PC)的數據交換RS-232CRS-485人機界面:溝通用戶和系統的渠道鍵盤、顯示打印機
上傳時間: 2013-11-08
上傳用戶:skfreeman