pdf

DS18B20 programming based on STC12C series microcontroller

  • 2014-03-05
  • 2.69MB
  • Points it Requires : 1

Abstract: Aiming at the problem that the original MCU program cannot be directly used because the execution speed of the new generation of high-performance single clock/machine cycle STC12C series MCU is much higher than that of the traditional 51 MCU, the performance analyzer of Keil software is used to calculate the execution time of Atmel MCU; the execution time of the program segment is modified by manual calculation, so that the execution time of the STC12C series MCU meets the timing requirements of the digital temperature sensor DS18B20. The test results show that STC12C2052 can correctly read the temperature conversion value of DS18B20. This method has a certain reference value for the use of programmable devices with timing requirements. Keywords: STC12C MCU; DS18B20; timing; programming

unfold

You Might Like

Uploader
jasionla
 

Recommended ContentMore

Popular Components

Just Take a LookMore

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
×