詳細(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.
以89S52單片機(jī)和EP1C6Q240C8型FPGA為控制核心的多功能計(jì)數(shù)器,是由峰值檢波、A/D轉(zhuǎn)換、程控放大、比較整形、移相網(wǎng)絡(luò)部分組成,可實(shí)現(xiàn)測(cè)量正弦信號(hào)的頻率、周期和相位差的功能。多功能計(jì)數(shù)器采用等精度的測(cè)量方法,可實(shí)現(xiàn)頻率為1Hz~10MHz、幅度為0.01~5Vrms的正弦信號(hào)的精確測(cè)頻,以及頻率為10Hz~100kHz、幅度為0.5~5Vrms的正弦信號(hào)精確測(cè)相。液晶顯示器能夠?qū)崟r(shí)顯示當(dāng)前信號(hào)的頻率、周期和相位差。該多功能計(jì)數(shù)器精度高,界面友好,實(shí)用性強(qiáng)。
Abstract:
A multi-function counter,which uses89S52MCU and EP1C6Q240C8FPGA as a control core,consists of peak detector,A/D conversion,program-controlled amplification,compared shaping and phase-shifting network part.The counter measures the frequency,period and phase of sinusoidal signal.With the equal precision method,the multi-function counter achieves the precise frequency measurement of the sinusoidal signal which its frequency is from1Hz to10MHz,its amplitude is from0.01Vrms to5Vrms,as well as the accurate phase measurement of the sinusoidal signal which its frequency is from10Hz to100kHz,its amplitude is from0.5Vrms to5Vrms.The LCD monitor real-time displays the frequency,period and phase difference of current signal.The multi-function counter features high precision,friendly interface,and strong practical.
介紹一種多功能音樂(lè)播放器,它是以AT89S52單片機(jī)為核心,并輔有一些外圍器件,采用匯編語(yǔ)言編寫程序,實(shí)現(xiàn)多功能音樂(lè)播放,歌曲自動(dòng)循環(huán)播放和使用琴鍵自編曲目功能。此外,彩燈顯示歌曲節(jié)奏,按鍵跳轉(zhuǎn)到喜愛(ài)曲目,液晶顯示當(dāng)前播英文曲目。并給出了系統(tǒng)軟硬件設(shè)計(jì)。
Abstract:
It introduces a multifunctional music player,taking AT89S52 single-chip microcomputer as hardware control core and using some peripheral elements.Programmes are compiled in assembly language to act as expected.There are two functional modes in this system.One is to make the music play automatically and consecutively,the other is to compose new songs through keys.In addition,lights show the pace of music and the English names can be displayed in the liquid crystal screen.With perfect combination of hardware and software,the music player can meet many music lovers’needs for multifunctional music player.And the hardware and software of the system are given.
介紹了一種基于C8051F020單片機(jī)的多路壓力測(cè)量?jī)x。該測(cè)量?jī)x選用電阻應(yīng)變式壓力傳感器采集壓力信號(hào),并經(jīng)放大電路處理后送入C8051F020單片機(jī),再由C8051F020單片機(jī)內(nèi)部的A/D轉(zhuǎn)換器將采集到的壓力信號(hào)進(jìn)行模數(shù)轉(zhuǎn)化,然后分別對(duì)數(shù)據(jù)進(jìn)行存儲(chǔ)和顯示。該測(cè)量?jī)x能測(cè)量6路壓力信號(hào),并且各測(cè)量點(diǎn)都能單獨(dú)檢測(cè)和設(shè)置。由于采用了C8051F020單片機(jī),簡(jiǎn)化了硬件電路,增強(qiáng)了抗干擾能力,使得測(cè)量?jī)x具有測(cè)量精度高,沖擊小等特點(diǎn)。
Abstract:
A measurement apparatus for multi-channel pressure based on single chip microcomputer is introduced.It can measure 6 channels signal of the pressure,and the pressure measure points can be detection and located individually.The pressure signal sampling is obtained by resistor stress-type pressure sensors,the digital signals of 6 channels are collected through amplifying and adjustment circuit of pressure signals and internal integrated A/D converter of MCU.Finally,and it realizes the function to store and display data separately.C8051F020 was used to made hardware circuit simple,and it also enhanced the anti-interference ability.It features high precision and little impact.
主要介紹了以PIC18F2480單片機(jī)為處理器,基于可編程多路開(kāi)關(guān)檢測(cè)接口器件MC33993實(shí)現(xiàn)的車用多路開(kāi)關(guān)檢測(cè)接口電路的設(shè)計(jì)。該設(shè)計(jì)克服了以往基于分立元件的檢測(cè)接口電路的弊端,簡(jiǎn)化了接口電路設(shè)計(jì),保證了車用開(kāi)關(guān)工作的可靠性和安全性。
Abstract:
The design of automotive multiple switch detection interface circuit based on MC33993 is introduced mainly which adopts PIC18F2480 single chip microprocessor.This circuit overcomes shortage of traditional design which contains many schism elements, and the application of MC33993 also predigests the whole design of interface circuit and guarantees the dependability and security of the switch.
介紹一種基于單片機(jī)的多路溫度采集及監(jiān)控系統(tǒng),能夠測(cè)量6路溫度信號(hào),具有計(jì)算機(jī)聯(lián)網(wǎng)功能,各測(cè)量點(diǎn)可以單獨(dú)監(jiān)控和設(shè)置,可根據(jù)用戶的需求自動(dòng)控制。測(cè)量溫度范圍為-10 ℃~200 ℃,控制方式采用模擬量調(diào)壓模式。該系統(tǒng)具有控制精度高、沖擊小等特點(diǎn)。
Abstract:
A temperature collecting and surveillance-controlling system based on sing-chip microcomputer is introduced. It can measure 6 channel signal of the temperature,and it has a function of network connection.The temperature measure points can be monitored and located, it can be controlled automatic according to user’s demand.The temperature range is -10℃ to 200℃.The model of control is adjustable voltage with simulation. It features high precision and little impact.
摘要:介紹利用80C31單片機(jī)串行口、廉價(jià)的74HC164和74HC244集成塊實(shí)現(xiàn)多個(gè)LED顯示的一種簡(jiǎn)單方法,利用該方法設(shè)計(jì)的多路LED顯示系統(tǒng)具有硬件結(jié)構(gòu)簡(jiǎn)單、軟件編程容易和價(jià)格低廉的特點(diǎn)。關(guān)鍵詞:?jiǎn)纹瑱C(jī) 串行口 LED 顯示 80C31