Page 1 of 1

sweep through a frequency

Posted: Thu Aug 23, 2012 6:16 am
by Ken Sparkes
Can you help me with the flow code to sweep through a frequency from 10kz to 50kz using the 12f615
Regards Ken

Re: sweep through a frequency

Posted: Thu Aug 23, 2012 10:45 pm
by Enamul
Hi,
Can you please tell us bit more details of your project so that we can help you?

Re: sweep through a frequency

Posted: Fri Aug 24, 2012 6:18 am
by Ken Sparkes
Good Day Enamul I want to make a electronic water descaler as it is not know the exact frequency it works I want to sweep from 10Kz to 50Kz regards Ken

Re: sweep through a frequency

Posted: Fri Aug 24, 2012 8:43 am
by medelec35
I saw this post this morning:
http://www.dynapipe.co.uk/technical-info.htm
It gives the optimum frequency and frequency range.

Hope it helps

Martin

Re: sweep through a frequency

Posted: Fri Aug 24, 2012 11:16 am
by Enamul
Hi,
I hope your problem is sorted using Martin's post. If still not, you can try to make one using the following post of Martin which is although not upto the frequency you are looking for but I think can be modified for that..
http://www.matrixmultimedia.com/mmforum ... tor#p37525

Re: sweep through a frequency

Posted: Sat Aug 25, 2012 7:49 am
by Ken Sparkes
Thanks Martin that's a great help :D
Ken

Re: sweep through a frequency

Posted: Sun Aug 26, 2012 9:03 am
by Ken Sparkes
Good Day Martin I would still like help on the code to sweep from 7Kz to 17Kz with out the ADC as per the technical information on the Dyna web site.
Ken

Re: sweep through a frequency

Posted: Sun Aug 26, 2012 10:21 am
by medelec35
Hi Ken,
Ken Sparkes wrote:Thanks Martin that's a great help :D
Your welcome
Ken Sparkes wrote:I would still like help on the code to sweep from 7Kz to 17Kz with out the ADC as per the technical information on the Dyna web site.
yes I can help.
I have just started on a flowchart, that not only will sweep, but will also be modulated at 1Hz as per web site.
Will post later today if all goes well.

Martin

Re: sweep through a frequency

Posted: Sun Aug 26, 2012 12:30 pm
by medelec35
Hi Ken,
Here is my first attempt.
Sweep frequency is from 7.88KHz to 16.96KHz
Pulsed at 1HZ
So frequency will sweep from 7.88KHz to 16.96KHz then back to 7.88KHz in one second.
Then no output for 1sec.
Then sweep from 7.88KHz to 16.96KHz then back to 7.88KHz etc.

Note: Output is from PWM = GP2

Re: sweep through a frequency

Posted: Mon Aug 27, 2012 10:33 am
by Ken Sparkes
Thanks again Martin that works great I will have one built and installed by tonight, I know these things are about 100 pounds in the UK but I live in Zimbabwe and there is nothing like that here. I will let you know how it works.
Regards
Ken

Re: sweep through a frequency

Posted: Tue Aug 28, 2012 7:23 am
by medelec35
Your welcome Ken.
Lets hope it does the job ok.
Don't know if this will be any help?
http://www.extremecircuits.net/2010/06/ ... er_17.html
Microcontroller will just replace 555 timers.