Modbus CRC 校驗碼的小程序
上傳時間: 2013-10-23
上傳用戶:6546544
兩輪自平衡小車
標簽: 自平衡
上傳時間: 2013-11-15
上傳用戶:ghostparker
單軸雙輪自平衡車
標簽: 自平衡
上傳時間: 2014-01-05
上傳用戶:萍水相逢
傳統多模態生物特征識別方法當出現生物特征缺失時,識別性能會明顯下降。針對此問題,提出一種融合人臉、虹膜和掌紋的自適應并行結構多模態生物識別方法。該方法在設計融合策略時,考慮到所有可能的輸入缺失,構造并行結構的融合函數集,在實際應用時根據輸入狀態自適應的選擇融合策略進行識別。實驗仿真結果表明該方法既可提高識別可靠性又可實現當有生物特征缺失時的性能穩定。
上傳時間: 2013-11-02
上傳用戶:huangld
巧用8051單片機的奇偶校驗,
上傳時間: 2013-10-13
上傳用戶:330402686
用于串口校驗的CRC16
上傳時間: 2013-11-15
上傳用戶:wettetw
為解決電致變色器件的顏色變化受外界環境顏色控制的問題,設計了一種基于單片機的便攜式顏色自適應識別電路。與傳統顏色識別電路相比較,該電路利用數字式的顏色傳感器來獲取外界環境顏色,產生的數字顏色信號易于單片機進行處理。在電路中,下位機部分主要負責獲取電致變色器件變色參數及控制電致變色器件的顏色變化;而上位機部分主要負責把下位機獲取的電致變色器件變色參數進行電壓到顏色的曲線擬合,并通過藍牙通信把擬合曲線參數傳遞給下位機。結果表明,該電路能自動根據環境顏色提供-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
單片機雙工通信時用到的校驗方式 Ø奇偶校驗原理:通過計算數據中“1”的個數是奇數還是偶數來判斷數據的正確性。在被校驗的數據后加一位校驗位或校驗字符用作校驗碼實現校驗。 Ø校驗位的生成方法 Ø奇校驗:確保整個被傳輸的數據中“1”的個數是奇數個,即載荷數據中“1”的個數是奇數個時校驗位填“0”,否則填“1”; 偶校驗:確保整個被傳輸的數據中“1”的個數是偶數個,即載荷數據中“1”的個數是奇數個時校驗位填“1”,否則填“0”
上傳時間: 2013-10-16
上傳用戶:天誠24
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.
標簽: Bootloader MCU 自編程
上傳時間: 2013-10-26
上傳用戶:fang2010
采用RISC結構型單片機Atmega128作為微處理器,320×240點陣大屏幕液晶顯示器,全中文界面,讀數直觀,測量迅速,可在規程要求的測量點自動進行測量。模擬線路采用電位差式測量原理,具有較高的抗電磁干擾能力和較好的穩定性,結合微處理器技術及系統的引入,使該產品成為高智能化數字測量儀器。本產品執行標準及檢定規格:《JJG169-93互感器校驗儀檢定規程》、《JJG313-94測量用電流互感器檢定規程》、《GB1208-1997電流互感器》、《DL/T668-1999測量用互感器檢驗裝置》、《DL/T448-2000電能計量裝置技術管理規程》,測量對象為0.5級及以下精度電流互感器。
上傳時間: 2013-11-11
上傳用戶:ginani