![]() |
|
AIO pins 0-5v reading 3.150v - Printable Version +- Smart Home Automation Forum (https://www.kincony.com/forum) +-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20) +--- Forum: KC868-AIO (https://www.kincony.com/forum/forumdisplay.php?fid=46) +--- Thread: AIO pins 0-5v reading 3.150v (/showthread.php?tid=8010) Pages:
1
2
|
AIO pins 0-5v reading 3.150v - Honeybadger - 04-24-2025 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 RE: AIO pins 0-5v reading 3.150v - admin - 04-24-2025 what voltage value showed in KCS monitor webpage? RE: AIO pins 0-5v reading 3.150v - Honeybadger - 04-24-2025 (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. RE: AIO pins 0-5v reading 3.150v - admin - 04-24-2025 do you want download KCS firmware or firmware by ESPHome yaml? RE: AIO pins 0-5v reading 3.150v - Honeybadger - 04-24-2025 (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. RE: AIO pins 0-5v reading 3.150v - admin - 04-24-2025 which channel you have connected with analog signal, you can take a photo how you wire, we can test as your photo. RE: AIO pins 0-5v reading 3.150v - Honeybadger - 04-25-2025 (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. RE: AIO pins 0-5v reading 3.150v - admin - 04-25-2025 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: adcRE: AIO pins 0-5v reading 3.150v - Honeybadger - 04-25-2025 (04-25-2025, 02:08 AM)admin Wrote: try to replace this pin:36 code with new code: After this update the sensor is not reading anything. RE: AIO pins 0-5v reading 3.150v - Honeybadger - 04-25-2025 Is the ADC sensor good enough for millivolt readings? Are the sensors reading 0-5v or something else and then transforming it with calculations? |