為解決電致變色器件的顏色變化受外界環境顏色控制的問題,設計了一種基于單片機的便攜式顏色自適應識別電路。與傳統顏色識別電路相比較,該電路利用數字式的顏色傳感器來獲取外界環境顏色,產生的數字顏色信號易于單片機進行處理。在電路中,下位機部分主要負責獲取電致變色器件變色參數及控制電致變色器件的顏色變化;而上位機部分主要負責把下位機獲取的電致變色器件變色參數進行電壓到顏色的曲線擬合,并通過藍牙通信把擬合曲線參數傳遞給下位機。結果表明,該電路能自動根據環境顏色提供-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.
介紹一種基于C8051單片機的動態心電監護系統。該系統由兩部分組成:以C8051F320單片機為核心的數據采集裝置和以PC機為平臺的分析處理系統。硬件電路功耗低,由單片機自帶的USB接口將數據傳送給PC機。軟件平臺采用LabVIEW可視化虛擬儀器系統開發平臺,將傳統儀器的功能模塊集成到計算機中,用戶可通過修改虛擬儀器的程序改變其功能。采用USB接口實時傳輸心電數據,并將數據采集模塊設計為計算機外設,使該系統高速快捷、小巧便攜。
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.
Bootloader是微處理器上電時運行的第一段代碼,它可以通過通信接口實現對微處理器內部應用程序的更新升級,為網絡化嵌入式產品的應用程序升級帶來極大的便利。由于目前沒有統一嵌入式系統的Bootloader。基于NEC 78K0系列單片機自編程原理,設計出一個適用于78K0/Fx2系列單片機的Bootloader,并能夠通過單片機串口在線升級應用程序。
Abstract:
Bootloader is the first piece of code executed after microprocessor startup. It makes the embedded product’s firmware update conveniently through communication interface. However, no unified bootloader is available for all kinds of microprocessor products. Based on the principle of self-programming NEC 78K0s’ series, a useful Bootloader which is suitable for 78K0/Fx2s’ series MCU is designed,the design can update the application through serial ports.