电子工程世界电子工程世界电子工程世界

关键词

搜索

型号

搜索

AN3260

产品描述Building a thermometer using the STM8S-DISCOVERY
文件大小305KB,共24页
制造商ST(意法半导体)
官网地址http://www.st.com/
下载文档 全文预览

AN3260概述

Building a thermometer using the STM8S-DISCOVERY

文档预览

下载PDF文档
AN3260
Application note
Building a thermometer
using the STM8S-DISCOVERY
Application overview
This application demonstrates how to build a simple thermometer based on the STM8S-
DISCOVERY and the LM235 precision temperature sensor. The STM8S105C6T6
microcontroller reads the temperature values and transmits them through the UART
interface. The temperature values are then displayed on a terminal window (possibly based
on Windows HyperTerminal) of a PC connected to the UART through an RS232 cable.
Once the STM8S-DISCOVERY is powered up through an USB cable connected to the host
PC, an informative message is displayed on the terminal window and the user is prompted
to enter minimum and maximum temperature thresholds.
The current temperature is displayed on the terminal window every minute together with a
warning message when the temperature is out of range.
The minimum and maximum values of the temperature over one-hour period are recorded in
the MCU data EEPROM once per hour. They can be displayed any time by pressing a
pushbutton.
Even if it is built on an STM8S105C6T6, the STM8S-DISCOVERY can be used to evaluate
the main features of all STM8S microcontrollers.
Reference documents
I
I
STM8S-DISCOVERY evaluation board user manual (UM0817).
Developing and debugging your STM8S-DISCOVERY application code user manual
(UM0834).
LM235 precision temperature sensor datasheet
ST232C 5 V powered multi-channel RS-232 driver and receiver datasheet
I
I
December 2010
Doc ID 17836 Rev 1
1/24
www.st.com

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

 
机器人开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 大学堂 TI培训 Datasheet 电子工程 索引文件: 580  1425  2497  2035  299  50  49  9  37  30 

器件索引   0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2026 EEWORLD.com.cn, Inc. All rights reserved