Analog

From Let's Control It
Jump to: navigation, search

Introduction

The ESP module can read an analog signal and send its value to your controller.

The input signal needs to be connected to the ADC (also referred as Tout) pin on the ESP module. On the ESP-01, this pin is not available.

Hardware

Connect a switch between ground and the ADC pin.


Analog.png


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 "Analog Input" from the dropdown box.

EasyConfigAnalog.png

Enter the IDX found in the Domoticz device page. That should be all.

Optional settings

Use of formulas

Use of value names

Examples

Analog pressure gauge

ESP Connexio