從單片機(jī)應(yīng)用開發(fā)的角度出發(fā),系統(tǒng)地介紹了以MCS-51系列為核心的單片機(jī)原理與接口技術(shù)。主要內(nèi)容包括:計(jì)算機(jī)的基礎(chǔ)知識(shí),MCS-51單片機(jī)的硬件結(jié)構(gòu)、指令系統(tǒng)和單片機(jī)匯編語言程序設(shè)計(jì),單片機(jī)的c語言程序設(shè)計(jì),中斷和定時(shí)器/計(jì)數(shù)器,單片機(jī)的串行通信,單片機(jī)的系統(tǒng)擴(kuò)展,MCS-51單片機(jī)接口技術(shù),單片機(jī)應(yīng)用系統(tǒng)設(shè)計(jì)以及PIC單片機(jī)簡(jiǎn)介。
上傳時(shí)間: 2013-11-06
上傳用戶:奇奇奔奔
基于BASIC Stamp核心設(shè)計(jì)溫度測(cè)量電路,實(shí)現(xiàn)了傳感器數(shù)據(jù)的測(cè)量和保存。系統(tǒng)采用溫度傳感器DS1621,經(jīng)過有線通信,多路溫度數(shù)據(jù)由串行口輸送到微型計(jì)算機(jī)接收實(shí)時(shí)顯示和保存。系統(tǒng)應(yīng)用于環(huán)境試驗(yàn)設(shè)備改造初試階段,滿足設(shè)計(jì)要求,證明溫度記錄系統(tǒng)的低成本和簡(jiǎn)單實(shí)現(xiàn)是可行的。
上傳時(shí)間: 2013-10-24
上傳用戶:zchpr@163.com
介紹一種基于AVR單片機(jī)(Atmegal28)實(shí)現(xiàn)的直流電源監(jiān)控系統(tǒng)的設(shè)計(jì)方案及其軟、硬件設(shè)計(jì)思路。該監(jiān)控系統(tǒng)能檢測(cè)直流電源系統(tǒng)的各種實(shí)時(shí)運(yùn)行數(shù)據(jù)及狀態(tài),自動(dòng)監(jiān)測(cè)各種故障并發(fā)出聲光報(bào)警,實(shí)現(xiàn)蓄電池的智能管理;通過RS232或RS485與上位機(jī)通信,實(shí)現(xiàn)遙信、遙測(cè)、遙控和遙調(diào)等功能,能較好地滿足無人值守變電站及配網(wǎng)自動(dòng)化的需要。
標(biāo)簽: AVR 單片機(jī) 直流電源 監(jiān)控系統(tǒng)
上傳時(shí)間: 2013-11-11
上傳用戶:gxf2016
便攜式信號(hào)采集在機(jī)器健康診斷系統(tǒng)中有較高的應(yīng)用價(jià)值。機(jī)器健康診斷的信號(hào)特點(diǎn)是包括低頻信號(hào)。本文研究是為了實(shí)現(xiàn)簡(jiǎn)易而且低成本的低頻便攜式信號(hào)采集。以Microchip公司單片機(jī)PIC18F1320為核心設(shè)計(jì)信號(hào)采集電路,實(shí)現(xiàn)了信號(hào)的采集和保存。系統(tǒng)采用串行電可擦除芯片24LC32A保存數(shù)據(jù),經(jīng)過有線通信,信號(hào)數(shù)據(jù)由串行口通過MAX232芯片輸送到微型計(jì)算機(jī)接收和保存,最后繪制出信號(hào)波形。 微型計(jì)算機(jī)程序采用Visual Basic編程。研究成功采樣頻率為3 kHz的復(fù)雜信號(hào),證明該方案符合設(shè)計(jì)要求。 Abstract: Portable signal acquisition is useful in machine health monitoring systems. The signal characteristics of machine health monitoring includes low frequency signals. The goal of this study is to realize simple, inexpensive and portable low frequency signal sampling. This paper provides the project of signal acquisition system design based on PIC18F1320 microcontroller manufactured by the Microchip Technology Incorporation to achieve signal sampling and storage. The system adopted EEPROM 24LC32A to store the signal data. The microcomputer received data via wired link with the MAX232 IC through the serial port. The microcomputer program, programmed in Visual Basic, received the data, stored it and plotted the signal. The study successfully samples 3kHz complicated signals and thus meets the design requirement.
上傳時(shí)間: 2013-11-19
上傳用戶:moerwang
以太網(wǎng)和CAN總線應(yīng)用廣泛,但由于其通信協(xié)議不同,兩種總線器件間無法進(jìn)行數(shù)據(jù)通信,因此,設(shè)計(jì)了基于CP2200與C8051F040的以太網(wǎng)總線與CAN總線接口轉(zhuǎn)換電路,并給出部分相關(guān)硬件電路與軟件設(shè)計(jì)分析。在保證數(shù)據(jù)完整和協(xié)議可靠的前提下,通過握手協(xié)議和簡(jiǎn)化的以太網(wǎng)協(xié)議,不僅實(shí)現(xiàn)了以太網(wǎng)數(shù)據(jù)與CAN數(shù)據(jù)的轉(zhuǎn)發(fā),同時(shí)還順利的解決了以太網(wǎng)的高速性與CAN的低速率沖突,以及兩者數(shù)據(jù)包之間的大小不同的矛盾。 Abstract: In the development of actual application, Ethernet and CAN bus are used very extensively. Owing to its various communication protocols, the communicating between two kinds of bus device can’t be carried out. Therefore, in order to solve this problem, the Ethernet-CAN bus interface circuit based on CP2200 and C8051F040 was designed in this paper, and part of the related hardware circuit and software design analysis were given. On the condition of data’s integrity and protocols’reliability, through the handshaking protocols and the simplified the Ethernet protocol, not only the data switching between CAN and Ethernet was realized, but also the differ in velocity and packet size was solved.
標(biāo)簽: C8051F040 CAN 以太網(wǎng) 轉(zhuǎn)換
上傳時(shí)間: 2013-10-15
上傳用戶:Ants
為提高溫度測(cè)量效率,降低系統(tǒng)的成本,擴(kuò)展傳輸距離,設(shè)計(jì)出一種新型溫度采集系統(tǒng)。單片機(jī)通過控制具有單總線方式的溫度傳感器DS18B20實(shí)現(xiàn)對(duì)溫度的測(cè)量,同時(shí)單片機(jī)通過控制具有單總線方式300~450MHz頻率范圍內(nèi)的MAX7044與MAX7033無線發(fā)射與接收芯片實(shí)現(xiàn)溫度數(shù)據(jù)的無線傳輸。與傳統(tǒng)溫度采集系統(tǒng)相比,該系統(tǒng)利用單總線方式連接,采用無線傳輸方式實(shí)現(xiàn)遠(yuǎn)距離通信,易于系統(tǒng)的集成與擴(kuò)展。實(shí)驗(yàn)結(jié)果表明,該系統(tǒng)結(jié)構(gòu)簡(jiǎn)單、方便移植,能夠同時(shí)實(shí)現(xiàn)多達(dá)上百點(diǎn)溫度的測(cè)量與500m范圍的傳輸。 Abstract: To improve the temperature measurement efficiency and reduce system cost,expansion of transmission distance,a new type of temperature acquisition system is designed.Microcontroller controlled temperature sensor DS18B20which has a single-bus achieves temperature measurement,while microcontroller by controlled the MAX7044and MAX7033chip with a single-bus and having300~450MHz radiofrequency to achieve the wireless transmission of temperature data.Compared with conventional temperature acquisition system,the system uses single-bus connected,and uses wireless transmission means to achieve long-distance communications,easy-to-system integration and expansion.The experimental results show that the system is simple,convenient transplantation,and can be implemented in as many as a hundred-point temperature measure-ment and the transmission range of500meters.
標(biāo)簽: 單總線 無線溫度 采集 系統(tǒng)設(shè)計(jì)
上傳時(shí)間: 2013-10-29
上傳用戶:515414293
為了提高環(huán)境參數(shù)采集的自動(dòng)化水平,提升效率,設(shè)計(jì)了無線傳感器系統(tǒng)。本系統(tǒng)運(yùn)用了傳感器技術(shù)、通信技術(shù)和單片機(jī)技術(shù),實(shí)現(xiàn)了對(duì)環(huán)境溫度、濕度、光照度以及可燃性氣體濃度等參數(shù)的檢測(cè)。它能夠?qū)崟r(shí)地與上位機(jī)進(jìn)行無線通信,滿足對(duì)環(huán)境參數(shù)實(shí)時(shí)監(jiān)測(cè)的要求。 Abstract: In order to increase the degree of automation and improve the efficiency of the environment monitoring parameters,the wireless sensor system was developed.Combining with the technique of sensor,automatic monitoring,communication and single-chip microcomputer,it realized real-time monitoring environment parameters,such as temperature,humidity,illumination,concentration of com- bustible gas and so on.At the same time it can communicate with upper personal computers,satisfy the desire of real-time monitoring.
上傳時(shí)間: 2013-11-22
上傳用戶:longlong12345678
為解決輸油管道溫度壓力參數(shù)實(shí)時(shí)監(jiān)測(cè)的問題,設(shè)計(jì)了以C8051F930單片機(jī)作為控制核心的超低功耗輸油管道溫度壓力遠(yuǎn)程監(jiān)測(cè)系統(tǒng)。現(xiàn)場(chǎng)儀表使用高精度電橋采集數(shù)據(jù),通過433 MHz短距離無線通信網(wǎng)絡(luò)與遠(yuǎn)程終端RTU進(jìn)行通信,RTU通過GPRS網(wǎng)絡(luò)與PC上位機(jī)進(jìn)行遠(yuǎn)程數(shù)據(jù)傳輸,在上位機(jī)中實(shí)現(xiàn)數(shù)據(jù)存儲(chǔ)和圖形化界面顯示,從而實(shí)現(xiàn)輸油管道溫度壓力參數(shù)的實(shí)時(shí)監(jiān)測(cè)和異常報(bào)警。經(jīng)實(shí)驗(yàn)證明,該系統(tǒng)的12位數(shù)據(jù)采集精度滿足設(shè)計(jì)要求,漏碼率小于1%,正常工作時(shí)間超過5個(gè)月,能實(shí)時(shí)有效地監(jiān)測(cè)輸油管道的溫度壓力參數(shù),節(jié)省大量人工成本,有效預(yù)防管道參數(shù)異常造成的經(jīng)濟(jì)損失和環(huán)境污染。 Abstract: In order to solve the problems on real-time monitoring of pipeline temperature and pressure parameters, the ultra-low power remote pipeline temperature and pressure monitoring system was designed by using the single chip processor C8051F930 as the control core. The high-precision electric bridge was used in field instruments for data collection, the 433MHz short-range wireless communication network was used to make communication between field instrument and RTU, the GPRS was used by the RTU to transmit data to the PC host computer, and the data was stored and displayed in the PC host computer, so the real-time monitoring and exception alerts of pipeline temperature and pressure parameters were achieved. The experiment proves that the system of which error rate is less than 1% over five months working with the 12-bit data acquisition accuracy can effectively monitor the pipeline temperature and pressure parameters in real time, it saves a lot of labor costs and effectively prevents environmental pollution and economic losses caused by abnormal channel parameters.
標(biāo)簽: C8051F930 溫度 壓力 遠(yuǎn)程監(jiān)測(cè)系統(tǒng)
上傳時(shí)間: 2013-11-07
上傳用戶:cuibaigao
為了在工業(yè)生產(chǎn)及過程控制中準(zhǔn)確測(cè)量溫度,設(shè)計(jì)了一種基于低功耗MSP430單片機(jī)的數(shù)字溫度計(jì)。整個(gè)系統(tǒng)通過單片機(jī)MSP430F1121A控制DS18B20讀取溫度,采用數(shù)碼管顯示,溫度傳感器DS18B20與單片機(jī)之間通過串口進(jìn)行數(shù)據(jù)傳輸。MSP430系列單片機(jī)具有超低功耗,且外圍的整合性高,DS18B20只需一個(gè)端口即可實(shí)現(xiàn)數(shù)據(jù)通信,連接方便。通過多次實(shí)驗(yàn)證明,該系統(tǒng)的測(cè)試結(jié)果與實(shí)際環(huán)境溫度一致,除了具有接口電路簡(jiǎn)單、測(cè)量精度高、誤差小、可靠性高等特點(diǎn)外,其低成本、低功耗的特點(diǎn)使其擁有更廣闊的應(yīng)用前景。 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.
上傳時(shí)間: 2013-10-16
上傳用戶:wettetw
交換機(jī)與多個(gè)現(xiàn)場(chǎng)單片機(jī)連通。現(xiàn)場(chǎng)單片機(jī)完成對(duì)各物理參量的數(shù)據(jù)采集,進(jìn)行數(shù)字濾波、數(shù)據(jù)處理、比值告警、現(xiàn)場(chǎng)顯示及對(duì)現(xiàn)場(chǎng)設(shè)備進(jìn)行控制等,并定時(shí)或隨機(jī)地向中央管理PC機(jī)報(bào)告過程情況。中央管理PC機(jī)定時(shí)或隨機(jī)地匯集各測(cè)試點(diǎn)的信息,進(jìn)行數(shù)據(jù)處理、顯示打印、聲光報(bào)警,并負(fù)責(zé)全局的綜合控制、管理調(diào)度和策劃指揮等任務(wù)。中央PC機(jī)可通過電話網(wǎng)依次自動(dòng)撥號(hào)呼叫下屬各現(xiàn)場(chǎng)單片機(jī),單片機(jī)收到呼叫并建立聯(lián)接后發(fā)送數(shù)據(jù)到中央管理PC機(jī),各現(xiàn)場(chǎng)單片機(jī)之間則不能進(jìn)行呼叫聯(lián)絡(luò)。由于單片機(jī)應(yīng)用系統(tǒng)的安裝數(shù)量和分布范圍不同,與中心站的距離一般為幾公里到幾十公里,在單片機(jī)與PC機(jī)之間需要傳送的數(shù)據(jù)量不是很大的情況下,采用調(diào)制解調(diào)器通過電話線路進(jìn)行通信較為適用。下位單片機(jī)以其所在單位的電話號(hào)碼作為其唯一的地址,并由單片機(jī)控制電話的使用,可以實(shí)現(xiàn)無人值守自動(dòng)通信。每當(dāng)電話響鈴一定次數(shù)后仍無人接聽,則單片機(jī)自動(dòng)接入線路,通過不同標(biāo)志來判斷是主機(jī)呼叫還是人打電話。若是主機(jī)呼叫,表示中心站要求通信,單片機(jī)將保持與上位PC機(jī)連接,將各種測(cè)量數(shù)據(jù)發(fā)送出去并接收主機(jī)發(fā)來的命令;若是人打電話,則斷開連接繼續(xù)進(jìn)行數(shù)據(jù)采集,并接通模擬響鈴電路,提醒人們接聽。
標(biāo)簽: Modem 單片機(jī) PC機(jī) 傳輸設(shè)計(jì)
上傳時(shí)間: 2014-12-27
上傳用戶:趙一霞a
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1