I’m injecting 5v on the pins AI1-8 and they are supposed to read 0-5v but in Home Assistant they read 3.150v
I used the pin 5v from the board to test it too, only reads 3.150v
what voltage value showed in KCS monitor webpage?
(04-24-2025, 01:02 AM)admin Wrote: [ -> ]what voltage value showed in KCS monitor webpage?
How do I access that page after the system is all configured and installed into home assistant?
I have the AIO connected to the router via ethernet cable.
do you want download KCS firmware or firmware by ESPHome yaml?
(04-24-2025, 06:02 AM)admin Wrote: [ -> ]do you want download KCS firmware or firmware by ESPHome yaml?
I don't know how to access the KCS monitor page, can you guide me?
The board is installed on Home Assistant using the ESPHome yaml file provided by you.
I have attached here my YAML file.
which channel you have connected with analog signal, you can take a photo how you wire, we can test as your photo.
(04-24-2025, 11:57 PM)admin Wrote: [ -> ]which channel you have connected with analog signal, you can take a photo how you wire, we can test as your photo.
Pictures attached here.
I'm basically connecting the 5v from the AIO directly into the AI-03 to test the 5v readings from Home Assistant but I'm getting 3.150v instead of 5v.
try to replace this pin:36 code with new code:
- platform: adc
pin: 36
id: adc36
update_interval: never
attenuation: 11db
-----------------------------to new----------
- platform: adc
pin: 36
id: adc36
name: "A32 Pro A1 Voltage"
update_interval: never
attenuation: 11db
filters:
- lambda:
if (x >= 3.11) {
return x * 1.60256;
} else if (x <= 0.15) {
return 0;
} else {
return x * 1.51;
}
Code:
- platform: adc
pin: 36
id: adc36
name: "A32 Pro A1 Voltage"
update_interval: never
attenuation: 11db
filters:
- lambda:
if (x >= 3.11) {
return x * 1.60256;
} else if (x <= 0.15) {
return 0;
} else {
return x * 1.51;
}
(04-25-2025, 02:08 AM)admin Wrote: [ -> ]try to replace this pin:36 code with new code:
- platform: adc
pin: 36
id: adc36
update_interval: never
attenuation: 11db
-----------------------------to new----------
- platform: adc
pin: 36
id: adc36
name: "A32 Pro A1 Voltage"
update_interval: never
attenuation: 11db
filters:
- lambda:
if (x >= 3.11) {
return x * 1.60256;
} else if (x <= 0.15) {
return 0;
} else {
return x * 1.51;
}
Code:
- platform: adc
pin: 36
id: adc36
name: "A32 Pro A1 Voltage"
update_interval: never
attenuation: 11db
filters:
- lambda:
if (x >= 3.11) {
return x * 1.60256;
} else if (x <= 0.15) {
return 0;
} else {
return x * 1.51;
}
After this update the sensor is not reading anything.
Is the ADC sensor good enough for millivolt readings?
Are the sensors reading 0-5v or something else and then transforming it with calculations?