摘要
1-wire单总线协议通信只需要一条总线,具有节省I/O口线资源、结构简单、成本低廉、便于总线扩展和维护等诸多优点。文章主要介绍了单总线协议,论述了在已有标准单总线上加入非Maxim公司器件时的硬件电路、软件具体实现方法和过程。包括单总线的协议内容、单总线应用电路、使用PIC12F系列单片机模拟单总线器件的硬件电路、软件流程和CRC数据校验及实现方法。
1-wire bus protocol only needs a line. Thus, it has many advantages, such as saving I/O port line re- sources, a simple structure, low cost, and easy to extend and maintain. In this paper, 1-wire's protocol is introduced. The hardware circuit, the software realization method and process are discussed when adding the non-Maxim's devices to the standard 1-wire system. In this paper, the detailed description includes the important agreement of 1-wire~ protocol, 1-wire's Equivalent circuit, the hardware circuit and the software process and CRC method based on the PIC12F series mierocontroller simulating 1-wire devices.
出处
《仪表技术》
2012年第6期23-25,共3页
Instrumentation Technology