I am stuck with an (actually very easy) project. To be honest, I am a beginner, so please do not shout on me, if I made just a dumb mistake.
I just want to run 4 "Capacitive Soil Moisture Sensors 2.0" with a D1 Mini (Git Build: mega-20200608, normal build 4m1m) and a PCF8591 module (not just the single chip) including brightness sensor and thermometer.
Unfortunately the tutorial/wiki https://www.letscontrolit.com/wiki/inde ... P_Connexio is very short and in difference to other articles not answering my questions:
How do I connect everything?
The capacitive Soil sensors have Following connectors
GND
VCC (3.3-5V)
Aout
On the PCF8591 there is
AOUT
AIN0
AIN1
AIN2
AIN3
and on the other side of the module i get;
SCL
SDA
GND
and VCC (3.3-5)
So this was my suggestion now:
Every Sensor is connected:
VCC = 3.3V (on D1 mini)
GND = GND
AOUT to AIN0 - AIN3 on the PCF8591
And the PCF8591 to my D1 Mini:
SCL = D1
SDA = D2
GND = GND
and VCC = 3.3V
So far so good (or already wrong?)
Now configured the ESPEasy Software:
Code: Select all
Device: Analog input - PCF8591 ❔ ℹ
Name: PlantSensor1
Enabled: yes
Sensor
Port: 0
Data Acquisition
Send to Controller (until now not)
Interval: [sec] 1
Analog input - PCF8591
Code: Select all
PlantSensor1 I2C
SDA: 4
SCL: 5
Analog:
96.00
Actually I expected to get 4 values for Moisture, plus one for Temperature and one for brightness (or at least the 4 moisture values).
Can anyone explain me what I forgot to do or did wrong?
Please do not refer to this article, I did not get it.
What is a domoticz device page? How do I set up?
Why do I not see any IDX/Var? my ESPEasy looks different than this, there is no more IDX:
Thank you very much for your help!!!