Article
USB Interface for the 1-Wire Bus
from four to two wires
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.
Materials
Gerber file
CAM/CAD data for the PCB referred to in this article is available as a Gerber file. Elektor GREEN and GOLD members can exclusively download these files for free as part of their membership. Gerber files allow a PCB to be produced on an appropriate device available locally, or through an online PCB manufacturing service.
Elektor recommends the Elektor PCB Service service from its business partner Eurocircuits or AISLER as the best services for its own prototypes and volume production.
The use of our Gerber files is provided under a modified Creative Commons license. Creative Commons offers authors, scientists, educators and other creatives the freedom to handle their copyright in a more free way without losing their ownership.
PCB
Component list
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
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
Discussion (0 comments)