数字测温并显示实验

所属分类:单片机开发
开发工具:C/C++
文件大小:3243KB
下载次数:5
上传日期:2018-06-20 10:36:01
上 传 者Der_steppenwolf
说明:  基于ARM Cortex-M4F(TM4C123)单片机 ,用微控制器的I2C模块接TMP75数字温度传感器测温;按要求对测温结果进行处理 【基本功能】 (1)使用Timer 定时方式测温,测温频率2次/秒 (2)从UART 输出实时温度,温度值以如下方式显示: Actual temperature = 34.9375 Centigrade. (每0.5秒更新一次) (3)在液晶屏上显示实时温度,按如下方式显示。(每0.5秒更新) 第1行: 温度寄存器字节1,T11-T4,HEX或DEC格式均可 第2行: 温度寄存器字节2,T3-T0,HEX或DEC格式均可 第3行: 温度= 20.0625 ℃ (包括小数)
(Based on the ARM Cortex-M4F (TM4C123) MCU, the I2C module of the microcontroller is connected with the TMP75 digital temperature sensor to measure the temperature, and the temperature measurement result is processed according to the requirement. [basic function] (1) use Timer timing mode to measure the temperature and measure the frequency 2 times / sec. (2) output real-time temperature and temperature values from UART display as follows: Actual temperature = 34.9375 Centigrade. (updated every 0.5 seconds) (3) display the real-time temperature on the LCD screen as shown in the following way. (update every 0.5 seconds) First line: temperature register byte 1, T11-T4, HEX or DEC format can be. Second line: temperature register byte 2, T3-T0, HEX or DEC format can be. Third lines: temperature = 20.0625 C (including decimal))

文件列表:
TMP75\TMP75\doc\tmp75.pdf (957770, 2014-09-28)
TMP75\TMP75\driverlib\adc.c (75358, 2016-09-13)
TMP75\TMP75\driverlib\adc.h (17675, 2016-09-13)
TMP75\TMP75\driverlib\aes.c (45672, 2016-09-13)
TMP75\TMP75\driverlib\aes.h (10151, 2016-09-13)
TMP75\TMP75\driverlib\can.c (71575, 2016-09-13)
TMP75\TMP75\driverlib\can.h (14248, 2016-09-13)
TMP75\TMP75\driverlib\ccs\.ccsproject (329, 2016-09-13)
TMP75\TMP75\driverlib\ccs\.cproject (18925, 2016-09-13)
TMP75\TMP75\driverlib\ccs\.project (5038, 2016-09-13)
TMP75\TMP75\driverlib\ccs\.settings\org.eclipse.cdt.codan.core.prefs (62, 2016-09-13)
TMP75\TMP75\driverlib\ccs\Debug\driverlib.lib (2279858, 2016-09-13)
TMP75\TMP75\driverlib\ccs\macros.ini_initial (17, 2016-09-13)
TMP75\TMP75\driverlib\comp.c (16304, 2016-09-13)
TMP75\TMP75\driverlib\comp.h (7764, 2016-09-13)
TMP75\TMP75\driverlib\cpu.c (12364, 2016-09-13)
TMP75\TMP75\driverlib\cpu.h (3085, 2016-09-13)
TMP75\TMP75\driverlib\crc.c (10784, 2016-09-13)
TMP75\TMP75\driverlib\crc.h (4677, 2016-09-13)
TMP75\TMP75\driverlib\debug.h (3413, 2016-09-13)
TMP75\TMP75\driverlib\des.c (25502, 2016-09-13)
TMP75\TMP75\driverlib\des.h (6350, 2016-09-13)
TMP75\TMP75\driverlib\driverlib.ewp (22719, 2016-09-13)
TMP75\TMP75\driverlib\driverlib.lib (3763396, 2016-09-13)
TMP75\TMP75\driverlib\driverlib.uvopt (20884, 2016-09-13)
TMP75\TMP75\driverlib\driverlib.uvproj (20318, 2016-09-13)
TMP75\TMP75\driverlib\eeprom.c (40420, 2016-09-13)
TMP75\TMP75\driverlib\eeprom.h (11759, 2016-09-13)
TMP75\TMP75\driverlib\emac.c (198322, 2016-09-13)
TMP75\TMP75\driverlib\emac.h (48391, 2016-09-13)
TMP75\TMP75\driverlib\epi.c (84211, 2016-09-13)
TMP75\TMP75\driverlib\epi.h (28124, 2016-09-13)
TMP75\TMP75\driverlib\epi_workaround_ccs.s (6643, 2016-09-13)
TMP75\TMP75\driverlib\ewarm\Exe\driverlib.a (1899356, 2016-09-13)
TMP75\TMP75\driverlib\flash.c (30465, 2016-09-13)
TMP75\TMP75\driverlib\flash.h (5547, 2016-09-13)
TMP75\TMP75\driverlib\fpu.c (11621, 2016-09-13)
TMP75\TMP75\driverlib\fpu.h (4707, 2016-09-13)
TMP75\TMP75\driverlib\gcc\libdriver.a (220926, 2016-09-13)
TMP75\TMP75\driverlib\gpio.c (98283, 2016-09-13)
... ...

This project will build the TivaWare Peripheral Driver Library. ------------------------------------------------------------------------------- Copyright (c) 2006-2016 Texas Instruments Incorporated. All rights reserved. Software License Agreement Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Neither the name of Texas Instruments Incorporated nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. This is part of revision 2.1.3.156 of the Tiva Peripheral Driver Library.

近期下载者

相关文件


收藏者