Page 1 of 1

PWM signal < 10 HZ

Posted: Sat Aug 10, 2019 10:54 am
by xelites
Who can help me thanks, I have to generate a PWM signal with a base at 20HZ or 10 HZ and variable from 0 to 100% ... the original component of the micro does not make me go below 1000HZ. Thanks sorry the trouble.

Re: PWM signal < 10 HZ

Posted: Sat Aug 10, 2019 11:19 am
by medelec35
Hi xelites,
I have answered a similar question here

Re: PWM signal < 10 HZ

Posted: Sat Aug 10, 2019 11:48 am
by xelites
I see medelec, but the page link after not present server 404 error ! i not find example ... :(

Re: PWM signal < 10 HZ

Posted: Sat Aug 10, 2019 1:13 pm
by medelec35
Hi xelites,
Sorry I did not know the link is broken.
I can create an example flowchart for you.
What would be your preferred frequency?

Re: PWM signal < 10 HZ

Posted: Sat Aug 10, 2019 3:26 pm
by xelites
Thank you. I use the 18F67K22 and I have to emulate a PWM with a base frequency of 20 HZ. Thanks again

Re: PWM signal < 10 HZ

Posted: Sat Aug 10, 2019 8:44 pm
by medelec35
No problem.
Are you using internal or external osc and at what frequency?
If you are not fussed, then I created a quick example with internal OSC at 16MHz
It may be best to complete a 1sec flasher test to make sure chip is running at the correct osc speed.

Re: PWM signal < 10 HZ

Posted: Sun Aug 11, 2019 9:11 am
by xelites
I used ext osc. a 16 MHz PLL active a 4X ( 64MHz ).
To day i try your example

Re: PWM signal < 10 HZ

Posted: Sun Aug 11, 2019 10:31 am
by xelites
Medelec but what version do you have of FC8? tells me you have compiled it with a newer version of 8.1 ... and that may not work! :)

Re: PWM signal < 10 HZ

Posted: Sun Aug 11, 2019 10:57 am
by medelec35
Hi
I'm running 8.2.0.12 in which patch was downloaded from here
What I do every so often is while I have a flowchart open, Select Help, Check for updates.
Change Files in-use to Full database

So long as you are running 8.2 there will be no issues with not working due to version differences