為解決電致變色器件的顏色變化受外界環境顏色控制的問題,設計了一種基于單片機的便攜式顏色自適應識別電路。與傳統顏色識別電路相比較,該電路利用數字式的顏色傳感器來獲取外界環境顏色,產生的數字顏色信號易于單片機進行處理。在電路中,下位機部分主要負責獲取電致變色器件變色參數及控制電致變色器件的顏色變化;而上位機部分主要負責把下位機獲取的電致變色器件變色參數進行電壓到顏色的曲線擬合,并通過藍牙通信把擬合曲線參數傳遞給下位機。結果表明,該電路能自動根據環境顏色提供-4~4 V范圍步進為0.1 V的電壓來驅動電致變色器件的顏色顯示,與傳統的顏色識別電路設計相比,識別的精度和速度都得到了明顯改善。 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
詳細介紹工控軟件組態王與單片機多機串口通訊的設計原理。分析組態王提供的直接與單片機串口通信方法的優點,給出系統基于RS-485總線傳輸的接口電路原理圖。根據組態王提供的通訊協議和單片機多機串口通訊的原理,給出程序設計流程與思路。 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.
上傳時間: 2013-12-19
上傳用戶:tecman
在需要實時大量輸入漢字的顯示控制處理應用中,利用傳統單片機實現顯示控制的設計方法是較難實現的。帶漢字字庫的液晶模塊的使用使得小容量ROM單片機的大量漢字信息輸入與顯示成為可能。提出了針對漢字字庫編碼的二級索引拼音輸入檢索方法,介紹了以ST7920作為控制器的帶漢字字庫的液晶顯示模塊的接口方法及漢字顯示和控制原理,給出了通用計算機鍵盤在單片機中的串行接口,采用該技術可大大增強單片機的漢字輸入功能。為小容量ROM單片機的大批量漢字信息處理提供了一種漢字輸入解決方案。 Abstract: It is difficult to realize Chinese characters input method based on the embedded system by using the traditional design method of display control. It is possible to input and display Chinese characters based on the embedded system with the ROM of small content by using the LCD module with Chinese characters.Chinese characters input method of the quadric index recall in allusion to Chinese characters code is brought forward.The interface and the principle of Chinese characters display control based on the LCD module controlled with the ST7920 is introduced too.The serial interface of the computer keyboard in common use and the embedded system is given at the same time. It can enhance the embedded system function of Chinese characters input by using this technology, and Provide a kind of Chinese characters input scheme for the embedded system with small capacity ROM.
上傳時間: 2013-11-19
上傳用戶:jhksyghr
介紹了一種基于MSP430系列單片機和ADXL203加速度傳感器的數字式傾角儀,它不僅可以實現水平度檢測,而且可以測量00~3600范圍內的任意傾角,分辨率可達O.1。。此外,由于該傾角儀輸出為數字結果,因此它也可以與其他的數字設備結合起來,組合成一個功能更加強大的儀器。該數字傾角儀可廣泛應用于建筑、機械、道路、橋梁、石油、煤礦和地質勘探等各種需要測量重力參考系下傾角的場合。關鍵詞:MSP430F133單片機;力敏傳感器;ADXL203加速度計;角度測量 Abstract:This paper presents a new style digital inclinometer which is developed on the basis of the MSP430F133 MCU and the ADXL203 dual axis aeeelerometer.This inclinometer not only can test levelness,but also can measure any angle between 0。and 360。with an accuracy of 0.1 O.In addition,its output is a digital result,which makes it possible to integrate itself with other digital devices to form a more functional unit.This inclinometer can be widely used in any construction site,oil field,coal-mine or geologic survey and SO on where it will Provide the working people with convenience to measure any angles.Key words:MSP430F133 MCU;force sensor;ADXL203 accelerometer;angle measurement
上傳時間: 2013-11-14
上傳用戶:lizhizheng88
The PCA9674/74A Provide general purpose remote I/O expansion for most microcontroller families via the two-line bidirectional bus (I2C-bus) and is a part of the Fast-mode Plus (Fm+) family.
上傳時間: 2013-10-28
上傳用戶:linyao
The PCA9536 is an 8-pin CMOS device that Provides 4 bits of General Purpose parallel Input/Output (GPIO) expansion for I2C-bus/SMBus applications and was developed to enhance the NXP Semiconductors family of I2C-bus I/O expanders. I/O expanders Provide a simple solution when additional I/O is needed for ACPI power switches, sensors, push buttons, LEDs, fans, etc.
上傳時間: 2013-10-27
上傳用戶:w230825hy
The PCA9534 is a 16-pin CMOS device that Provide 8 bits of General Purpose parallel Input/Output (GPIO) expansion for I2C-bus/SMBus applications and was developed to enhance the NXP Semiconductors family of I2C-bus I/O expanders. The improvements include higher drive capability, 5 V I/O tolerance, lower supply current, individual I/O configuration, 400 kHz clock frequency, and smaller packaging. I/O expanders Provide a simple solution when additional I/O is needed for ACPI power switches, sensors, push buttons, LEDs, fans, etc.
上傳時間: 2013-11-17
上傳用戶:vodssv
The LPC1700 Ethernet block contains a full featured 10 Mbps or 100 Mbps Ethernet MAC (Media Access Controller) designed to Provide optimized performance through the use of DMA hardware acceleration. Features include a generous suite of control registers, half or full duplex operation, flow control, control frames, hardware acceleration for transmit retry, receive packet filtering and wake-up on LAN activity. Automatic frame transmission and reception with Scatter-Gather DMA off-loads many operations from the CPU.
上傳時間: 2013-11-09
上傳用戶:geshaowei
The CAT823, CAT824, and CAT825 Provide basic reset and monitoring functions for the electronic systems. Each device monitors the system voltage and maintains a reset output until that voltage reaches the device’s specified trip value and then maintains the reset output active condition until the device’s internal timer, after a minimum timer of 140ms; toallow the systems power supply to stabilize.
上傳時間: 2014-11-18
上傳用戶:BOBOniu
The PAM2862 is a continuous mode inductivestep-down converter, designed for driving singleor multiple series connected LEDs efficientlyfrom a voltage source higher than the LEDvoltage. The device operates from an inputupply between 6V and 30V and Provides anexternally adjustable output current of up to 1A.Depending upon supply voltage and externalcomponents, this can Provide up to 24 watts ofoutput power.
上傳時間: 2013-11-16
上傳用戶:司令部正軍級