Capacitive Touch Button by using ADC channel (the CVD system)


Closed Thread
Results 1 to 40 of 43

Hybrid View

  1. #1
    Join Date
    Oct 2011
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: Capacitive Touch Button by using ADC channel (the CVD system)

    please send me the code for capacitive touch button by using adc channel with pic16f877a controller.

  2. #2
    Join Date
    Oct 2004
    Posts
    440


    Did you find this post helpful? Yes | No

    Default Re: Capacitive Touch Button by using ADC channel (the CVD system)

    Quote Originally Posted by sumityadav View Post
    please send me the code for capacitive touch button by using adc channel with pic16f877a controller.
    See Touch interface for a complete code post of a capacitive touch button.
    Warning: Other compiler

    Norm

  3. #3
    Join Date
    Aug 2010
    Location
    Maryland, USA
    Posts
    869


    Did you find this post helpful? Yes | No

    Default Re: Capacitive Touch Button by using ADC channel (the CVD system)

    Quote Originally Posted by sumityadav View Post
    please send me the code for capacitive touch button by using adc channel with pic16f877a controller.
    Sorry, but thats not really the way we do things here. You have to put in a little effort too! If you try to do it, we will help and attempt to teach you how to do this. Very likely you will end up with working code within a few days. At least show us your schematic if we need it, what pin(s) do you need to detect the touch on? Can you blink an LED?

    If you want a working solution without any effort, there are folks here that will be happy to get paid by you to build it for you.
    -Bert

    The glass is not half full or half empty, Its twice as big as needed for the job!

    http://foamcasualty.com/ - Warbird R/C scratch building with foam!

  4. #4
    Join Date
    Oct 2011
    Posts
    2


    Did you find this post helpful? Yes | No

    Default Re: Capacitive Touch Button by using ADC channel (the CVD system)

    Name:  Untitled.png
Views: 12218
Size:  37.3 KB

    yeah....sorry for that...i am new here....i am an B.TECH final year student.....i am trying to work on touch technology myself....
    this is my circuit diagram in proteius. i tried by burning the code in this but i do not know about the exact digital value after a touch is made
    and one more thing when we talk about the actual hardware i studied that the touch sensor is connected to one or more adc channel. the second channel is continuously scanning and connected to vdd or ground untill the touch is mot made through first one.......can u please explain how?????

  5. #5
    Join Date
    Jun 2011
    Posts
    25


    Did you find this post helpful? Yes | No

    Default Re: Capacitive Touch Button by using ADC channel (the CVD system)

    Hello Norm,
    I tried your example code, but maybe i did something wrong because it did not work
    First i understood that you use an array , size 100 to store the readings. Is this array of words or bytes ?
    Reading the pic18f87j90 data sheet the ADRESH it is a byte, but the whole analog reading it is a word.
    Do you store just the high byte of the conversion ?
    Do you also have a schematics to look at it ?
    I do not know if i have to leave PortA.2 floating or i have to connect it to something aka VDD or vss
    What is the clock frequency of your CPU ? Do you run internal or from a crystal ?
    I love to try it and make it work on my PIC18F87J90.
    Thank you
    Ion

  6. #6
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: Capacitive Touch Button by using ADC channel (the CVD system)

    Did this years ago with the POT command and any digital I/O pin.



    Worked perfect, but the POT command will slow down a cyclic program.

  7. #7
    Join Date
    Jun 2011
    Posts
    25


    Did you find this post helpful? Yes | No

    Default Re: Capacitive Touch Button by using ADC channel (the CVD system)

    Thank you Art
    I will try it

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts