Capacitive Touch PIC16f726

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

Moderators: Benj, Mods

Post Reply
cobra1
Posts: 175
Joined: Thu Feb 04, 2010 7:44 am
Has thanked: 3 times
Been thanked: 3 times
Contact:

Capacitive Touch PIC16f726

Post by cobra1 »

Hi Guys

I was just looking for a replacement to my QT320 IC, i came across the PIC16F726, this pic has a capacitive sense module built in.

Has anyone ever used flowcode to use this feature??

Can flowcode even be used to make this feature work?? I need to 4 keys to replace what i have already.

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: Capacitive Touch PIC16f726

Post by medelec35 »

Have you tried selecting PIC16f726 device?
I did not think flowcode V3 supports that device?
Thought it was only flowcode V4 that does?
Martin

cobra1
Posts: 175
Joined: Thu Feb 04, 2010 7:44 am
Has thanked: 3 times
Been thanked: 3 times
Contact:

Re: Capacitive Touch PIC16f726

Post by cobra1 »

V3 doesnt have the 726, but if i know i can make it work on V4 then i would probably buy v4 to do the job on,

I have seen other people use chips like 16f610 and 16f887, but i dont understand how they do it.

cobra1
Posts: 175
Joined: Thu Feb 04, 2010 7:44 am
Has thanked: 3 times
Been thanked: 3 times
Contact:

Re: Capacitive Touch PIC16f726

Post by cobra1 »

just been reading that this can be done using adc, using the internal capacitor.

Anyone got any idea how to make this work in flowcode??

User avatar
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 Touch PIC16f726

Post by Benj »

Hello,

Yes this is possible using only an ADC input and maybe also a timer interrupt.

Here is an app note from Microchip detailing how to do it.
http://ww1.microchip.com/downloads/en/A ... 01298A.pdf

And here are the files from the app note.
http://www.microchip.com/stellent/idcpl ... e=en545264

Post Reply