Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
en:sw:01-mervis:attaching-1-wire-devices-hidden [2020/05/11 13:59] avsetula |
en:sw:01-mervis:attaching-1-wire-devices-hidden [2021/08/05 14:28] avsetula |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Attaching 1-Wire devices ====== | ====== Attaching 1-Wire devices ====== | ||
+ | <WRAP group> | ||
+ | <WRAP half column 81%> | ||
In this tutorial, we are going to demonstrate, how to connect [[https://www.unipi.technology/1-wire-temperature-sensor-p63?categoryId=3|1-Wire temperature sensor]] and create very simple temperature regulator. | In this tutorial, we are going to demonstrate, how to connect [[https://www.unipi.technology/1-wire-temperature-sensor-p63?categoryId=3|1-Wire temperature sensor]] and create very simple temperature regulator. | ||
+ | </WRAP> | ||
+ | <WRAP half column 15%> | ||
+ | ;;# | ||
+ | <html><span class="dev-tag dev-patron">Patron</span></html> \\ | ||
+ | <html><span class="dev-tag dev-neuron">Neuron</span></html> \\ | ||
+ | <html><span class="dev-tag dev-unipi11">Unipi 1.1</span></html> \\ | ||
+ | <html><span class="dev-tag dev-axon">Axon</span></html> | ||
+ | ;;# | ||
+ | </WRAP> | ||
+ | </WRAP> | ||
- | ===== Prerequisites ===== | + | <WRAP center round box> |
- | * UniPi controller running Mervis OS | + | <html><span class="kbBlue-H4alt">Prerequisites:</span></html> |
+ | * Unipi controller running Mervis OS | ||
* Basic project in Mervis IDE in **Full mode** with | * Basic project in Mervis IDE in **Full mode** with | ||
* attached controller | * attached controller | ||
- | * created ModbusTCP channel with the UniPi controller device | + | * created ModbusTCP channel with the Unipi controller device |
* defined **Executable project** with one program | * defined **Executable project** with one program | ||
* setted **Autogen** on the Unipi controller device | * setted **Autogen** on the Unipi controller device | ||
* defined task running a program from **Executable project** | * defined task running a program from **Executable project** | ||
* successfully executed **Build** | * successfully executed **Build** | ||
- | * [[https://www.unipi.technology/power-supplies-c15|24V power supply]] | + | * [[https://www.unipi.technology/power-supplies-c15|24 V⎓ power supply]] |
* [[https://www.unipi.technology/1-wire-temperature-sensor-p63?categoryId=3|1-Wire temperature sensor]] | * [[https://www.unipi.technology/1-wire-temperature-sensor-p63?categoryId=3|1-Wire temperature sensor]] | ||
In this tutorial, we will use [[https://www.unipi.technology/neuron-c2|Unipi Neuron L503]]. | In this tutorial, we will use [[https://www.unipi.technology/neuron-c2|Unipi Neuron L503]]. | ||
+ | </WRAP> | ||
===== Attaching 1-Wire temperature sensor ===== | ===== Attaching 1-Wire temperature sensor ===== | ||
- | You can find all the informations about how to connect the DS18B20 based temeperature sensor [[en:hw:05-1-wire|here]]. | + | You can find all the informations about how to connect the DS18B20 based temeperature sensor [[en:automation:02-glossary:1wire-hidden|here]]. |
===== Configuring 1-Wire bus in Mervis ===== | ===== Configuring 1-Wire bus in Mervis ===== | ||
Line 40: | Line 54: | ||
{{ :en:sw:01-mervis:attaching-1-wire-devices-04-set-channel-link-protocol.png?direct |}} | {{ :en:sw:01-mervis:attaching-1-wire-devices-04-set-channel-link-protocol.png?direct |}} | ||
+ | |||
+ | You now need to **deploy the solution** into the PLC to create the **OneWire** communication channel on it. | ||
===== Detecting 1-Wire sensors ===== | ===== Detecting 1-Wire sensors ===== |