Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:automation:02-glossary:1wire-hidden [2021/08/05 16:04]
avsetula [1-Wire temperature sensor]
en:automation:02-glossary:1wire-hidden [2023/09/06 12:37] (current)
avsetula [1W-T/H-IB, 1W-T/H-IB2, SD 115C & SD 125C]
Line 2: Line 2:
 1-Wire is a name for a communication bus designed by Dallas Semiconductor company, that is designed for the low-speed transmission of digital signals. As the name suggests 1-Wire sensors can theoretically use only a single conductor for both power voltage and data. The negative pole can be grounded. In practice, however, at least two conductors are used -> 1W (DATA) and GND. 1-Wire sensors from the Unipi product range use four conductors (VCC, {{:​files:​data_0.png?​nolink&​15|}}1W,​ {{:​files:​data_1.png?​nolink&​15|}}1W,​ GND) for better reliability and enhanced serialisation options. ​ 1-Wire is a name for a communication bus designed by Dallas Semiconductor company, that is designed for the low-speed transmission of digital signals. As the name suggests 1-Wire sensors can theoretically use only a single conductor for both power voltage and data. The negative pole can be grounded. In practice, however, at least two conductors are used -> 1W (DATA) and GND. 1-Wire sensors from the Unipi product range use four conductors (VCC, {{:​files:​data_0.png?​nolink&​15|}}1W,​ {{:​files:​data_1.png?​nolink&​15|}}1W,​ GND) for better reliability and enhanced serialisation options. ​
  
-A distinct advantage of the 1-Wire bus is the low component price; thermometers available at Unipi e-shop are offered from approx. € 10 apiece. ​A single bus can be up to 200 m long with up to 15 sensors ​connected at once. Each sensor is also provided with its own HW address for its addressing on the bus. +A distinct advantage of the 1-Wire bus is the low component price; thermometers available at Unipi e-shop are offered from approx. € 10 apiece. ​Up to 15 sensors ​can be connected to the bus, OR a distance of up to 200 m from the controller can be reached (with a lower number of sensors). Each sensor is also provided with its own HW address for its addressing on the bus. 
  
 ===== 1-Wire temperature sensor ===== ===== 1-Wire temperature sensor =====
Line 41: Line 41:
 {{ :​cs:​hw:​rj45-pinout_1-wire.png?​direct&​400 |}} {{ :​cs:​hw:​rj45-pinout_1-wire.png?​direct&​400 |}}
  
-A total of 4 wires is used. However, the connector description above has 6 wires connected, as the VCC (or +5V) and GND voltage conductors can be doubled (depicted by white streaks in the picture). As some devices were not designed for a dual power supply we need to connect the pins 5 and 8 (basic colours) first. ​+A total of 4 wires is used. However, the connector description above has 6 wires connected, as the VCC (or +5 V⎓) and GND voltage conductors can be doubled (depicted by white streaks in the picture). As some devices were not designed for a dual power supply we need to connect the pins 5 and 8 (basic colours) first. ​
  
 ^ Pin (contact) number ^ Meaning ^ ^ Pin (contact) number ^ Meaning ^
 | 1, 2 | unused | | 1, 2 | unused |
 | 3 | GND | | 3 | GND |
-| 4 | VCC (+5V) | +| 4 | VCC (+5 V⎓) | 
-| 5 | VCC (+5V) | +| 5 | VCC (+5 V⎓) | 
-| 6 | {{:​files:​data_0.png?​nolink&​15|}}1W (DATA_0) | +| 6 | {{:​files:​data_0.png?​nolink&​15|}}1W (DATA_1) | 
-| 7 | {{:​files:​data_1.png?​nolink&​15|}}1W (DATA_1) |+| 7 | {{:​files:​data_1.png?​nolink&​15|}}1W (DATA_0) |
 | 8 | GND | | 8 | GND |
  
Line 57: Line 57:
  
 <WRAP center round box> <WRAP center round box>
-**Note:** {{:files:data_0.png?​nolink&​15|}}1W,​ sometimes also DATA_0, is the main data wire. That said, if you connect a cable sensor with only a single data wire to the RJ45 connector, always connect it to pin (eg. {{:files:data_0.png?​nolink&​15|}}1W pin). The {{:files:data_1.png?​nolink&​15|}}1W contact, sometimes also DATA_1, is a supplemental contact of Unipi sensors designed for a maximum possible bus serialization and serves for connecting the next sensor on the bus. The Unipi 1-Wire hub can serve as an example of the double-data wire principle. If you use a non-Unipi cable sensor with only a single data wire, the above-mentioned serialization with Unipi 1-Wire hub is not possible. You can, however, connect the sensor to the end of the bus (eg. as the last sensor in the hub). +**Note:** {{:files:data_1.png?​nolink&​15|}}1W,​ sometimes also DATA_0, is the main data wire. That said, if you connect a cable sensor with only a single data wire to the RJ45 connector, always connect it to pin (eg. {{:files:data_1.png?​nolink&​15|}}1W pin). The {{:files:data_0.png?​nolink&​15|}}1W contact, sometimes also DATA_1, is a supplemental contact of Unipi sensors designed for a maximum possible bus serialization and serves for connecting the next sensor on the bus. The Unipi 1-Wire hub can serve as an example of the double-data wire principle. If you use a non-Unipi cable sensor with only a single data wire, the above-mentioned serialization with Unipi 1-Wire hub is not possible. You can, however, connect the sensor to the end of the bus (eg. as the last sensor in the hub). 
 </​WRAP>​ </​WRAP>​
  
Line 147: Line 147:
 <​html><​span class="​kbBlueText">​RJ45 connection</​span></​html>​ \\ <​html><​span class="​kbBlueText">​RJ45 connection</​span></​html>​ \\
 Connection to RJ45-connector network cable is useful for star-shaped network topologies created from 1-Wire hubs. You can also use it to connect the sensor to Unipi 1.1 extension board, or to the older variants of Unipi Neuron controllers. ​ Connection to RJ45-connector network cable is useful for star-shaped network topologies created from 1-Wire hubs. You can also use it to connect the sensor to Unipi 1.1 extension board, or to the older variants of Unipi Neuron controllers. ​
-All these sensors can be also connected to the [[https://​www.unipi.technology/​unipi-extension-xg18-p331|Unipi Extension xG18 module]]. Coloured connection scheme on the picture corresponds to the T568B connection. ​+All sensors ​with the DS18b20 chip and parasite power support ​can also be connected to the [[https://​www.unipi.technology/​unipi-extension-xg18-p331|Unipi Extension xG18 module]].. Coloured connection scheme on the picture corresponds to the T568B connection. ​
 ;#; ;#;