為解決當(dāng)前計(jì)算機(jī)串行通訊接口只有USB,難以滿足舊型號(hào)設(shè)備或某些單片機(jī)要求RS232通訊的問(wèn)題,設(shè)計(jì)出兩款RS232/USB電路。采用CH341A與MAX223集成電路芯片構(gòu)建標(biāo)準(zhǔn)9線RS232/USB通用接口轉(zhuǎn)換器,無(wú)需編程。采用CH341A與PIC16F877A構(gòu)建單片機(jī)與計(jì)算機(jī)之間的USB通訊電路,軟件遵循RS232通訊協(xié)議,硬件進(jìn)行電平轉(zhuǎn)換。實(shí)際使用表明,這兩款產(chǎn)品與計(jì)算機(jī)端Windows 操作系統(tǒng)下的串口應(yīng)用程序完全兼容,且通訊過(guò)程中無(wú)握手失敗現(xiàn)象。 Abstract: To solve the problem that current computer serial communication only with USB interface can not satisfy with the old type equipments or MCU to communicate with RS232, two kinds of RS232/USB circuit were designed.CH341A and MAX223 integrated circuit chips were used to create a standard 9-line RS232/USB universal interface convertor without programme. CH341A and PIC16F877A chips were adopted to build the USB communication circuit between computers and MCU. The software follows RS232 communication protocol, and the hardware converts electrical levels. Actual practices indicate that the two manufactures are compatible with serial application program of Windows operation system completely,and get avoid of handshake lost.
上傳時(shí)間: 2013-11-03
上傳用戶:siying
以太網(wǎng)和CAN總線應(yīng)用廣泛,但由于其通信協(xié)議不同,兩種總線器件間無(wú)法進(jìn)行數(shù)據(jù)通信,因此,設(shè)計(jì)了基于CP2200與C8051F040的以太網(wǎng)總線與CAN總線接口轉(zhuǎn)換電路,并給出部分相關(guān)硬件電路與軟件設(shè)計(jì)分析。在保證數(shù)據(jù)完整和協(xié)議可靠的前提下,通過(guò)握手協(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
提出一種基于凌陽(yáng)單片機(jī)的步進(jìn)電機(jī)加減速的控制方法。采用凌陽(yáng)科技推出的16位結(jié)構(gòu)工控單片機(jī)SPMC75F2413A為控制器,由Allegro公司生產(chǎn)的兩相步進(jìn)電機(jī)專(zhuān)用驅(qū)動(dòng)器件SLA7042M構(gòu)成步進(jìn)電機(jī)的驅(qū)動(dòng)電路,在傳統(tǒng)的3段直線加減速控制算法基礎(chǔ)上增加至7段S形曲線加減速過(guò)程,控制步進(jìn)電機(jī)的啟動(dòng)和停止。實(shí)驗(yàn)結(jié)果表明,該控制方法克服了直線加減速中不連續(xù)、易造成系統(tǒng)沖擊的問(wèn)題,整個(gè)系統(tǒng)實(shí)現(xiàn)柔性控制,電機(jī)啟動(dòng)、停止連續(xù)性能提高30%。 Abstract: The method of controlled stepping motor is referred based on SPMC75F2413A MCU, which adopts the 16 knots SPMC75F2413A MCU as the controller. The special-purpose actuation chip SLA7042M of two stepping motor produced by Allegro Corporation constituted to actuation electric circuit. The purpose of increasing to seven section of S shape curve based on the traditional three sections of straight line is to control the start and stop process of stepping motor. The experimental results show that the control method solves easy to pull-out and overshot problems. The overall system realizes flexible control, and the performance of motor start or stop continuity is increased 30%
標(biāo)簽: 凌陽(yáng)單片機(jī) 步進(jìn)電機(jī) 減 控制方法
上傳時(shí)間: 2013-12-08
上傳用戶:jiangfire
介紹一種基于C8051單片機(jī)的動(dòng)態(tài)心電監(jiān)護(hù)系統(tǒng)。該系統(tǒng)由兩部分組成:以C8051F320單片機(jī)為核心的數(shù)據(jù)采集裝置和以PC機(jī)為平臺(tái)的分析處理系統(tǒng)。硬件電路功耗低,由單片機(jī)自帶的USB接口將數(shù)據(jù)傳送給PC機(jī)。軟件平臺(tái)采用LabVIEW可視化虛擬儀器系統(tǒng)開(kāi)發(fā)平臺(tái),將傳統(tǒng)儀器的功能模塊集成到計(jì)算機(jī)中,用戶可通過(guò)修改虛擬儀器的程序改變其功能。采用USB接口實(shí)時(shí)傳輸心電數(shù)據(jù),并將數(shù)據(jù)采集模塊設(shè)計(jì)為計(jì)算機(jī)外設(shè),使該系統(tǒng)高速快捷、小巧便攜。 Abstract: In this design,a low-cost ECG electrocardiogram monitoring system is introduced,which consists of two parts:data acquisition device based on C8051F320and PC terminal as the analysis and processing system.The system is low-power consumption,the data is transmitted to the PC terminal by USB interface of the C8051F320.By using the visible virtual instrument system developing platform LabVIEW,the traditional instruments function modules are integrated into the computer,so the user can modify virtual instrument software to change its function to meet their needs.Using USB in-terface to realize real-time ECG data transmission,in addition,ECG data acquisition module is designed as the computer peripheral,which makes the syetem high-speed and portable.
標(biāo)簽: C8051F320 心電監(jiān)護(hù) 系統(tǒng)設(shè)計(jì)
上傳時(shí)間: 2013-11-13
上傳用戶:zhangzhenyu
介紹一種基于CAN總線的牽引變電站自動(dòng)化系統(tǒng)通訊規(guī)約的設(shè)計(jì),CAN通訊規(guī)約采用標(biāo)準(zhǔn)幀,報(bào)文采用主動(dòng)發(fā)送和發(fā)送查詢兩種處理形式。該設(shè)計(jì)在城市輕軌與地鐵牽引變電站中的應(yīng)用表明:可實(shí)現(xiàn)間隔層和通訊處理層的數(shù)據(jù)快速、可靠的交換,提高牽引變電站的安全性和穩(wěn)定性 。 Abstract: This paper firstly presents a kind of design dealing with communicational protocol to the traction substation automation system based on CAN bus,and then comes up with the ideas that all frames of CAN communicational protocol should adopt the standard frame,and that messages be processed by two ways:sending initiatively and sending quiries.Subway and light rail application shows that the use of the CAN bus is possible to exchange data quickly and reliably between the layers of the middle and the communicational processing,hence to improve the safety and stability of traction substations.
上傳時(shí)間: 2013-11-07
上傳用戶:bs2005
介紹一種多功能音樂(lè)播放器,它是以AT89S52單片機(jī)為核心,并輔有一些外圍器件,采用匯編語(yǔ)言編寫(xiě)程序,實(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.
上傳時(shí)間: 2013-11-18
上傳用戶:xiaodu1124
對(duì)于傳統(tǒng)的跑步機(jī)無(wú)法聯(lián)機(jī)組網(wǎng),保存歷史數(shù)據(jù),實(shí)時(shí)調(diào)試等問(wèn)題,介紹了一個(gè)由多臺(tái)跑步機(jī)通過(guò)RS-232串行總線與上位機(jī)相連組成的跑步機(jī)聯(lián)網(wǎng)系統(tǒng)。系統(tǒng)采用W77E58作為下位機(jī)核心控制器件,它具有雙串行通訊端口,其中一個(gè)串口用于與變頻器通訊,另一個(gè)串口則與上位機(jī)相連,構(gòu)成跑步機(jī)網(wǎng)絡(luò)。 Abstract: The traditional running machine can not be connected to a network, saving historical data, real time debug etc.In this paper,a new network system which is composed of running machines connected by a RS-232 communication bus is introduced.In the system,W77E58 is used as a core control unit.W77E58 has two serial ports,one is connected to the inverter and the other is connected to the PC. Thus a network appears.
標(biāo)簽: W77E58 跑步機(jī) 聯(lián)網(wǎng)系統(tǒng)
上傳時(shí)間: 2014-12-27
上傳用戶:哇哇哇哇哇
為深入了解基于UC3854A控制的PFC變換器中的動(dòng)力學(xué)特性,研究系統(tǒng)參數(shù)變化對(duì)變換器中分岔現(xiàn)象的影響,在建立Boost PFC變換器雙閉環(huán)數(shù)學(xué)模型的基礎(chǔ)上,用Matlab軟件對(duì)變換器中慢時(shí)標(biāo)分岔及混沌等不穩(wěn)定現(xiàn)象進(jìn)行了仿真。在對(duì)PFC變換器中慢時(shí)標(biāo)分岔現(xiàn)象仿真的基礎(chǔ)上,分析了系統(tǒng)參數(shù)變化對(duì)分岔點(diǎn)的影響,并進(jìn)行了仿真驗(yàn)證。仿真結(jié)果清晰地顯示了輸入整流電壓的幅值變化對(duì)系統(tǒng)分岔點(diǎn)的影響。 Abstract: In order to better understand the dynamics characteristic of power factor correction converter based on UC3854A, and make the way that parameters change influences the bifurcation phenomena of the system clearly. The math model of the two closed loop circuits to the Boost PFC (Power Factor Correction) converter controller was built. Then, with the help of Matlab, the simulation for nonlinear phenomena such as chaos and slow-scale bifurcation in the PFC converter was made. Finally the factors that have influence to the phenomenon of bifurcation under slow-scale in PFC converter were analyzed. The simulation results clearly show the parameters change influences the bifurcation point of the system.
上傳時(shí)間: 2013-10-17
上傳用戶:杜瑩12345
基于幅移鍵控技術(shù)ASK(Amplitude-Shift Keying),以C8051F340單片機(jī)作為監(jiān)測(cè)終端控制器,C8051F330D單片機(jī)作為探測(cè)節(jié)點(diǎn)控制器,采用半雙工的通信方式,通過(guò)監(jiān)控終端和探測(cè)節(jié)點(diǎn)的無(wú)線收發(fā)電路,實(shí)現(xiàn)數(shù)據(jù)的雙向無(wú)線傳輸。收發(fā)電路采用直徑為0.8 mm的漆包線自行繞制成圓形空心線圈天線,天線直徑為(3.4±0.3)cm。試驗(yàn)表明,探測(cè)節(jié)點(diǎn)與監(jiān)測(cè)終端的通信距離為24 cm,通過(guò)橋接方式,節(jié)點(diǎn)收發(fā)功率為102 mW時(shí),節(jié)點(diǎn)間的通信距離可達(dá)20 cm。與傳統(tǒng)無(wú)線收發(fā)模塊相比,該無(wú)線收發(fā)電路在受體積、功耗、成本限制的場(chǎng)合有廣闊的應(yīng)用前景。 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.
標(biāo)簽: C8051F 單片機(jī) 無(wú)線收發(fā) 電路設(shè)計(jì)
上傳時(shí)間: 2013-10-19
上傳用戶:xz85592677
The PCF8578 is a low power CMOS1 LCD row and column driver, designed to drive dotmatrix graphic displays at multiplex rates of 1:8, 1:16, 1:24 or 1:32. The device has40 outputs, of which 24 are programmable and configurable for the following ratios ofrows/columns: 32¤8, 24¤16, 16¤24 or 8¤32. The PCF8578 can function as a stand-alone LCDcontroller and driver for use in small systems. For larger systems it can be used inconjunction with up to 32 PCF8579s for which it has been optimized. Together these twodevices form a general purpose LCD dot matrix driver chip set, capable of driving displaysof up to 40960 dots. The PCF8578 is compatible with most microcontrollers andcommunicates via a two-line bidirectional bus (I2C-bus). Communication overhead isminimized by a display RAM with auto-incremented addressing and display bankswitching.
標(biāo)簽: 8578 PCF LCD 圖形點(diǎn)陣
上傳時(shí)間: 2013-10-23
上傳用戶:頂?shù)弥?/p>
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1