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


Closed Thread
Page 2 of 2 FirstFirst 12
Results 41 to 43 of 43
  1. #41
    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

  2. #42
    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.

  3. #43
    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 : 3

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