詳細(xì)介紹工控軟件組態(tài)王與單片機(jī)多機(jī)串口通訊的設(shè)計(jì)原理。分析組態(tài)王提供的直接與單片機(jī)串口通信方法的優(yōu)點(diǎn),給出系統(tǒng)基于RS-485總線傳輸?shù)慕涌陔娐吩韴D。根據(jù)組態(tài)王提供的通訊協(xié)議和單片機(jī)多機(jī)串口通訊的原理,給出程序設(shè)計(jì)流程與思路。 Abstract: In this paper,the design principle of communication between multi-SCM and KingView by serial ports is described in detail.We analysis the advantage of method supplied by KingView,by which KingView can communicate with serial ports of SCM directly,and provide the system’s interface circuit based on the RS-485transmission line.We provide flow diagram of programming and thinking on the basis of communication protocol supplied by KingView and principle of communication among multi-SCM through serial ports.
標(biāo)簽: 工控軟件 單片機(jī) 串口通訊 多機(jī)
上傳時(shí)間: 2013-12-19
上傳用戶:tecman
實(shí)時(shí)時(shí)鐘是微機(jī)保護(hù)裝置的重要部件,在討論P(yáng)CF8583結(jié)構(gòu)與功能的基礎(chǔ)上,提出采用dsPIC33F系列微處理器與串行I2C時(shí)鐘PCF8583的接口設(shè)計(jì)方案,給出了相應(yīng)的接口電路與軟件流程。該設(shè)計(jì)方案結(jié)構(gòu)簡(jiǎn)單,可靠性高,開發(fā)周期短,具有一定的實(shí)用與參考價(jià)值。所設(shè)計(jì)的微機(jī)保護(hù)裝置已投入現(xiàn)場(chǎng)運(yùn)行,效果良好。 Abstract: Real-time clock chip is an important part in microcomputer protection device.Based on discussing the structure and function of PCF8583,a new interface scheme which uses dsPIC33F microprocessor and serial clock chip(I2C)PCF8583is proposed.The method of the circuit design and the main software flow are introduced in this paper.The scheme has simple structure,higher reliability and shorter exploitation cycle,so has definite practicality or reference value.The microcomputer protection device has been put into operation with better effects.
標(biāo)簽: 8583 PCF 串行時(shí)鐘 中的應(yīng)用
上傳時(shí)間: 2013-11-18
上傳用戶:Thuan
設(shè)計(jì)一種基于AT89C52的語(yǔ)音錄放系統(tǒng),利用單片機(jī)、ISD2560語(yǔ)音錄放器件、麥克風(fēng)、揚(yáng)聲器等元器件實(shí)現(xiàn)硬件電路的設(shè)計(jì),并利用C51高級(jí)語(yǔ)言設(shè)計(jì)ISD2560器件控制字的寫入和定時(shí)中斷程序。經(jīng)軟硬件調(diào)試,結(jié)果表明該系統(tǒng)錄放效果良好,具有一定的工程實(shí)用價(jià)值。 Abstract: Voice recording and playback system based on AT89C52is designed in this paper.Using the single-chip microcomputer,voice recording and playback chip ISD2560,microphone and speaker to realize the hardware circuit design.Writing ISD2560control words and timing interrupt procedures are designed by C51advanced language.Through the hardware and software test,voice recording and playback system play better voice,and this system has some engineering practical values.
上傳時(shí)間: 2013-10-20
上傳用戶:ywcftc277
MG3500SoC是支持H.264高清編解碼器的片上系統(tǒng),內(nèi)部集成一個(gè)嵌入式ARM926處理器,支持高清H.264編解碼、MPEG鄄2解碼和JPEG編解碼。介紹了MG3500SoC的主要性能特點(diǎn)、引腳排列、主要接口功能及在DVR上的應(yīng)用,以及MG3500SoC及其周圍器件的硬件設(shè)計(jì),提出了在設(shè)計(jì)中應(yīng)注意的問(wèn)題。 Abstract: The MG3500System-on-Chip(SoC)is high definition(HD)H.264codec,including ARM926-EJ processor,H.264encoder/decoder,MPEG2decoder and JPEG/MJPEG encoder/decoder.The features,pin assignments,interfaces and the typical application of MG3500in DVR are introduced in this paper.The application hardware circuit between the MG3500SoC and peripheral device are given,the questions which the syetem design needs to pay attention are explained.
上傳時(shí)間: 2013-11-12
上傳用戶:elinuxzj
介紹了當(dāng)前普通標(biāo)記機(jī)控制系統(tǒng)現(xiàn)狀及其存在缺點(diǎn),給出氣動(dòng)標(biāo)記機(jī)及相頻修正PWM模式的工作原理。采用ATmega16單片機(jī)和USB轉(zhuǎn)換RS232接口器件CH341T實(shí)現(xiàn)驅(qū)動(dòng)控制系統(tǒng)與PC的實(shí)時(shí)通訊,標(biāo)記控制系統(tǒng)可升級(jí)到USB接口。采用基于ATmega16的相頻修正PWM替換555振蕩電路產(chǎn)生的PWM,可直接通過(guò)軟件調(diào)整PWM信號(hào)。使用達(dá)林頓三極管TIP122替代直流繼電器驅(qū)動(dòng)高頻電磁閥,使得電磁閥驅(qū)動(dòng)電路簡(jiǎn)單,成本低廉。該控制系統(tǒng)已成功應(yīng)用于氣動(dòng)標(biāo)記機(jī)。 Abstract: In this paper,the actuality and demerit of the common gas marking machine control systems are described.The operation principle of the gas marking machine and the phase and frequency correct PWM of ATmega16is introduced.The real-time communication between the driving control system and PC by CH341T which its function is translated USB to RS232is realized,the control systems is updated grade to USB interface.The PWM signal can be adjustable by software for the555surge circuit was substituted by the phase and frequency.The high frequency electromagnetic value’s driving circuit by DC relay is replaced by TIP122,therefore,the circuit is become simple and the cost cheap.The control systems has been widely used in gas marking machine.
標(biāo)簽: ATmega 16 標(biāo)記 控制系統(tǒng)
上傳時(shí)間: 2013-10-18
上傳用戶:1427796291
為滿足礦井安全生產(chǎn)要求,介紹了一種以AT89C51單片機(jī)為主控器,對(duì)環(huán)境空氣的溫度、有毒易燃?xì)怏w的濃度等進(jìn)行檢測(cè)的監(jiān)控系統(tǒng)。該系統(tǒng)配合外圍電路能實(shí)現(xiàn)對(duì)上述環(huán)境指標(biāo)的控制并存儲(chǔ)相關(guān)數(shù)據(jù)與上位PC機(jī)通信。它采用硬件抗干擾和軟件抗干擾技術(shù),以確保整個(gè)系統(tǒng)工作的準(zhǔn)確性。 Abstract: In order to meet the needs of mine produce safety,a kind of intellignet mine ambient monotoring and control system based on AT89C51 is introduced.This system can detect the temperature of ambient of mine,the density of poisonous inflammable gas,combined external circuit.With its function part, this system can change above-mentioned elements.
上傳時(shí)間: 2013-11-10
上傳用戶:wendy15
Mega16是一款采用先進(jìn)RISC精簡(jiǎn)指令,內(nèi)置A/D的8位單片機(jī),可支持低電壓聯(lián)機(jī) Flash和EEPROM 寫入功能;同時(shí)還支持 Basic和C 等高級(jí)語(yǔ)言編程。用它設(shè)計(jì)電子時(shí)鐘不僅成本低,硬件簡(jiǎn)單,而且很容易實(shí)現(xiàn)系統(tǒng)移植。介紹了如何利用AVR系列單片機(jī)Mega16及1602字符液晶來(lái)設(shè)計(jì)電子時(shí)鐘的方法,同時(shí)給出了相應(yīng)的電路原理及部分語(yǔ)言程序。 Abstract: ?Mega16 is a high-performance, low power consumption, the use of advanced RISC concise instructions, built-in A/D 8-bit microcontrollers, the on-line support for low-voltage Flash, EEPROM write function. Except Mega16 also support the Basic, C, and other high-level language programming.The electronic clock which is deisgned by Mega16 is not only low-cost, simple hardware, but easy to achieve system migration.The design method of electrioic clock based on the AVR Mega16 and character LCD1602 is introduced in this paper,and the corresponding circuit electrionic and some language program are given.
上傳時(shí)間: 2014-12-27
上傳用戶:zl5712176
介紹了一種基于AT89S52微處理器、鍵控顯示模式、多漢字顯示的顯示模塊設(shè)計(jì)方法。對(duì)AT89S52的內(nèi)部功能及使用高128字節(jié)RAM時(shí)的尋址方式進(jìn)行說(shuō)明。給出了四漢字顯示模塊的硬件電路原理圖、主程序流程圖以及中斷顯示流程圖。 Abstract: The design method of display module base on the AT89S52 microcontroller,display mode controlled by keyboard and? showing several Chinese characterses are introduced in the paper.The internal function and the addressing mode for the high 128B RAM of the AT89S52 are explained.The basic circuit diagram,the main program flow chart and the display interrupt flow chart of four Chinese characterses display module are also given.
上傳時(shí)間: 2014-01-23
上傳用戶:咔樂(lè)塢
采用單片機(jī)AT89C2051實(shí)現(xiàn)溫度測(cè)量與控制,鍵盤和顯示電路實(shí)現(xiàn)溫度的設(shè)定、修改、清零以及當(dāng)前溫度值的顯示,并對(duì)溫度超過(guò)上下限進(jìn)行報(bào)警。闡述了該系統(tǒng)設(shè)計(jì)的硬件和軟件設(shè)計(jì)。 Abstract: The system of temperature measuring and controling is realized based on AT89C2051.The keyboard and display circuit is designed,which can be used for setting and modifying temperature value,resetting and displaying the present temperature value.At the same time the warning circuit is also designed in the system,which can deal with the alarm when temperature exceeds the upper limit and the lower limit.The hardware and software design of the system are explained.
上傳時(shí)間: 2013-11-18
上傳用戶:leehom61
為了解決磁放大器性能測(cè)試過(guò)程中,需要對(duì)其供給不同數(shù)值恒定電流的問(wèn)題,設(shè)計(jì)了一種基于DAC7512和單片機(jī)的數(shù)控恒流源系統(tǒng)。該系統(tǒng)采用AT89C51作為主控器件,將計(jì)算機(jī)發(fā)送的電流控制字命令轉(zhuǎn)換為D/A轉(zhuǎn)換器控制字,通過(guò)模擬SPI通信接口,寫D/A控制字到DAC7512,從而控制其輸出相應(yīng)數(shù)字電壓值,經(jīng)差動(dòng)縮放電路、電壓/電路變換電路和功率驅(qū)動(dòng)電路,最后輸出恒定電流。實(shí)驗(yàn)結(jié)果表明,恒流源輸出電流調(diào)節(jié)范圍為-45~+45 mA、精度為±0.1 mA,分辨率達(dá)0.024 4 mA,具有應(yīng)用靈活,外圍電路簡(jiǎn)單,可靠性高的特點(diǎn)。該數(shù)控直流恒流源也可為相關(guān)產(chǎn)品的測(cè)試系統(tǒng)研發(fā)提供參考。 Abstract: In order to solve the need to supply different values constant current for the magnetic amplifier in testing process, numerical control constant current source system was designed based on DAC7512 chip and microcontroller technology. The system used the AT89C51 as the main chip, which can convert the current control word from computer into to D/A control words. And the system wrote D/A control word into the DAC7512 chip to control the output voltage value by the SPI communication interface, which can output corresponding constant current figures by scaling circuit, the V/I converter and power drive circuit. Experimental results show that the current source output current adjustment range is -45~+45mA, accuracy is ± 0.1mA, and resolution ratio is 0.024 4mA
標(biāo)簽: 7512 DAC 數(shù)控直流 恒流源
上傳時(shí)間: 2014-12-27
上傳用戶:invtnewer
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1