The electrical lines
The 1-Wire bus lines are reported in the following table:
Name |
Description |
---|---|
data: Data (and power when no VCC) |
This is the bus data signal |
GND |
This is the common ground |
VCC (optional) |
This is the optional power supply |
In the case of there being multiple devices connected, they must be connected in parallel, as shown in the following diagram:
Tip
Note that the 4.7K resistor must be added in order to allow the sensor to work otherwise we'll have no communication at all!