Page 1 of 1
Capacitive Sensing oscillator
Posted: Mon Nov 07, 2011 11:02 pm
by Dmitry Maximenko
Hi people!
Is there anyone who has used Capacitive Sensing oscillator ?
Is very interested in how it works
Please recommend how I should get started:-)
Best Regards
Dmitry
Re: Capacitive Sensing oscillator
Posted: Tue Nov 08, 2011 7:27 am
by jgu1
Hi Dmtri!
I have asked the same thing :
http://www.matrixmultimedia.com/mmforum ... gu1#p28446
But it seems that there is not someone who has tried it in FC. But try to look at this link. there is another link from (PCBheaven) that shows a good example. Maybe it can give you an idea to do it in FC. if you can, I am very interested, as I write, you can even change as you wish.
Best regard
Jorgen

Re: Capacitive Sensing oscillator
Posted: Fri Nov 25, 2011 11:00 pm
by Dmitry Maximenko
Does anyone have an idea?
Thanks
Best Regards
Re: Capacitive Sensing oscillator
Posted: Mon Nov 28, 2011 10:53 am
by Benj
Here is a very basic example of cap touch in Flowcode v4.5.
For a better cap touch output you should really repeat the loop several times and take an average of the reading.
Re: Capacitive Sensing oscillator
Posted: Mon Nov 28, 2011 1:49 pm
by jgu1
Hi Ben!
Thak you for your examble, but I have unfortunately absolute no experience with C. Is it difficult for you to "Compile it to Flowcode".
Best regard
Jorgen.
Re: Capacitive Sensing oscillator
Posted: Mon Nov 28, 2011 6:16 pm
by Benj
Hello Jorgen,
Unfortunately coding the ADC channel and other parameters into a custom component would be quite tricky without creating a specific component front end and we are currently flat out with v5 development. I will have a think on it and see what I can come up with. There is not too much C code in the file. I think the main bit you have to change is the bits that assign the specific ADC channel.
Re: Capacitive Sensing oscillator
Posted: Mon Nov 28, 2011 7:31 pm
by jgu1
Hi Ben!
Ok Ben, thanks for your reply. Yes, I could imagine it's hard to do in CF. Still look forward to Ver.5.
best wishes
Jorgen.
Re: Capacitive Sensing oscillator
Posted: Tue Nov 29, 2011 1:13 pm
by Benj
Hello,
I have improved the example a bit to include a variable to control the ADC channel in use and also included a loop to help filter the cap touch signal.