Difference between revisions of "TemperatureSensor"

From Let's Control It
Jump to navigation Jump to search
Line 16: Line 16:
  
 
== ESP Easy ==
 
== 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 and 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.
+
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.
 +
 
  
 
[[File:Domoticz_Dallas.png]]
 
[[File:Domoticz_Dallas.png]]

Revision as of 07:43, 3 October 2015

Introductie

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.


DS18B20.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.

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.


Domoticz Dallas.png

Domoticz Dallas Chart.png

ESP Connexio

Syntax: DallasRead "var"