文件名称:MSP430-application-of-thermometer
- 所属分类:
- 其他嵌入式/单片机内容
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 50kb
- 下载次数:
- 1次
- 提 供 者:
- 陶*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
在《温度计_基本原理》程序中,已经实现了一个温度测量和显示的系统,但因为采样速率很快,且对基准源不加控制,耗电很大(800uA左右)。本例中,将温度采集速度降到1秒一次,且采样间隙时间不仅关闭基准源,还让CPU进入LPM3休眠状态,大大节省了耗电。该程序功耗仅10uA左右,可用纽扣电池长期运行(2年)。实际上对于环境温度1秒1次采样仍属浪费,如果降到5秒一次,功耗可下降到4uA左右(CR2032电池工作5年)。按KEY3后,CPU进入LPM4,功耗下降到0.1uA,这是一种常用的不断电的关机方法。同时,该程序示例了如何例用程序库快速的完成开发任务。-In the "basic principles of the thermometer _" program, has achieved a temperature measurement and display system, but because the sampling rate soon, and uncontrolled source of reference, a large power consumption (800uA or so). In this example, the temperature dropped to 1 second time acquisition speed, and the sampling time is not only close the gap reference source, but also allow CPU access to LPM3 sleep, significant savings in power consumption. 10uA power consumption is only about the program, the available long-running button batteries (2 years). In fact, for the ambient temperature 1 1 second sample is still a waste, if reduced to 5 seconds, power consumption can be reduced to around 4uA (CR2032 battery 5 years). After the press KEY3, CPU into LPM4, power consumption down to 0.1uA, which is a commonly used method for UPS shutdown. At the same time, the program example of how patients use the library to complete the development tasks faster.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
温度计_实用程序\ADC16.c
...............\ADC16.h
...............\BasicTimer.c
...............\BasicTimer.h
...............\Debug\Exe\TemperatureMeter.d43
...............\.....\Obj\ADC16.r43
...............\.....\...\BasicTimer.r43
...............\.....\...\LCD_Display.r43
...............\.....\...\main.r43
...............\LCD_Display.c
...............\LCD_Display.h
...............\main.c
...............\settings\TemperatureMeter.dbgdt
...............\........\TemperatureMeter.dni
...............\........\TemperatureMeter.wsdt
...............\TemperatureMeter.dep
...............\TemperatureMeter.ewd
...............\TemperatureMeter.ewp
...............\TemperatureMeter.eww
...............\Debug\Exe
...............\.....\List
...............\.....\Obj
...............\Debug
...............\settings
温度计_实用程序
...............\ADC16.h
...............\BasicTimer.c
...............\BasicTimer.h
...............\Debug\Exe\TemperatureMeter.d43
...............\.....\Obj\ADC16.r43
...............\.....\...\BasicTimer.r43
...............\.....\...\LCD_Display.r43
...............\.....\...\main.r43
...............\LCD_Display.c
...............\LCD_Display.h
...............\main.c
...............\settings\TemperatureMeter.dbgdt
...............\........\TemperatureMeter.dni
...............\........\TemperatureMeter.wsdt
...............\TemperatureMeter.dep
...............\TemperatureMeter.ewd
...............\TemperatureMeter.ewp
...............\TemperatureMeter.eww
...............\Debug\Exe
...............\.....\List
...............\.....\Obj
...............\Debug
...............\settings
温度计_实用程序