frequency counter & generator

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

ardiles
Posts: 23
Joined: Tue Jun 24, 2014 11:38 am
Has thanked: 7 times
Been thanked: 1 time
Contact:

frequency counter & generator

Postby ardiles » Mon Aug 18, 2014 12:33 pm

i have a TMR2 to count frequency...TMR2 becouse i use TMR1...
more than 41Hz to change a variable(and disable one function), and below 41Hz to change same variable who changed more than 41Hz and enable a function...
i tryed to modify an example » 5. Digital frequency counter.fcf, and i failed... :roll:
thanks!

ardiles
Posts: 23
Joined: Tue Jun 24, 2014 11:38 am
Has thanked: 7 times
Been thanked: 1 time
Contact:

Re: frequency counter & generator

Postby ardiles » Tue Aug 19, 2014 9:33 am

i tryed the explain of BENJ but failed 2....

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8542
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2456 times
Been thanked: 3528 times
Contact:

Re: frequency counter & generator

Postby medelec35 » Tue Aug 19, 2014 10:04 am

Hi ardiles,
Are you're using V5 professional version of flowcode?
If so can you please sign up to be a V5 registered user by following this link
Once registered, we should be able to assist you further.

Martin
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

ardiles
Posts: 23
Joined: Tue Jun 24, 2014 11:38 am
Has thanked: 7 times
Been thanked: 1 time
Contact:

Re: frequency counter & generator

Postby ardiles » Wed Aug 20, 2014 6:41 am

Hi Martin! i not use "Flowcode V5 professional", i am using "Flowcode V5 for PIC free version".
i am not professional programmer, i am amateur!
i must make a pin of microcontroler like this:
0-41Hz - turning on a LED,
more than 41Hz - turning off a led...
!! frequency range is variable and total range is: (10 - 290)Hz -
is signal of speed vehicle:
Semnalul este dreptunghiular. Pentru
10km/h - 13.85Hz,
20-27.75
30-41.65
40-55.55
50-69.4
60-83
70-97.2
80-111.1
90-125
100-138.85
110-152.75
120-166.65
130-180.55
140-194.4
150km/h-208.3Hz

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8542
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2456 times
Been thanked: 3528 times
Contact:

Re: frequency counter & generator

Postby medelec35 » Wed Aug 20, 2014 9:36 am

Hi ardiles,
ardiles wrote:i am not professional programmer, i am amateur!

You don't have to be professional programmer to use professional version.
Hobbyists (including complete beginners) use professional as that enables them to use all the communications components and not be restricted to amount of memory that can be used.
What microcontroller are you using?
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

ardiles
Posts: 23
Joined: Tue Jun 24, 2014 11:38 am
Has thanked: 7 times
Been thanked: 1 time
Contact:

Re: frequency counter & generator

Postby ardiles » Wed Aug 20, 2014 10:35 am

Hi Medelec35,
uc is 16f88, and the electronics for me is hobby...thats the reasoon who i dont use propessional version...
i am to level: 3inputs and 4 outputs, PWM on CCP1 or 2, and another small knowledge...
but there is another discuttion!

i try to modify an example 5.frequency counter! and i succeed to make output to be on <10Hz and afther this threshold turn off the output....
BUT: the ehample have 16x2 display, and i dont use the display! when i delete the display and it connections, the example 5.frequency counter, DONT WORK :oops:

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 514 times
Been thanked: 467 times
Contact:

Re: frequency counter & generator

Postby dazz » Wed Aug 20, 2014 12:06 pm

Hi ardiles
Martin has asked you very politely to sign up to the V5 forums (link in my sig) ,So please can you sign up as this is in the wrong forum

Regards
Dazz
These users thanked the author dazz for the post:
medelec35 (Thu Mar 03, 2016 1:57 pm)
Rating: 5.26%
 
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

ardiles
Posts: 23
Joined: Tue Jun 24, 2014 11:38 am
Has thanked: 7 times
Been thanked: 1 time
Contact:

Re: frequency counter & generator

Postby ardiles » Wed Aug 20, 2014 12:21 pm

HI Dazz!
sorry for the wrong posting(V2 & V3)... :idea:

dazz
Posts: 1314
Joined: Sun Jan 15, 2012 3:15 pm
Has thanked: 514 times
Been thanked: 467 times
Contact:

Re: frequency counter & generator

Postby dazz » Wed Aug 20, 2014 12:39 pm

Hi
No worries again please sign up to the correct forums ,as the Vc's and others who help do this voluntarily and as such our time available to help others is limited, so help us to help you,It's very difficult to offer help if people wont sign up and/or post in the correct section
Kindest Regards
Dazz
To sign up to the V5 forum follow this link http://www.matrixmultimedia.com/forum_upgrades.php

ardiles
Posts: 23
Joined: Tue Jun 24, 2014 11:38 am
Has thanked: 7 times
Been thanked: 1 time
Contact:

Re: frequency counter & generator

Postby ardiles » Thu Aug 21, 2014 9:39 am

Hi!
i know my post is in wrong section but, this file can be usefully to users who want a fcf work like my description...
Attachments
frecventa.fcf
<41Hz works, >41Hz disable
(15.06 KiB) Downloaded 321 times

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8542
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2456 times
Been thanked: 3528 times
Contact:

Re: frequency counter & generator

Postby medelec35 » Thu Aug 21, 2014 10:18 am

Since Flowcode V5 professional was used to modify posted frecventa.fcf Flowchart, I have moved topic to the correct section.

Martin
These users thanked the author medelec35 for the post:
dazz (Thu Aug 21, 2014 11:03 am)
Rating: 5.26%
 
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.