PWM signal < 10 HZ

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 8.

Moderator: Benj

Post Reply
xelites
Posts: 44
Joined: Thu Nov 06, 2014 9:47 am
Been thanked: 7 times
Contact:

PWM signal < 10 HZ

Post 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.

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: PWM signal < 10 HZ

Post by medelec35 »

Hi xelites,
I have answered a similar question here
Martin

xelites
Posts: 44
Joined: Thu Nov 06, 2014 9:47 am
Been thanked: 7 times
Contact:

Re: PWM signal < 10 HZ

Post by xelites »

I see medelec, but the page link after not present server 404 error ! i not find example ... :(

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: PWM signal < 10 HZ

Post 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?
Martin

xelites
Posts: 44
Joined: Thu Nov 06, 2014 9:47 am
Been thanked: 7 times
Contact:

Re: PWM signal < 10 HZ

Post by xelites »

Thank you. I use the 18F67K22 and I have to emulate a PWM with a base frequency of 20 HZ. Thanks again

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: PWM signal < 10 HZ

Post 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.
Attachments
Bit Bang PWM1.fcfx
(11.22 KiB) Downloaded 177 times
Martin

xelites
Posts: 44
Joined: Thu Nov 06, 2014 9:47 am
Been thanked: 7 times
Contact:

Re: PWM signal < 10 HZ

Post by xelites »

I used ext osc. a 16 MHz PLL active a 4X ( 64MHz ).
To day i try your example

xelites
Posts: 44
Joined: Thu Nov 06, 2014 9:47 am
Been thanked: 7 times
Contact:

Re: PWM signal < 10 HZ

Post 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! :)

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: PWM signal < 10 HZ

Post 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
Martin

Post Reply