Home › Forum › Hardware › KIT1 – HV Duty Cycle High › Reply To: KIT1 – HV Duty Cycle High
May 17, 2026 at 4:21 pm
#30244
Keymaster
This is so cool: https://www.uradmonitor.com/compiling-the-uradmonitor-kit1-firmware-in-visual-studio-code-on-windows/
Congrats on the progress & the article!
What you’re seeing is because usually increasing duty, increases the voltage output, so the code tried to reach the preset voltage of 380V and pushes the duty up to 90% to achieve it, but fails due to hardware constraints.
You could change the code to make it work on a kind of parabola: if goes up to 90% but keep the max voltage reached in a variable, and resorts back to that if all duty interval was checked – instead of remaining stuck at 90%, will then go back to the optimal value.