摘要
本文简要介绍了单总线数字温度传感器DS18B20的特性及工作原理,给出了DS18B20与TMS320LF2407A的接线图并且非常详细介绍了如何用C语言完成比较精确的软件延时程序,从而满足单线总线协议的通信时序,并给出了完整的C语言代码。
The characteristics and working principle of a unique 1-wire interface digital sensor DS18B20 were introduced. And designed the system of measuring the temperature based on TMS320LF2407A and DS18B20.And introduced the details of making time delay strict by soft ware delay method in order to meet the request of the One-wire bus communication principle.
出处
《微计算机信息》
北大核心
2007年第05Z期166-168,共3页
Control & Automation
基金
国家自然科学基金项目(2004BA719A04-02)