首页 | 官方网站   微博 | 高级检索  
     

基于C51的DS18B20驱动电路设计
引用本文:柴锁柱,王炳章,赵秋. 基于C51的DS18B20驱动电路设计[J]. 传感器世界, 2007, 13(8): 36-39
作者姓名:柴锁柱  王炳章  赵秋
作者单位:河北沧州师范专科学校;南京工业职业技术学院自动化系
摘    要:针对1-Wire总线器件DS18B20与单片机直接连接时单片机I/O端口驱动能力不足,存在限制传感器数量和传输距离的问题,本文设计了一种驱动电路.通过C51编程,可实现1-Wire总线数据的双向传输.在不增加单片机I/O端口资源占用的情况下,驱动电路可以接成主从方式使用,使1-Wire总线可驱动的传感器数量和传输距离有了极大提高.该电路已用于由DS18B20实现测温的粮仓测温系统中.

关 键 词:1-Wire总线  驱动电路  温度传感器  DS18B20  C51
文章编号:1006-883X(2007)08-0036-04

Design A Driver Circuit For DS18B20 Based On C51
Abstract:When connecting the 1-wire bus component DS18B20 with single chip microcomputer directly, the driving ability of I/O port of main controller is week, and numbers of sensors and the transmission distance are limited, Aiming at this problem, a driver circuit was designed. The bi-directional transmission of 1-wire bus can be achieved by programming with C51. Without additional resource occupation of single chip microcomputer, the driver circuit can be used by cascade mode. The number of sensors and the transmission distance can be enhanced greatly. It has been used in the temperature measuring system composed of DS18B20 for granary successful.
Keywords:1-wire bus   driver circuit   temperature sensor   DS18B20   C51
本文献已被 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司    京ICP备09084417号-23

京公网安备 11010802026262号