ENGLISH 简体中文 日本語 한국어  


애플리케이션 노트  3989

Add Control, Memory, Security, and Mixed-Signal Functions with a Single Contact

Abstract: This application note provides a high-level overview of the 1-Wire® interface. It discusses power and data delivery along with data-bit-level communication, device selection, and the unalterable, unique ID in each device. As its name implies, the single-contact 1-Wire interface is an unmatched solution that provides key functions to systems where interconnect must be minimized.

Overview

The Dallas Semiconductor 1-Wire bus is a simple signaling scheme that performs half-duplex bidirectional communications between a host/master controller and one or more slaves sharing a common data line (Figure 1). Both power and data communication for slave devices are transmitted over this single 1-Wire line. For power delivery, slaves capture charge on an internal capacitor when the line is in a high state and then use this charge for device operation when the line is low during data transmission. A typical 1-Wire master consists of an open-drain I/O port pin with a resistor pullup to a 3V to 5V supply. More sophisticated masters, including dedicated line-driver solutions, are available from Dallas Semiconductor. This clever communication scheme also allows you to add memory, authentication, and mixed-signal functions at any time, easily and efficiently.

Figure 1. In a 1-Wire master/slave configuration, all devices share a common data line.
Figure 1. In a 1-Wire master/slave configuration, all devices share a common data line.

64-Bit Serial Numbers

There is an important, fundamental feature in every 1-Wire system: each slave device has a unique, unalterable (ROM), 64-bit, factory-lasered serial number (ID) that will never be repeated in another device. Besides providing a unique electronic ID to the end product, this 64-bit ID value allows the master device to select a slave device among the many that can be connected to the same bus wire. Part of the 64-bit ID is also an 8-bit family code that identifies the device type and functionality supported.

Data-Bit-Level Communication

The bus master initiates and controls all 1-Wire communication. As illustrated in Figure 2, the 1-Wire communication waveform is similar to pulse-width modulation, because data is transmitted by wide (logic 0) and narrow (logic 1) pulse widths during data-bit time periods or time slots. A communication sequence starts when the bus master drives a defined length "Reset" pulse that synchronizes the entire bus. Every slave responds to the Reset pulse with a logic-low "Presence" pulse. To write data, the master first initiates a time slot by driving the 1-Wire line low, and then either holds the line low (wide pulse) to transmit a logic 0 or releases the line (short pulse) to allow the bus to return to the logic 1 state. To read data, the master again initiates a time slot by driving the line with a narrow low pulse. A slave can then either return a logic 0 by turning on its open-drain output and holding the line low to extend the pulse, or a logic 1 by leaving its open-drain output off to allow the line to recover. Most 1-Wire devices support two data rates: Standard speed of about 15kbps, and Overdrive speed of about 111kbps. The protocol is self-clocking and tolerates long inter-bit delays, which ensures smooth operation in interrupted software environments.

Figure 2. This waveform example shows master-initiated write/read of data bits with slave and master sampling points.
Figure 2. This waveform example shows master-initiated write/read of data bits with slave and master sampling points.

Device Selection

The first action in a 1-Wire communication is selecting a slave device for subsequent communications. In a single slave-device environment, the selection sequence is minimal. In a multidevice environment, however, slave selection is done either by selecting all slaves or a specific slave targeted by its 64-bit ID. A binary search algorithm (described as ROM-level commands in 1-Wire data sheets) enables the bus master to "learn" and subsequently select the respective 64-bit ID of any slave device on the line. Once a specific slave is selected, the master issues device-specific commands and sends data to it, or reads data from it. Meanwhile, all the other slave devices ignore communications until the next reset pulse is issued.

Summary

Layered on these 1-Wire fundamentals are a variety of memory, digital, analog, and mixed-signal functions. This variety results in a product portfolio optimized for applications where the single-contact 1-Wire interface can solve an interconnect-constrained problem and/or add value with unique product-line features. The 1-Wire products are available in standard IC packaging and the Company's rugged, stainless steel iButton package. Products, packaging, and extensive software support are detailed at 1-Wire Devices.

1-Wire is a registered trademark of Maxim Integrated Products, Inc.


의견을 보내주세요!
위 내용이 도움이 되셨나요?
여러분의 의견을 기다립니다 — Maxim은 보내주신 정정이나 제안사항을 반영하고 있습니다. 이 페이지를 평가하고 의견을 보내주십시오.


자동 업데이트
관심있는 분야의 애플리케이션 노트가 나올 때 자동으로 업데이트 받고 싶으세요? 그렇다면 EE-Mail™을 신청하십시오.



추가 정보  APP 3989: Feb 09, 2007
DS2401 실리콘 시리얼 넘버 전체 데이터 시트
(PDF, 472kB)
무료 샘플
DS2405 주소지정이 가능한 스위치 전체 데이터 시트
(PDF, 436kB)
무료 샘플
DS2406 듀얼 주소지정 가능 스위치 및 1Kb 메모리 전체 데이터 시트
(PDF, 660kB)
무료 샘플
DS2408 1-Wire 8채널 주소지정이 가능한 스위치 전체 데이터 시트
(PDF, 656kB)
무료 샘플
DS2411 VCC 입력 기능이 있는 실리콘 시리얼 넘버 전체 데이터 시트
(PDF, 476kB)
무료 샘플
DS2413 주소 지정이 가능한 1-Wire, 듀얼 채널 스위치 전체 데이터 시트
(PDF, 252kB)
무료 샘플
DS2417 인터럽트 기능이 내장된 1-Wire 타임 칩 전체 데이터 시트
(PDF, 164kB)
무료 샘플
DS2431 1024비트 1-Wire EEPROM 전체 데이터 시트
(PDF, 508kB)
무료 샘플
DS2432 SHA-1 엔진이 내장된 1kb 보호 1-Wire EEPROM 간략한 데이터 시트
(PDF, 408kB)
DS2433 4kb 1-Wire EEPROM 전체 데이터 시트
(PDF, 700kB)
무료 샘플
DS2450 1-Wire 쿼드 A/D 컨버터 전체 데이터 시트
(PDF, 708kB)
무료 샘플
DS2480B 직렬-to-1-Wire 라인 드라이버 전체 데이터 시트
(PDF, 800kB)
무료 샘플
DS2482-100 단일 채널 1-Wire 마스터 전체 데이터 시트
(PDF, 480kB)
무료 샘플
DS2502 1Kb Add-Only 메모리 전체 데이터 시트
(PDF, 648kB)
무료 샘플
DS2505 16Kb Add-Only 메모리 전체 데이터 시트
(PDF, 480kB)
무료 샘플
DS28E01-100 SHA-1 엔진이 내장된 1Kb 보호 1-Wire EEPROM 간략한 데이터 시트
(PDF, 428kB)
DS28E04-100 PIO가 내장된 4096비트 주소지정이 가능한 1-Wire EEPROM 전체 데이터 시트
(PDF, 588kB)
무료 샘플
DS28EA00 시퀀스 검출 및 PIO 기능을 가진 1-Wire 디지털 온도계 전체 데이터 시트
(PDF, 224kB)
무료 샘플
 

다운로드, PDF 형식다운로드, PDF 형식 (48kB)
 AN3989, AN 3989, APP3989, Appnote3989, Appnote 3989


      개인정보보호 정책    법적 고지

      Copyright © 2008 by Maxim Integrated Products, Dallas Semiconductor