針對51單片機系統中常用的A/D轉換器價格高、精度低的缺點,介紹TI公司的16 位的帶有I2C串行接口的A/D轉換器ADS1110的工作原理,給出ADS1110與AT89C51單片機系統的接口電路和軟件設計。實踐證明,ADS1110具有高性價比和實用性。 Abstract: According to the disadvantages of high expense and low accuracy of the general A/D converter used in MCS51 microchip system,the principle and working process of a high accuracy 16-bit A/D conversion ADS1110 which has I2C bus and belongs to TI Company are proposed here as well as the InterfACe of ADS1110 to AT89C51 and software list.It is proved to be high performance index and practicability.
上傳時間: 2013-11-21
上傳用戶:gyq
以AVR單片機ATmega8和USB接口器件PDIUSBD12為核心,基于標準的USB1.1協議,設計一種通用USB接口模塊,以滿足嵌入式系統中對USB接口的需求。對模塊的硬件電路或單片機固件程序的硬件接口層稍加修改即可用于其他各種微處理器。該模塊可為各種嵌入式系統增加USB接口,實現與USB主機系統通信。 Abstract: Based on AVR microcontroller ATmega8 and USB InterfACe chip PDIUSBD12, a general USB InterfACe module is designed according to USB1.1 protocol for various requirements of embedded systems. Only with few modifications in circuit or hardware abstract layer of firmware, the module can be used on many types of microprocessors. All kinds of embedded systems can realize high speed and stable communication with USB host systems, owing to the facility of this module.
上傳時間: 2014-01-08
上傳用戶:趙云興
針對材料試驗機等設備中要求測量或控制材料拉伸或壓縮的位移,一般采用光電軸角編碼器檢測位置信號,輸出正交編碼脈沖信號。若采用其他方法檢測位置信號,必然導致電路設計復雜,可靠性降低。因此,提出一種基于LS7266R1的電子式萬能材料試驗機設計方案。給出了試驗機中的控制器工作原理,LS7266R1與單片機的接口硬件設計,以及主程序軟件流程圖。巧妙地把力量傳感器,位移傳感器等機械運動狀態的壓力或拉力以及位置坐標,變成了電壓信號和電脈沖數字信號,供A/D測量和LS7266R1計數,從而實現了獨立完成材料試驗控制或通過PC機串口命令完成材料試驗控制。 Abstract: Aiming at the requirement that the displacement of the tension and compression always be tested and controlled in the equipement such as material testing machine. The position signal was tested by photoelectric axial angle coder. Therefore, the paper proposes the design of electronic universal testing machine design based on LS7266R1. If the position signal detected by other methods, will inevitably lead to the circuit design complexity, reliability decreased. The work theory of the controller, the hardware InterfACe design between LS7266R1 and single chip, and the flow chart of main program, are presented in this paper. The signal of the compression or tension power and displacement at working, which tested by power sensor and displacement sensor especially, is changed into electric voltage and electric pulse numerical signals. And these signals can be tested by A/D and counted by LS7266R1. Finally the test of the material properties can be controlled by itself, or controlled by the COM command of PC.
上傳時間: 2013-11-02
上傳用戶:yl1140vista
主要介紹了以PIC18F2480單片機為處理器,基于可編程多路開關檢測接口器件MC33993實現的車用多路開關檢測接口電路的設計。該設計克服了以往基于分立元件的檢測接口電路的弊端,簡化了接口電路設計,保證了車用開關工作的可靠性和安全性。 Abstract: The design of automotive multiple switch detection InterfACe circuit based on MC33993 is introduced mainly which adopts PIC18F2480 single chip microprocessor.This circuit overcomes shortage of traditional design which contains many schism elements, and the application of MC33993 also predigests the whole design of InterfACe circuit and guarantees the dependability and security of the switch.
上傳時間: 2013-11-19
上傳用戶:star_in_rain
利用Atmel公司的ATmega168微處理器,采用A/D轉換方式來實現按摩椅控制器的鍵盤接口,通過在硬件電路中巧妙地選擇電阻,在軟件設計中采用數字濾波、二分法和區間鑒定等方法,靈敏可靠地實現了按摩椅中30個按鍵的處理。給出了硬件電路設計和軟件設計思想以及部分匯編代碼。 Abstract: This paper chooses A/D conversion method to realize the keyboard InterfACe of the controller by using ATmega168 microchip from Atmel Company.It accomplishes 30-key dealing sensitively and reliably in massage chair through skillfully selecting resistors in hardware circuit and using digital filter,dichotomy and area-judging method in software design.The hardware design circuit, software design idea and partly assembles code are presented mainly.
上傳時間: 2014-01-10
上傳用戶:咔樂塢
在需要實時大量輸入漢字的顯示控制處理應用中,利用傳統單片機實現顯示控制的設計方法是較難實現的。帶漢字字庫的液晶模塊的使用使得小容量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
1 FEATURES· Single chip LCD controller/driver· 1 or 2-line display of up to 24 characters per line, or2 or 4 lines of up to 12 characters per line· 5 ′ 7 character format plus cursor; 5 ′ 8 for kana(Japanese syllabary) and user defined symbols· On-chip:– generation of LCD supply voltage (external supplyalso possible)– generation of intermediate LCD bias voltages– oscillator requires no external components (externalclock also possible)· Display data RAM: 80 characters· Character generator ROM: 240 characters· Character generator RAM: 16 characters· 4 or 8-bit parallel bus or 2-wire I2C-bus InterfACe· CMOS/TTL compatible· 32 row, 60 column outputs· MUX rates 1 : 32 and 1 : 16· Uses common 11 code instruction set· Logic supply voltage range, VDD - VSS: 2.5 to 6 V· Display supply voltage range, VDD - VLCD: 3.5 to 9 V· Low power consumption· I2C-bus address: 011101 SA0.
上傳時間: 2013-11-08
上傳用戶:laozhanshi111
為了在工業生產及過程控制中準確測量溫度,設計了一種基于低功耗MSP430單片機的數字溫度計。整個系統通過單片機MSP430F1121A控制DS18B20讀取溫度,采用數碼管顯示,溫度傳感器DS18B20與單片機之間通過串口進行數據傳輸。MSP430系列單片機具有超低功耗,且外圍的整合性高,DS18B20只需一個端口即可實現數據通信,連接方便。通過多次實驗證明,該系統的測試結果與實際環境溫度一致,除了具有接口電路簡單、測量精度高、誤差小、可靠性高等特點外,其低成本、低功耗的特點使其擁有更廣闊的應用前景。 Abstract: In order to obtain accurate measuring temperature in industrial production and process control, a digital thermometer based on MSP430 MCU is designed. The system uses MSP430F1121A MCU to control DS18B20, and gets the temperature data, which is displayed on the LED. The temperature sensor DS18B20 and MCU transmit data through serial communication. MSP430 series has ultra-low power and high integration, DS18B20 only needs one port to achieve data communication. Through many experimental results prove, this system is consistent with actual environment temperature. The system has characteristics of InterfACe circuit simple, high measuring accuracy, minor error, high reliability, besides, the characteristics of low cost and low power make it having vaster application prospect.
上傳時間: 2013-10-16
上傳用戶:wettetw
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
The bootloader is stored in the internal boot ROM memory (system memory) of STM32devices. It is programmed by ST during production. Its main task is to download theapplication program to the internal Flash memory through one of the available serialperipherals (USART, CAN, USB, etc.). A communication protocol is defined for each serialInterfACe, with a compatible command set and sequences
上傳時間: 2014-09-06
上傳用戶:417313137