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
Capacitive Sensing oscillator
Moderator: Benj
-
- Flowcode V4 User
- Posts: 36
- Joined: Mon Sep 26, 2011 10:26 pm
- Has thanked: 9 times
- Been thanked: 2 times
- Contact:
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: Capacitive Sensing oscillator
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![Very Happy :D](./images/smilies/icon_biggrin.gif)
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
![Very Happy :D](./images/smilies/icon_biggrin.gif)
-
- Flowcode V4 User
- Posts: 36
- Joined: Mon Sep 26, 2011 10:26 pm
- Has thanked: 9 times
- Been thanked: 2 times
- Contact:
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Capacitive Sensing oscillator
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.
For a better cap touch output you should really repeat the loop several times and take an average of the reading.
- Attachments
-
- CapTouch.fcf
- (8 KiB) Downloaded 297 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: Capacitive Sensing oscillator
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.
Thak you for your examble, but I have unfortunately absolute no experience with C. Is it difficult for you to "Compile it to Flowcode".
![Question :?:](./images/smilies/icon_question.gif)
Best regard
Jorgen.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Capacitive Sensing oscillator
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 1333
- Joined: Tue Oct 06, 2009 9:39 am
- Has thanked: 1135 times
- Been thanked: 299 times
- Contact:
Re: Capacitive Sensing oscillator
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.
Ok Ben, thanks for your reply. Yes, I could imagine it's hard to do in CF. Still look forward to Ver.5.
![Very Happy :D](./images/smilies/icon_biggrin.gif)
best wishes
Jorgen.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Capacitive Sensing oscillator
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.
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.
- Attachments
-
- CapTouch2.fcf
- (8.5 KiB) Downloaded 312 times
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel