![]() |
|
Get PWM out, even by sacrificing other functionality - 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-A4 (https://www.kincony.com/forum/forumdisplay.php?fid=21) +--- Thread: Get PWM out, even by sacrificing other functionality (/showthread.php?tid=6672) |
Get PWM out, even by sacrificing other functionality - tarajas - 09-12-2024 Hi, I have a 1.2.4 version A4 board and I was wondering if there are some quick and dirty adjustments to be made potentially even with some small amount of soldering to get a PWM output on the board maybe? Like I could sacrifice the 433MHz related functionality for examle? Is there maybe such a modification? Thanks for the help in advance RE: Get PWM out, even by sacrificing other functionality - admin - 09-13-2024 if you don't use 433M or IR pins, you can use two pins conenct with a PCA9685 PWM i2c bus output module. just use for SDA and SCL pins. RE: Get PWM out, even by sacrificing other functionality - tarajas - 09-13-2024 Thank you very much for the answer! I guess the PWM level from this setup will match the logic level of the ESP32 3.3V right? So if I want 5V PWM then I need tk get an LLC after the generated PWM signal as well am I right? And feed that with 5V... RE: Get PWM out, even by sacrificing other functionality - admin - 09-13-2024 just add a convert circuit, switch to 5v level. ESP32 is 3.3v level. RE: Get PWM out, even by sacrificing other functionality - tarajas - 09-13-2024 Thanks, okay. RE: Get PWM out, even by sacrificing other functionality - tarajas - 09-13-2024 Hi, Luckily I have checked and maybe I can get by with analogue DC control 0-5V. The BLDC fans I use seems to accept analogue DC instead of PWM. One question in relation to this: The KCS firmware does not really offer dynamic control of fan rpm based on temperature right? Like a PID thermostat for example... for that one needs to write code or use esphome right? RE: Get PWM out, even by sacrificing other functionality - admin - 09-13-2024 KCS not support that, you can use ESPHome. RE: Get PWM out, even by sacrificing other functionality - tarajas - 09-14-2024 Thanks, okay. |