Hi martin
Success the calculations you gave made sense and ive now got my head around how to derive the frequencys i want but now realise the period is critical when choosing duty
Thanks for the help and giving me the insight to playing with the pwm function
Bob
PWM ADVICE PLEASE
-
siliconchip
- Posts: 17
- http://meble-kuchenne.info.pl
- Joined: Wed Dec 16, 2020 10:38 am
- Has thanked: 6 times
-
medelec35
- Valued Contributor
- Posts: 2222
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 683 times
- Been thanked: 757 times
Re: PWM ADVICE PLEASE
That's great, I'm glad you have now got it all sussed out.
If the period is change then the Duty value must be updated to give the same %.
Yes, that it why I showed the period as part of the duty calculations.siliconchip wrote: ↑Mon Jan 05, 2026 4:03 pmbut now realise the period is critical when choosing duty
If the period is change then the Duty value must be updated to give the same %.
You're welcomesiliconchip wrote: ↑Mon Jan 05, 2026 4:03 pmThanks for the help and giving me the insight to playing with the pwm function
Martin