Article
One-Wire Spy
monitor for 1-wire ICs
One-Wire Spy is a useful aid that enables a PC to monitor the communications between a microcontroller and a 1-wire IC from Dallas Semiconductor.The semiconductor manufacturer Dallas Semiconductor offers a series of components that can be controlled, read and programmed by a master device (such as a microcontroller) via a single-wire bus. These ‘1-wire’ devices are mainly available as temperature sensors, battery-management ICs and memory ICs. There is also an identity IC, which contains only an identification serial number. Table 1 summarises the available devices. With a 1-wire bus, it is possible to use not only normal IC packages, but also TO-92, PR-35 and flipchip packages. Dallas Semiconductor even offers ICs in button-cell format, under the name ‘iButton’.
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,R4 = 10k?
R3 = 47?
R5 = 220?
R6 = 20k?
R7 = 5k?
R9 = 680?
Capacitors:
C1-C4 = 1µF 16V radial
C5-C8 = 15pF
C9,C10,C11,C21,C22 = 100nF
C14 =
C20 = 100µF 50V
C23 = 10µF 16V
Semiconductors:
D1 = 1N4148
D2 = LED, 3 mm, red
D5 = LED, 3 mm, green
Br1 = B40C1500 (40V piv, 1.5A peak)
T1 = BC547
IC1 = CY7C42x1 (Cypress Semiconductor)
IC2 = MAX232CPE (Maxim)
IC3 = PIC16C54 (programmed, order code 000048-42)
IC4 = PIC16F84 (programmed, order code 000048-41)
IC5 = 7805
IC6 = 74HCT00
Miscellaneous:
X1,X2 = 10 MHz quartz crystal
S1 = miniature pushbutton, 1x make contact
Bu1 = 9-way sub-D socket (female), PCB mount
Bu2 = Mains adaptor socket, PCB mount, 2.1 mm
Sockets for all ICs (except IC5)
Disk, order code 000048-11
R1,R4 = 10k?
R3 = 47?
R5 = 220?
R6 = 20k?
R7 = 5k?
R9 = 680?
Capacitors:
C1-C4 = 1µF 16V radial
C5-C8 = 15pF
C9,C10,C11,C21,C22 = 100nF
C14 =
C20 = 100µF 50V
C23 = 10µF 16V
Semiconductors:
D1 = 1N4148
D2 = LED, 3 mm, red
D5 = LED, 3 mm, green
Br1 = B40C1500 (40V piv, 1.5A peak)
T1 = BC547
IC1 = CY7C42x1 (Cypress Semiconductor)
IC2 = MAX232CPE (Maxim)
IC3 = PIC16C54 (programmed, order code 000048-42)
IC4 = PIC16F84 (programmed, order code 000048-41)
IC5 = 7805
IC6 = 74HCT00
Miscellaneous:
X1,X2 = 10 MHz quartz crystal
S1 = miniature pushbutton, 1x make contact
Bu1 = 9-way sub-D socket (female), PCB mount
Bu2 = Mains adaptor socket, PCB mount, 2.1 mm
Sockets for all ICs (except IC5)
Disk, order code 000048-11
Discussion (0 comments)