Advantages of 1-wire:
– Plain and simple network architecture
– Low requirements for cables
– The great length line
– Low cost and ease of components
– Open protocol and affordable software programming
– Ability to do in certain situations without power
Disadvantages of 1-wire:
– Low data rate
– Mandatory presence masters, a leading network
More details on the mandatory requirement of the presence masters network. The fact that the devices in terms of the exchange of data elements are passive circuit. 1-wire components can not be without a special request to send data to the network. Thus the device can not communicate with each other without the “active” leader. Elements of the network is always Powered. Master network 1-wire only one. He initiates, monitors and manages the network and networked devices. Depending on the software master 1-wire line can work differently with their wards, but it can eventually interviewed state a specific item, and send a request for a particular item of any information. For example, if we need a real-time display of the set temperature sensors, the master cycle network will take turns to interrogate these sensors. Reflect on the network can master only one device. As masters can act MC (microcontroller) that can, with appropriate software directly included in the 1-wire network via one of its input-output ports. Master can act as a PC (personal computer), which uses a combination of special items that allow you to connect 1-wire with COM-port or USB-port on your computer, such as the DS9097 or DS9490.
Також я вже писав раніше про взаємодію Arduino та Raspberry Pi із давачем температури DS18B20 по інтерфейсу 1-wire.