Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AIO pins 0-5v reading 3.150v
#1
Question 
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
Reply
#2
what voltage value showed in KCS monitor webpage?
Reply
#3
(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.
Reply
#4
do you want download KCS firmware or firmware by ESPHome yaml?
Reply
#5
(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.


Attached Files
.txt   kincony-aio.txt (Size: 20.25 KB / Downloads: 138)
Reply
#6
which channel you have connected with analog signal, you can take a photo how you wire, we can test as your photo.
Reply
#7
(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.


Attached Files Image(s)
       
Reply
#8
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;
          }
Reply
#9
(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.


Attached Files Image(s)
   

.txt   kincony-aio.txt (Size: 20.57 KB / Downloads: 137)
Reply
#10
Is the ADC sensor good enough for millivolt readings?
Are the sensors reading 0-5v or something else and then transforming it with calculations?
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)