Yesterday, 06:51 PM
Hi,
I'm trying to connect 2 analog temperature sensors to analog input on my A8 but I have 2 problems.
When the sensors are not connected, checking the voltage, the meter shows 1.062v (real value).
One problem is, that immediately after connecting to the board, the voltage drops to 1.015v.
While this could be handled and read correctly, as long as the voltage changes remain constant between temperatures - this sensor is connected in parallel with another board, so changing the voltage on it is also affecting the other board reading.
Second problem is, that esphome code I'm using to read the voltage is showing 0.68198v...
The code for that particular sensor I'm using is:
Can anyone help me and explain why is this happening?
I'm trying to connect 2 analog temperature sensors to analog input on my A8 but I have 2 problems.
When the sensors are not connected, checking the voltage, the meter shows 1.062v (real value).
One problem is, that immediately after connecting to the board, the voltage drops to 1.015v.
While this could be handled and read correctly, as long as the voltage changes remain constant between temperatures - this sensor is connected in parallel with another board, so changing the voltage on it is also affecting the other board reading.
Second problem is, that esphome code I'm using to read the voltage is showing 0.68198v...
The code for that particular sensor I'm using is:
Code:
sensor:
- platform: adc
pin: 35
id: analog_sensor_2
attenuation: auto
Can anyone help me and explain why is this happening?