常量:常量是在程序執行過程中其值不能改變的量。常量的數據類型有整、浮點型、字符型和字符串型等,C51編譯器還擴充了一種位(BIT)標量。
上傳時間: 2013-11-06
上傳用戶:lwq11
描述 P89C660/662/664/668單片機內帶6KB/32KB/64KB/64KBFlash存儲器,該存儲器既可并行編程也可以串行在系統編程(ISP).在實際的成型產品中,可通過ISP升級用戶程序在BootROM程序. 在Boot ROM程序中,可通過一個默認的串行下載器(UART)對Flash存儲器作ISP編程,而在Flash代碼區中并不需要有調用下載器的代碼,用戶程序可通過調用在Boot ROM中的標準子程對Flash存儲器擦寫和再編程(即IAP).
上傳時間: 2013-10-18
上傳用戶:ouyang426
闡述了一個由上位PC機和AT89C52下位單片機組成的主從分布式溫度巡回檢測系統。主從機采用RS-485 串行通訊標準進行通信,可在下位單片機實現基本的溫度數據巡回檢測基礎上,由上位PC機實現綜合處理功能或擴展為遠程操作。整個系統具有巡檢速度快,擴展性好的特點。 Abstract: In this paper,a top PC and AT89C52 under-bit microcontrollers from the main component of the tour distributed temperature detection system is presented. Master and slave can use RS-485 serial communication standards for communications.Based on next-bit machine for basic goods temperature detected data Tour, the top can achieve the integrated treatment of PC functions or for the expansion of long-distance operation. The entire inspection system is fast, expansion.
上傳時間: 2013-10-13
上傳用戶:zhoujunzhen
Mega16是一款采用先進RISC精簡指令,內置A/D的8位單片機,可支持低電壓聯機 Flash和EEPROM 寫入功能;同時還支持 Basic和C 等高級語言編程。用它設計電子時鐘不僅成本低,硬件簡單,而且很容易實現系統移植。介紹了如何利用AVR系列單片機Mega16及1602字符液晶來設計電子時鐘的方法,同時給出了相應的電路原理及部分語言程序。 Abstract: ?Mega16 is a high-performance, low power consumption, the use of advanced RISC concise instructions, built-in A/D 8-bit microcontrollers, the on-line support for low-voltage Flash, EEPROM write function. Except Mega16 also support the Basic, C, and other high-level language programming.The electronic clock which is deisgned by Mega16 is not only low-cost, simple hardware, but easy to achieve system migration.The design method of electrioic clock based on the AVR Mega16 and character LCD1602 is introduced in this paper,and the corresponding circuit electrionic and some language program are given.
上傳時間: 2014-12-27
上傳用戶:zl5712176
針對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
基于CC1110單片機公交報站系統主要由CC1110單片機最小系統和WT588D語音模塊組成,提出了如何實現語音報站,通過無線通信SimpliciTI網絡協議實現公交站臺的自動播報和OLCD液晶顯示公交運行的各類信息。結果表明,該公交報站系統報站準確率99%,價格比同類產品下降了300%以上,系統組成結構簡單,提高了系統的抗干擾性和穩定性,也便于攜帶。 Abstract: The bus stop announcement system based on CC1110 MCU is composed of CC1110 MCU minimum system and WT588D voice module. How to achieve the voice announcing is put forward.The bus-stop will announce automatically and display on the OLCD by means of wireless communication SimpliciTI network protocol. As a result, the bus station stop announcement systems reported 99% accuracy rate, price of similar products declined by 300% or more, system of simple structure, improve the anti-jamming and stability of the power system, it is also portable.
上傳時間: 2013-10-21
上傳用戶:baby25825
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
描述P89C660/662/664/668單片機內帶6KB/32KB/64KB/64KB Flash存儲器,該存儲器既可并行編程也可以串行在系統編程(ISP).在實際的成型產品中,可通過ISP升級用戶程序. 在Boot ROM程序中可通過一個默認的串行下載器(UART)對Flash存儲器作ISP編程,而在Flash代碼區中并不需要有調用下載器的代碼,用戶程序可通過調用在Boot ROM中的標準子程對Flash存儲器擦寫和再編程(即IAP). 該器件在6個時鐘周期內執行一條指令,是傳統的80C51的兩倍.一個OTP結構位讓用戶選擇傳統的12個時鐘周期. 該器件用advanced CMOS工藝制造,是80C51單片機家族的衍生品.其指令集和80C51相同. 該器件有四個8位I/O口,三個16位定時器/事件計數器,多中斷源,四個優選級,可嵌套中斷結構,一個增強型UART和片內振蕩器以及時序電路. P89C660/662/664/668新增特性使其成為一個功能強大的單片機,為某些應用提供PWM,高速的I/O和加/減計數,如汽車控制.
上傳時間: 2013-10-10
上傳用戶:FreeSky
摘要:討論了MCS一51單片機匯編語言中的偽指令,并介紹若干主要的經常用到的偽指令使用方法。關鍵詞:單片機;偽指令;ORG;EQU;DB;DW;BIT
上傳時間: 2013-12-21
上傳用戶:283155731