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:hw:05-1-wire [2018/09/20 13:34]
tomhora
en:hw:05-1-wire [2020/06/25 12:25]
avsetula removed
Line 1: Line 1:
-====== 1-Wire ====== +====== 1-Wire ​bus ====== 
-1-Wire is a device communications ​bus system ​that provides ​low-speed data, signaling, ​and power over a single ​conductor.+1-Wire is a communication ​bus system ​designed for low-speed data transmissionsignalling ​and power through ​a single ​wire
  
-UniPi tries to maximize the reliability ​of the whole network by serializing the bus as much as possibleThis is achieved by using 4 wires (GND, VCC, Data-IN, Data-OUT). This four-wire design is used in our 1Wire temperature sensors and 8port hubs. +Unipi 1-Wire products are designed for reliability ​and serializationFor this purpose, Unipi 1-Wire sensors and hubs use a four-wire setup (GND, VCC, DATA-IN, DATA-OUT)
- +
-===== 1-Wire thermometers =====+
  
 +===== 1-Wire temperature sensors =====
 {{ :​en:​hw:​03-1wire:​xds18b20.jpg?​direct&​100|}} {{ :​en:​hw:​03-1wire:​xds18b20.jpg?​direct&​100|}}
  
-The DS18B20 is widely used [[en:​automation:​02-glossary:​1wire-hidden|1-Wire]] sensor in TO-92 package+Unipi 1-Wire temperature sensors are based on a widely used DS18B20 ​[[en:​automation:​02-glossary:​1wire-hidden|1-Wire]] sensor ​encased ​in TO-92 metal probe. 
 + 
 +  * Voltage range: 3.0V - 5.5V 
 +  * Temperature measuring range: -55°C / +125°C 
 +  * Accuracy: ±0.5°C (-10°C / +85°C range) 
 +  * The sensor converts 12-bit temperature values to a digital signal (750 ms max. delay) 
 +  * Can be powered by DATA wire (parasitic mode) 
 + 
 +==== Unipi 1-wire temperature sensor ==== 
 +[[https://​www.unipi.technology/​1-wire-teplotni-senzor-p63|Unipi 1-Wire temperature sensor]] is available in four cable lengths, and features an RJ45 connector. It can be connected to older [[https://​www.unipi.technology/​cs/​neuron-c2|Unipi Neuron]] controllers with RJ45 1-Wire port, or the [[https://​www.unipi.technology/​cables-reductions-hubs-c41| Unipi 8-port 1-Wire hub]]. The latest Unipi Neuron design and the entire Unipi Axon line are equipped with 3-wire screw terminals, for which the **RJ45 connector cannot be used**.  
 + 
 +{{ :​en:​hw:​03-1wire:​1-wire-temperature-meter.png?​400&​direct |}} 
 + 
 +If you need to connect the sensor to a controller with the 3-wire terminal, there are two methods you can do so:  
 + 
 +  - cut off the sensor'​s RJ45 connector, put ferrules onto the wires and wire them into the 3-wire terminal according to [[https://​kb.unipi.technology/​_media/​en:​automation:​02-glossary:​infografika_axon_2.png|this schematic]] 
 +  - use the [[https://​www.unipi.technology/​cables-reductions-hubs-c41|cable reduction and Unipi 1-Wire hubu]] 
 + 
 +The sensor uses a four-wire connection for better reliability of branched networks. If needed, it can be modified for a three-wire connection.  
 + 
 +=== Possible connections === 
 +== Connecting a single 1-Wire temp. sensors to a Unipi controller == 
 + 
 +{{:​en:​hw:​1wire_temp_eng.png?​400|}}
  
 +== Connecting a pair of 1-Wire temp. sensors to an Unipi controller using the RJ45 splitter ==
  
-  * Power supply range is 3.0V to 5.5V +{{:​en:​hw:​splittereng.png?400|}}
-  * Measures temperatures from -55°C to +125°C (-67°F to +257°F) +
-  * ±0.5°C accuracy from -10°C to +85°C +
-  * Converts 12-bit temperature to digital word in 750 ms (max.) +
-  * Can be powered from data line+
  
-==== UniPi 1-wire temperature sensor ​==== +== Connecting multiple sensors using the 1-Wire hub ==
-The [[https://​www.unipi.technology/​1-wire-temperature-sensor-p63?​categoryId=3|UniPi 1-Wire temperature sensor]] is equipped with RJ45 connector, so it is easy to connect to [[en:​hw:​02-neuron|UniPi Neuron]] controllers and [[en:​hw:​06-1-wire-hub|UniPi 1-Wire hub]]. In order to connect the sensor to UniPi Axon, you have to cut off the connector, put on the ferrules (see [[en:​automation:​01-how-to:​wiring-hidden|wiring guidelines]]) and screw it to the Axon's 1-Wire connector according to [[en:​automation:​02-glossary:​1wire-hidden#​wire_on_unipi_axon|this pinout]]+
  
-The sensor introduces a 4 wire connection for better reliability of larger network, which can be converted to 3 wire version for simplification.+{{:​en:​hw:​hub_simple_eng.png?400|}}
  
-{{ :en:hw:03-1wire:​1-wire-temperature-meter.png?direct ​|}}+== Creating a network of 1-Wire sensors using multiple 1-Wire hubs == 
 +{{:en:hw:hubeng.png?400|}}
  
-FIXME How to connect ​temperature ​sensor with RJ45/or the HUB to the controller ​(Neuron/Axonwhere there is crew connector ​insted of RJ45?+==== 1W-T-IB2 / 1W-TH-IB2 on-wall ​temperature ​and/or humidity sensors ==== 
 +Unipi product listing also contains ​the 1W-T/H-IB2 compact on-wall sensors for measuring temperature ​([[https://​www.unipi.technology/​nastenny-teplotni-senzor-1w-t-ib2-p350|1W-T-IB2]]or temperature and relative air humidity ([[https://​www.unipi.technology/​nastenny-teplotni-vlhkostni-senzor-1w-th-ib2-p351|1W-TH-IB2]]) in building interiors. The sensors feature a four-wire screw terminal and can be modified for connection both to 3-wire ​connector ​and the RJ45 connector. ​
  
-FIXME 3wire connection+=== Connection options ====
  
-FIXME 4wire connection +== 3-wire screw terminal ​== 
-===== Firvena attachable ​sensor ​with hose clamp ===== +This option is suited for cases where you need to connect only a single ​sensor ​to Unipi Axon or Unipi Neuron controller
  
-FIXME+{{:​cs:​hw:​senzor_dratovani_3pin_2.png?​100|}}
  
-===== Firvena sensor for air conditioning pipes =====+===== RJ45 connector ​===== 
 +Modification for the RJ45 connector is useful in three major cases:  
 +  - you need to connect a pair of sensors to Unipi Neuron or Unipi Axon controller using the [[https://​www.unipi.technology/​1-wire-2-port-splitter-p327|2-port splitter]] 
 +  - you need to connect a single sensor to an Unipi Neuron with the older RJ45 1-Wire port.  
 +  - you need to connect multiple sensors using the  [[https://​www.unipi.technology/​1-wire-hub-s-8-porty-p31|8-port hub]].
  
-FIXME+{{:​cs:​hw:​senzor_dratovani_rj45.png?​200| }} 
 +{{ :​cs:​hw:​rj45-pinout_1-wire.png?​nolink&​400|}}