為解決電致變色器件的顏色變化受外界環(huán)境顏色控制的問(wèn)題,設(shè)計(jì)了一種基于單片機(jī)的便攜式顏色自適應(yīng)識(shí)別電路。與傳統(tǒng)顏色識(shí)別電路相比較,該電路利用數(shù)字式的顏色傳感器來(lái)獲取外界環(huán)境顏色,產(chǎn)生的數(shù)字顏色信號(hào)易于單片機(jī)進(jìn)行處理。在電路中,下位機(jī)部分主要負(fù)責(zé)獲取電致變色器件變色參數(shù)及控制電致變色器件的顏色變化;而上位機(jī)部分主要負(fù)責(zé)把下位機(jī)獲取的電致變色器件變色參數(shù)進(jìn)行電壓到顏色的曲線(xiàn)擬合,并通過(guò)藍(lán)牙通信把擬合曲線(xiàn)參數(shù)傳遞給下位機(jī)。結(jié)果表明,該電路能自動(dòng)根據(jù)環(huán)境顏色提供-4~4 V范圍步進(jìn)為0.1 V的電壓來(lái)驅(qū)動(dòng)電致變色器件的顏色顯示,與傳統(tǒng)的顏色識(shí)別電路設(shè)計(jì)相比,識(shí)別的精度和速度都得到了明顯改善。 Abstract: In this paper, a portable adaptive circuit for color identification(PACCI) based on MCU was designed. Compared to the traditional color identification circuit, the PACCI adopts digital sensor to detect the color data from external environment and further generate digital color data, which can be processed easily by MCU. In PACCI, the slave is mainly responsible for detecting the color parameters of the corresponding elcreochromic device and further driving it. For the master, which is mainly responsible for the color curve fitting based on the parameters of the electrochromic device, and transmits the fitting parameters to the slave through the bluetooth device. The results show that the PACCI can provide the basis voltage range from -4V to 4V automatically based on the colors of external environment with step as 0.1V to drive the corresponding electrochromic device. Compared to the traditional color recognition circuit, the recognition accuracy and speed of PACCI have been improved significantly.
上傳時(shí)間: 2013-11-09
上傳用戶(hù):franktu
現(xiàn)有基于MAX7219芯片的數(shù)碼管驅(qū)動(dòng)電路只適用于小尺寸LED,為擴(kuò)展其使用范圍,在介紹動(dòng)態(tài)顯示芯片MAX7219功能的基礎(chǔ)上,提出了一個(gè)基于該芯片的8位高亮度8英寸數(shù)碼管驅(qū)動(dòng)電路。電路保留了MAX7219芯片的功能強(qiáng)大、編程簡(jiǎn)單等優(yōu)點(diǎn),通過(guò)74LS273鎖存器和ULN2803達(dá)林頓驅(qū)動(dòng)器,實(shí)現(xiàn)了對(duì)任意大尺寸數(shù)碼管提供較高電壓和電流驅(qū)動(dòng)的靜態(tài)顯示,并亮度可調(diào)。 Abstract: The existing display-driving circuit based on MAX7219 was only applicable to small-size LED. To expand its use, based on the function introduction of dynamic display chip MAX7219, a display-driving circuit for high-brightness 8-bit LED with the size of 8-inch was proposed. The advantages of MAX7219 were retained, such as powerful function and simple programming. Static display with adjustable brightness for large-size LED with higher voltage and current was achieved with the help of 74LS273 and ULN2803.
標(biāo)簽: 7219 MAX LED 數(shù)碼顯示
上傳時(shí)間: 2013-10-23
上傳用戶(hù):31633073
為了有效地提升鉛酸蓄電池的使用壽命,同時(shí)實(shí)現(xiàn)對(duì)充電過(guò)程的監(jiān)控,設(shè)計(jì)出一種用單片機(jī)控制的36 V鉛酸蓄電池充電電源。本電路采用反激式拓?fù)洌B續(xù)電流工作模式,電源管理IC設(shè)計(jì)在電源的副邊,由ELAN公司的EM78P258N單片機(jī)模擬,是用可編程器件模擬電源管理IC,實(shí)現(xiàn)智能電源低成本化的一次成功嘗試,通過(guò)對(duì)單片機(jī)的軟件設(shè)計(jì)實(shí)現(xiàn)了充電電源的狀態(tài)顯示、充電時(shí)間控制、報(bào)警、過(guò)溫保護(hù)、過(guò)壓保護(hù)、過(guò)流保護(hù)等功能。本充電器真正的實(shí)現(xiàn)了鉛酸蓄電池的三段式充電過(guò)程,其最高輸出功率可達(dá)90 W,效率約85%,成本不到20元,具有很高的市場(chǎng)競(jìng)爭(zhēng)力。 Abstract: In order to extend the life of lead-acid battery efficiently and supervise the charging process meanwhile, a 36V lead-acid battery charge powe supply controlled by microcontroller is designed. The charger is flyback switching power supply and works in CCM mode. A EM78P258N microcontroller made by ELAN microelectronics corporation is used as power management IC which is designed at the secondary circuit. The project is a successful attempt to low-cost intelligent power used microcontroller simulating power management IC. The charger also has the functions of the status reveal, charge time control, alarming, thermal protect, current limit and overvoltage protect by the software design. The circuit actually implements the three-step charge process, whose power is up to 90W and whose efficiency can get 85%. The net cost of this charger is less than 20 RMB, so that the charger is of powerful market competitiveness.
標(biāo)簽: 單片機(jī)控制 充電電源 鉛酸蓄電池
上傳時(shí)間: 2013-11-16
上傳用戶(hù):cepsypeng
以太網(wǎng)和CAN總線(xiàn)應(yīng)用廣泛,但由于其通信協(xié)議不同,兩種總線(xiàn)器件間無(wú)法進(jìn)行數(shù)據(jù)通信,因此,設(shè)計(jì)了基于CP2200與C8051F040的以太網(wǎng)總線(xiàn)與CAN總線(xiàn)接口轉(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
上傳用戶(hù):Ants
應(yīng)用德國(guó)Micronas公司的CDC3207G微控制器開(kāi)發(fā)了一款汽車(chē)儀表板系統(tǒng)。詳細(xì)地介紹了該系統(tǒng)的硬件原理,以及步進(jìn)電機(jī),音頻控制,LCD顯示,LED指示燈和報(bào)警燈等幾個(gè)模塊的實(shí)現(xiàn)方法。應(yīng)用μC/OS-II實(shí)時(shí)操作系統(tǒng)開(kāi)發(fā)軟件。著重介紹了啟動(dòng)代碼的設(shè)計(jì)和任務(wù)的規(guī)劃。 Abstract: A dashboard system is developed by using CDC3207G microcontroller made by Micronas.The hardware of the sys-tem and the realization of the step motor module,audio module,LCD display and LED indicator and alarm module are ex-plained in detail.The μC/OS-II real-time operating system is used for the software development and the starting code design and the task planning is explained specifically.
標(biāo)簽: 3207G 3207 CDC 汽車(chē)儀表板
上傳時(shí)間: 2013-10-26
上傳用戶(hù):x4587
基于幅移鍵控技術(shù)ASK(Amplitude-Shift Keying),以C8051F340單片機(jī)作為監(jiān)測(cè)終端控制器,C8051F330D單片機(jī)作為探測(cè)節(jié)點(diǎn)控制器,采用半雙工的通信方式,通過(guò)監(jiān)控終端和探測(cè)節(jié)點(diǎn)的無(wú)線(xiàn)收發(fā)電路,實(shí)現(xiàn)數(shù)據(jù)的雙向無(wú)線(xiàn)傳輸。收發(fā)電路采用直徑為0.8 mm的漆包線(xiàn)自行繞制成圓形空心線(xiàn)圈天線(xiàn),天線(xiàn)直徑為(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ú)線(xiàn)收發(fā)模塊相比,該無(wú)線(xiàn)收發(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ú)線(xiàn)收發(fā) 電路設(shè)計(jì)
上傳時(shí)間: 2013-10-19
上傳用戶(hù):xz85592677
NXP Semiconductor designed the LPC2400 microcontrollers around a 16-bit/32-bitARM7TDMI-S CPU core with real-time debug interfaces that include both JTAG andembedded Trace. The LPC2400 microcontrollers have 512 kB of on-chip high-speedFlash memory. This Flash memory includes a special 128-bit wide memory interface andaccelerator architecture that enables the CPU to execute sequential instructions fromFlash memory at the maximum 72 MHz system clock rate. This feature is available onlyon the LPC2000 ARM Microcontroller family of products. The LPC2400 can execute both32-bit ARM and 16-bit Thumb instructions. Support for the two Instruction Sets meansEngineers can choose to optimize their application for either performance or code size atthe sub-routine level. When the core executes instructions in Thumb state it can reducecode size by more than 30 % with only a small loss in performance while executinginstructions in ARM state maximizes core performance.
上傳時(shí)間: 2013-11-15
上傳用戶(hù):zouxinwang
Virtex-5, Spartan-DSP FPGAs Application Note This application note demonstrates how efficient implementations of Digital Up Converters(DUC) and Digital Down Converters (DDC) can be done by leveraging the Xilinx DSP IPportfolio for increased productivity and reduced time to development. Step-by-step instruction is given on how to perform system-level trade off analysis and develop the most efficient FPGA implementation, thus allowing engineers a flexible, low-cost and low-power alternative to ASSP technologies.
標(biāo)簽: Spartan-DSP Virtex FPGAs Ap
上傳時(shí)間: 2013-10-23
上傳用戶(hù):raron1989
AT89C2051驅(qū)動(dòng)步進(jìn)電機(jī)的電路和源碼:AT89C2051驅(qū)動(dòng)步進(jìn)電機(jī)的電路和源碼 程序:stepper.c stepper.hex/* * STEPPER.C * sweeping stepper's rotor cw and cww 400 steps * Copyright (c) 1999 by W.Sirichote */#i nclude c:\mc5151io.h /* include i/o header file */ #i nclude c:\mc5151reg.hregister unsigned char j,flag1,temp; register unsigned int cw_n,ccw_n;unsigned char step[8]={0x80,0xc0,0x40,0x60,0x20,0x30,0x10,0x90} #define n 400/* flag1 mask byte 0x01 run cw() 0x02 run ccw() */main(){ flag1=0; serinit(9600); disable(); /* no need timer interrupt */ cw_n = n; /* initial step number for cw */ flag1 |=0x01; /* initial enable cw() */while(1){ { tick_wait(); /* wait for 10ms elapsed */energize(); /* round-robin execution the following tasks every 10ms */ cw(); ccw(); } }}cw(){ if((flag1&0x01)!=0) { cw_n--; /* decrement cw step number */ if (cw_n !=0) j++; /* if not zero increment index j */ else {flag1&=~0x01; /* disable cw() execution */ ccw_n = n; /* reload step number to ccw counter */ flag1 |=0x02; /* enable cww() execution */ } }
上傳時(shí)間: 2013-11-21
上傳用戶(hù):boyaboy
The XL6003 regulator is fixed frequency PWM Boost (step-up) DC/DC converter, capable ofdriving 1050mA load current with excellent line and load regulation. The regulator is simple to use because it includes internal frequency compensation and a fixed-frequency oscillator so that it requires a minimum number of external components to work. The XL6003 could directly drive 5~10 3W LED units at VIN=12V.
上傳時(shí)間: 2013-11-07
上傳用戶(hù):xy@1314
蟲(chóng)蟲(chóng)下載站版權(quán)所有 京ICP備2021023401號(hào)-1