為解決電致變色器件的顏色變化受外界環(huán)境顏色控制的問題,設(shè)計了一種基于單片機的便攜式顏色自適應(yīng)識別電路。與傳統(tǒng)顏色識別電路相比較,該電路利用數(shù)字式的顏色傳感器來獲取外界環(huán)境顏色,產(chǎn)生的數(shù)字顏色信號易于單片機進行處理。在電路中,下位機部分主要負(fù)責(zé)獲取電致變色器件變色參數(shù)及控制電致變色器件的顏色變化;而上位機部分主要負(fù)責(zé)把下位機獲取的電致變色器件變色參數(shù)進行電壓到顏色的曲線擬合,并通過藍(lán)牙通信把擬合曲線參數(shù)傳遞給下位機。結(jié)果表明,該電路能自動根據(jù)環(huán)境顏色提供-4~4 V范圍步進為0.1 V的電壓來驅(qū)動電致變色器件的顏色顯示,與傳統(tǒng)的顏色識別電路設(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.
上傳時間: 2013-11-09
上傳用戶:franktu
為了有效地提升鉛酸蓄電池的使用壽命,同時實現(xiàn)對充電過程的監(jiān)控,設(shè)計出一種用單片機控制的36 V鉛酸蓄電池充電電源。本電路采用反激式拓?fù)洌B續(xù)電流工作模式,電源管理IC設(shè)計在電源的副邊,由ELAN公司的EM78P258N單片機模擬,是用可編程器件模擬電源管理IC,實現(xiàn)智能電源低成本化的一次成功嘗試,通過對單片機的軟件設(shè)計實現(xiàn)了充電電源的狀態(tài)顯示、充電時間控制、報警、過溫保護、過壓保護、過流保護等功能。本充電器真正的實現(xiàn)了鉛酸蓄電池的三段式充電過程,其最高輸出功率可達90 W,效率約85%,成本不到20元,具有很高的市場競爭力。 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.
上傳時間: 2013-11-16
上傳用戶:cepsypeng
應(yīng)用德國Micronas公司的CDC3207G微控制器開發(fā)了一款汽車儀表板系統(tǒng)。詳細(xì)地介紹了該系統(tǒng)的硬件原理,以及步進電機,音頻控制,LCD顯示,LED指示燈和報警燈等幾個模塊的實現(xiàn)方法。應(yīng)用μC/OS-II實時操作系統(tǒng)開發(fā)軟件。著重介紹了啟動代碼的設(shè)計和任務(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 汽車儀表板
上傳時間: 2013-10-26
上傳用戶:x4587
AT89C2051驅(qū)動步進電機的電路和源碼:AT89C2051驅(qū)動步進電機的電路和源碼 程序: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 */ } }
上傳時間: 2013-11-21
上傳用戶:boyaboy
The TL2575 and TL2575HV represent superior alternatives to popular three-terminal linear regulators. Due totheir high efficiency, the devices significantly reduce the size of the heatsink and, in many cases, no heatsink isrequired. Optimized for use with standard series of inductors available from several different manufacturers, theTL2575 and TL2575HV greatly simplify the design of switch-mode power supplies by requiring a minimaladdition of only four to six external components for operation.
標(biāo)簽: STEP-DOWN SWITCHING SIMPLE 1A
上傳時間: 2013-11-20
上傳用戶:jelenecheung
51單片機驅(qū)動步進電機(含電路圖和源程序代碼) 源程序: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.h register 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() */
標(biāo)簽: 51單片機 驅(qū)動 步進電機 C語言
上傳時間: 2013-11-09
上傳用戶:釣鰲牧馬
CCS編程環(huán)境 使用的是匯編加C的混合編程方法: The programme of the Correlation Algorithm. Using INT2 to get the input signal. Array x, in first step, is the input signal produced by programme, in next step, is the input signal get from A/D, the length is 128, 32-bit floating point. Array y, in first step, is the input signal produced by programme, in next step, is the input signal get from A/D, the length is 128, 32-bit floating point. Array cor is the Correlation result, the length is 255, 32-bit floating point.
標(biāo)簽: Correlation Algorithm programme the
上傳時間: 2013-12-21
上傳用戶:leixinzhuo
%BIQPBOX Bisection reflective line search for sqpbox % [nx,nsig,alpha] = BIQPBOX(s,c,strg,x,y,sigma,l,u,... % oval,po,normg,DS,mtxmpy,data,H) % returns the new feasible point nx, the corresponding sign vector nsig, % and the step size of the unreflected step, alpha. % Copyright (c) 1990-98 by The MathWorks, Inc. % $Revision: 1.2 $ $Date:
標(biāo)簽: BIQPBOX reflective Bisection search
上傳時間: 2013-12-17
上傳用戶:sk5201314
Every day, patches are created to cover up security holes in software applications and operating systems. But by the time you download a patch, it could be too late. A hacker may have already taken advantage of the hole and wreaked havoc on your system. This innovative book will help you stay one step ahead. It gives you the tools to discover vulnerabilities in C-language-based software, exploit the vulnerabilities you find, and prevent new security holes from occurring.
標(biāo)簽: applications operating security software
上傳時間: 2015-11-01
上傳用戶:fhzm5658
this a pack include source code for quartus 2. It is an implementation of the LC2. The LC-2 computer is described in Introduction to Computing Systems from Bits & Gates to C & Beyond by Yale Patt and Sanjay Patel, McGraw Hill, 2001. The LC2 model can be run as a simulation or downloaded to the UP3 in a larger model, TOP_LC2 that adds video output. Push buttons reset and single step the processor and a video output display of registers is generated. This state machine VHDL-based model of the LC-2 includes all source files. Currently compiled for a Cyclone EP1C6Q240 FPGA.
標(biāo)簽: implementation include quartus source
上傳時間: 2013-12-25
上傳用戶:壞壞的華仔
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1