設(shè)計(jì)了一種基于PIC16C71單片機(jī)的數(shù)字水溫配制閥。該配制閥采用NTC熱敏電阻作溫度傳感器,與固定電阻組成簡單分壓電路作為水溫測(cè)量電路,利用PIC16C71單片機(jī)內(nèi)置的8位A/D轉(zhuǎn)換器把熱敏電阻上的模擬電壓轉(zhuǎn)換為數(shù)字量,PIC16C71單片機(jī)控制直流電機(jī)驅(qū)動(dòng)混水閥調(diào)節(jié)冷熱水的混合比例實(shí)現(xiàn)水溫調(diào)節(jié)。給出了控制電路圖,對(duì)水溫測(cè)量電路的參數(shù)選擇和測(cè)溫精度作了詳細(xì)討論。實(shí)驗(yàn)和分析表明,選用阻值較大的NTC熱敏電阻和分壓電阻可較好地解決熱敏電阻因功耗較大造成的熱擊穿問題。 Abstract: A digital valve for controlling water temperature based on PIC16C71 was presented in this paper.A bleeder circuit which consisted of a NTC thermistor as temperature sensor and a fixed resistance was designed as water temperature measuring circuit.The analog voltage on the thermistor was converted into digital signal by a 8-bit A/D converter embedded in PIC16C71. Based on the digital signal, the MCU PIC16C71 drived the valve by a DC motor to adjust the water temperature through adjusting the proportion of hot water and cold water.The circuit diagram of controller was given,the principle,the component parameters and the accuracy of measuring temperatures were also dissertated in detail. It was found by experiment and analysis that thermal breakdown of thermistor caused by high power could be solved by selecting thermistor and fixed resistance with high impedance value.
上傳時(shí)間: 2013-11-08
上傳用戶:Yue Zhong
目錄: 1. Character Type Functions - 字符類型函數(shù) 2. Standard C Input/Output Functions - 標(biāo)準(zhǔn)輸入輸出函數(shù) 3. Standard Library Functions - 標(biāo)準(zhǔn)庫和內(nèi)存分配函數(shù) 4. Mathematical Functions - 數(shù)學(xué)函數(shù) 5. String Functions - 字符串函數(shù) 6. BCD Conversion Functions - BCD 轉(zhuǎn)換函數(shù) 7. Memory Access Functions - 存儲(chǔ)器訪問函數(shù) 8. Delay Functions - 延時(shí)函數(shù) 9. LCD Functions - LCD函數(shù) 10. LCD Functions for displays with 4x40 characters - 4×40 字符型LCD函數(shù) 11. LCD Functions for displays connected in 8 bit memory mapped mode -以8 位外部存儲(chǔ) 器模式接口的LCD顯示函數(shù) 12. I2C Bus Functions - I2C 總線函數(shù) 13. National Semiconductor LM75 Temperature Sensor Functions - LM75 溫度傳感器函數(shù) 14. Dallas Semiconductor DS1621 Thermometer/Thermostat Functions - DS1621 溫度計(jì)函 數(shù) 15. Philips PCF8563 Real Time Clock Functions - PCF8563 實(shí)時(shí)時(shí)鐘函數(shù) 16. Philips PCF8583 Real Time Clock Functions - PCF8583 實(shí)時(shí)時(shí)鐘函數(shù) 17. Dallas Semiconductor DS1302 Real Time Clock Functions - DS1302 實(shí)時(shí)時(shí)鐘函數(shù) 18. Dallas Semiconductor DS1307 Real Time Clock Functions - DS1307 實(shí)時(shí)時(shí)鐘函數(shù) 19. 1 Wire Protocol Functions - 單線通訊協(xié)議函數(shù) 20. Dallas Semiconductor DS1820/DS1822 Temperature Sensors Functions - DS1820/1822 溫度傳感器函數(shù) 21. SPI Functions - SPI 函數(shù) 22. Power Management Functions - 電源管理函數(shù) 23. Gray Code Conversion Functions - 格雷碼轉(zhuǎn)換函數(shù)
上傳時(shí)間: 2013-10-22
上傳用戶:歸海惜雪
描述 P89C660/662/664/668單片機(jī)內(nèi)帶6KB/32KB/64KB/64KBFlash存儲(chǔ)器,該存儲(chǔ)器既可并行編程也可以串行在系統(tǒng)編程(ISP).在實(shí)際的成型產(chǎn)品中,可通過ISP升級(jí)用戶程序在BootROM程序. 在Boot ROM程序中,可通過一個(gè)默認(rèn)的串行下載器(UART)對(duì)Flash存儲(chǔ)器作ISP編程,而在Flash代碼區(qū)中并不需要有調(diào)用下載器的代碼,用戶程序可通過調(diào)用在Boot ROM中的標(biāo)準(zhǔn)子程對(duì)Flash存儲(chǔ)器擦寫和再編程(即IAP).
上傳時(shí)間: 2013-10-18
上傳用戶:ouyang426
Mega16是一款采用先進(jìn)RISC精簡指令,內(nèi)置A/D的8位單片機(jī),可支持低電壓聯(lián)機(jī) Flash和EEPROM 寫入功能;同時(shí)還支持 Basic和C 等高級(jí)語言編程。用它設(shè)計(jì)電子時(shí)鐘不僅成本低,硬件簡單,而且很容易實(shí)現(xiàn)系統(tǒng)移植。介紹了如何利用AVR系列單片機(jī)Mega16及1602字符液晶來設(shè)計(jì)電子時(shí)鐘的方法,同時(shí)給出了相應(yīng)的電路原理及部分語言程序。 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.
上傳時(shí)間: 2014-12-27
上傳用戶:zl5712176
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.
標(biāo)簽: 2116 PCF LCD 驅(qū)動(dòng)器芯片
上傳時(shí)間: 2013-11-08
上傳用戶:laozhanshi111
MCS-51系列單片機(jī)芯片結(jié)構(gòu):2.1 MCS—51系列單片機(jī)的結(jié)構(gòu)原理2.1.1 MCS-51單片機(jī)邏輯結(jié)構(gòu) MCS-51單片機(jī)的系統(tǒng)結(jié)構(gòu)框圖如圖2.1所示。 圖2.1 MCS-51單片機(jī)的系統(tǒng)結(jié)構(gòu)框圖由圖2.1可以看出,單片機(jī)內(nèi)部主要包含下列幾個(gè)部件:u 一個(gè)8位CPU;u 一個(gè)時(shí)鐘電路;u 4Kbyte程序存儲(chǔ)器;u 128byte數(shù)據(jù)存儲(chǔ)器;u 兩個(gè)16位定時(shí)/計(jì)數(shù)器;u 64Kbyte擴(kuò)展總線控制電路;u 四個(gè)8-bit并行I/O端口;u 一個(gè)可編程串行接口;五個(gè)中斷源,其中包括兩個(gè)優(yōu)先級(jí)嵌套中斷 1. CPU CPU即中央處理器的簡稱,是單片機(jī)的核心部件,它完成各種運(yùn)算和控制操作,CPU由運(yùn)算器和控制器兩部分電路組成。(1)運(yùn)算器電路 運(yùn)算器電路包括ALU(算術(shù)邏輯單元)、ACC(累加器)、B寄存器、狀態(tài)寄存器、暫存器1和暫存器2等部件,運(yùn)算器的功能是進(jìn)行算術(shù)運(yùn)算和邏輯運(yùn)算。 (2)控制器電路 控制器電路包括程序計(jì)數(shù)器PC、PC加1寄存器、指令寄存器、指令譯碼器、數(shù)據(jù)指針DPTR、堆棧指針SP、緩沖器以及定時(shí)與控制電路等。控制電路完成指揮控制工作,協(xié)調(diào)單片機(jī)各部分正常工作。
標(biāo)簽: MCS 51 單片機(jī) 芯片結(jié)構(gòu)
上傳時(shí)間: 2013-10-27
上傳用戶:tianyi223
MC9S08QG8英文資料 The MC9S08QG8 is the newest member of the Freescale 8-bit family of highly integratedmicrocontrollers, based on the high-performance yet low power HCS08 core. The MC9S08QG8is an excellent solution for power-sensitive applications with extended battery life and maximum performance down to 1.8VDC.
上傳時(shí)間: 2014-12-28
上傳用戶:dxxx
1.The C Programming Language is a powerful, flexible andpotentially portable high-level programming language. 2.The C language may be used successfully to create a programfor an 8-bit MCU, but to produce the most efficient machinecode, the programmer must carefully construct the C Languageprogram.3.The programmer must not only create an efficient high leveldesign, but also pay attention to the detailed implementation.
標(biāo)簽: FREESCALE 單片機(jī) 編程 教程
上傳時(shí)間: 2013-12-27
上傳用戶:huanglang
This application note describes how to decode standard DTMF tones using the minimum number of external discrete components and a PIC. The two examples use a PIC which has an 8 bit timer and either a comparator or an ADC, although it can be modified for use on a PIC which has only digital I/O. The Appendices have example code for the 16C662 (with comparator) and 16F877 (using the ADC). As the majority of the Digital Signal Processing is done in software, little is required in the way of external signal conditioning. Software techniques are used to model the individual elements of a DTMF Decoder IC.
標(biāo)簽: Decoding DTMF with PIC
上傳時(shí)間: 2013-11-21
上傳用戶:zhaoke2005
The PCA9555 is a 24-pin CMOS device that provides 16 bits of General Purpose parallelInput/Output (GPIO) expansion for I2C-bus/SMBus applications and was developed toenhance the NXP Semiconductors family of I2C-bus I/O expanders. The improvementsinclude higher drive capability, 5 V I/O tolerance, lower supply current, individual I/Oconfiguration, and smaller packaging. I/O expanders provide a simple solution whenadditional I/O is needed for ACPI power switches, sensors, push buttons, LEDs, fans, etc.The PCA9555 consists of two 8-bit Configuration (Input or Output selection); Input, Outputand Polarity Inversion (active HIGH or active LOW operation) registers. The systemmaster can enable the I/Os as either inputs or outputs by writing to the I/O configurationbits. The data for each Input or Output is kept in the corresponding Input or Outputregister. The polarity of the read register can be inverted with the Polarity Inversionregister. All registers can be read by the system master. Although pin-to-pin and I2C-busaddress compatible with the PCF8575, software changes are required due to theenhancements, and are discussed in Application Note AN469.
上傳時(shí)間: 2013-11-13
上傳用戶:fredguo
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1