EveryCircuit
Contact
Reviews
Home
ericstanleysamar
modified 4 years ago

1-Wire Protocol Simulation

7
5
279
04:11:43
Here I attempt to simulate the 1-Wire Communication Protocol which was established by Dallas Semiconductors, which was later acquired by Maxim Integrated. The left network is the Master and the other (right) network is the Slave. The slave powers its circuitry via a capacitor, which is charged through the main dataline. This means that only 1 wire is used for the Data and Power line. However, this implies that the data should be passed at a lower speed so as not to discharge the capacitor and turn off the circuit. This also means that the data line should be at logic "high" most of the time, hence, the protocol uses active low. The data line is pulled to 5V during quiescent via a pullup in the Master device. Although the term 1-wire is used, a ground connection is still needed. In this circuit, I have timed the logic trains for the master and slave to trigger/transmit once and twice respectively. The lamps in each circuit is there to represent properly received data. In reality, this would be replaced by a digital block that interprets the data, and the timing would be different. Connect the main line first via SPST switch in the middle, then activate the logic trains via the switches near them to simulate comms. The LED on the right represents the circuit's loading on the capacitor. The values were chosen arbitrarilly, however, it should give the idea. Enjoy!
published 5 years ago
faceblast
5 years ago
that's fascinating, thanks
ericstanleysamar
5 years ago
Hi faceblast, thanks!
slm67
5 years ago
Thanks! 👍
wyoelk
5 years ago
Very well done ole boy! Well done indeed!
ericstanleysamar
5 years ago
Thank you. Glad you guys liked it!

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy