Difference between revisions of "TemperatureSensor"

From Let's Control It
Jump to navigation Jump to search
(Blanked the page)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
= Introduction =
 
The ESP module can read a Dallas DS18b20 sensor using the Dallas OneWire protocol.
 
  
The Dallas sensor needs to be connected to a configurable GPIO on the ESP module. In case you have a simple ESP-01 module, it's best to use the GPIO-2 pin.
 
 
== Hardware ==
 
The Dallas sensor can be connected directly to an ESP module. It only needs a 4k7 resistor connected between VCC and the GPIO datapin.
 
 
----
 
[[File:DS18B20.jpg|320px]]
 
[[File:ESP-01_DS_bb.jpg]]
 
----
 
 
= Software =
 
 
== Custom Sketch ==
 
 
== ESP Easy ==
 
Use the device tab on the ESP Easy webinterface and create a new task by editing one of the available tasks. Select "Dallas DS18b20" from the dropdown box.
 
 
[[File:EasyConfigPulse.png]]
 
 
Enter the IDX found in the Domoticz device page. Also select the GPIO pin that you have used to connect the dallas sensor. That should be all.
 
 
=== Optional settings ===
 
 
[[ EasyFormula | Use of formulas]]
 
 
[[ EasyValueNames | Use of value names]]
 
 
 
And the final result if using Domoticz:
 
 
[[File:Domoticz_Dallas.png]]
 
 
[[File:Domoticz_Dallas_Chart.png]]
 
 
== ESP Connexio ==
 
Syntax: DallasRead "var"
 

Latest revision as of 21:49, 12 May 2017