USB Interface for the 1-Wire Bus
from four to two wires
Published in issue 311, June 2002

The 1-Wire bus from Dallas Semiconductor is very suitable for use in a small (home) network with various switches, sensors and actuators. The simplicity of the hardware is in sharp contrast to the complexity of the protocol on this bus, but fortunately this problem has been solved by the manufacturer with dedicated interface ICs and software that simplifies the communication between the PC and 1-Wire devices.Last April we published a design for a serial interface for the PC, which made it possible to communicate with devices on the 1-Wire bus using development software supplied by Dallas Semiconductor. This month we have an almost identical circuit, but for use with the USB port (USB = Universal Serial Bus). This port is beginning to be used more frequently for connecting peripherals to PCs and Macs. The serial port has now fallen out of favour in that respect. Some people are of the opinion that the trusty old RS232 interface will soon disappear from the PC and certainly from modern laptops. The future will tell if they’re right.
Resistors: R1,R2 = 27Ohm R3 = 1kOhm 5 Capacitors: C1-C4 = 33pF C5,C6 = 100nF C7 = 1µF 16V radial Inductors: L1,L2 = BLM31AJ601SN1 (Murata) (Farnell # 581-094) Semiconductors: D1 = DS9503 D2,D3 = BAT85 IC1 = DS2490 IC2 = LF33CV (Farnell # 302-4520) Miscellaneous: K1 = USB connector, type B, PCB mount X1 = 12MHz quartz crystal
|
Click below to download a PDF copy of this article from Elektor magazine.
Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.
|