基于单片机串口实现1_Wire总线通信的方法.pdf
文本预览下载声明
硬件纵横 Hardware Technique
基于单片机串口实现 1- Wire 总线通信的方法
李 多 陈 军
,
东南大学 自动化学院 江苏 南京
( , 211189 )
摘 要 主要介绍了一种借助单片机串口实现 总线通信的方法 并以集成数字温度传感
: 1-Wire ,
器 为例 基于有限状态机采用该方法完成了通信程序的设计
DS18B20 , 。
关键词 总线 串口 有限状态机
: 1-Wire ; ; ;DS18B20
中图分类号: TP273 文献标识码: A 文章编号: 1674-7720 (2012 ) 11-0022-03
A method of 1-Wire bus communication based on serial interface of
microcontroller
Li Duo ,Chen Jun
(School of Automation ,Southeast University ,Nanjing 211189 ,China )
Abstract : A method of 1 -Wire bus communication using serial interface on microcontroller is introduced. Taking digital
thermometer DS18B20 as an example , this paper completes the programming of the communication based on finate state machine by
using the proposed method.
Key words : 1-Wire bus; serial interface ; finate state machine ; DS18B20
总线是 半导体公司推出的一种半双 间不同 下面分别对它们进行简析
1 -Wire Dallas , 。
工串行总线 它采用单根信号线实现微控制器 主机 与 初始化脉冲
, ( ) 1.1
接口器件 从机 之间的双向通信 每个从机具有唯一的 总线协议规定任何与 器件的通信需
( ) , 1-Wire 1-Wire
工厂光刻 作为地址 要以初始化脉冲作为同步 初始化脉冲包括复位信
ID 。
显示全部