CTMU Capacitive touch - Page 2


+ Reply to Thread
Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27

Thread: CTMU Capacitive touch2787 days old

  1. #16
    Prolific Poster hadv215's Avatar
    Join Date
    Sep 2009
    Posts
    1,135
    Thumbs Up
    Received: 66
    Given: 26
    Total Downloaded
    3.46 GB

    0 Not allowed!

    Default Re: CTMU Capacitive touch

    @Les: saw that one too and seen it more often than I like. Made me think of the Option Base directive in VB

    @pic-ignorant: Not yet, I'm still experimenting with settings and thresholds.
    First I'll have to get an idea of what the initial value for Timer1H/L is and what values are obtained when putting my finger in the neighbourhood.
    First tests yesterday showed that approaching the pads from the other side of the pcb (1.5 mm epoxy) did not work for all 8 pads.
    3mm plexiglas proofed to be an insulator, so I have to start fiddling with the values.
    Will report when I know more

    Regards
    Harm

Attention
×

This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

The advertisements we display are relevant to this web site and your browsing history

Please consider supporting us by disabling your ad blocker.


Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

If you can, please report issues in the forum area WebSite / Forum Issues


Thank you for your attention.

  • #17
    Fanatical Contributor top204's Avatar
    Join Date
    Feb 2002
    Posts
    3,428
    Thumbs Up
    Received: 296
    Given: 142
    Total Downloaded
    1.75 GB

    0 Not allowed!

    Default Re: CTMU Capacitive touch

    That's where the SizeOf directive comes in handy. For example:

    Code:
    Dim MyArray[11] As Word
    Dim Index As Byte
        
    For Index = 0 To SizeOf(MyArray) - 1
        
    Next
    Or better still:

    Code:
    Dim MyArray[11] As Word
    Dim Index As Byte
        
    Index = 0
    Repeat
        
        Inc Index
    Until Index >= SizeOf(MyArray)

  • Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #18
    Prolific Poster hadv215's Avatar
    Join Date
    Sep 2009
    Posts
    1,135
    Thumbs Up
    Received: 66
    Given: 26
    Total Downloaded
    3.46 GB

    0 Not allowed!

    Default Re: CTMU Capacitive touch

    Of course, seems that sometimes I forget the features that may come in handy. On the other hand, being a Delphi programmer, I'm used to using 0-based arrays so I'm not even considering this feature.
    Constants and Symbols work miracles too.


    I did some experimenting, using the UART to display the values.
    When I changed the threshold from the original program ("TOUCHBUTTON[LOOPIE] = TMR1TOTAL + 400 ;BEST GUESS 1/2 VALUE OF DROP")
    from 400 to 100 it also worked with 3 mm plexiglass.

    Keep in mind that the physical design will definitively have impact on the values obtained from the Capacitive Oscillator.

    My test PCB is 160 by 65 mm. The pads are circles with a diameter of 14 mm, 5mm space between them and a groundline of .76 mm between them.
    MicroChip® has a tool to communicate the values read between the uC and a PC. It uses the UART and PicKit.
    That's the next I'm going to try.

  • Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #19
    Prolific Poster hadv215's Avatar
    Join Date
    Sep 2009
    Posts
    1,135
    Thumbs Up
    Received: 66
    Given: 26
    Total Downloaded
    3.46 GB

    0 Not allowed!

    Default Re: CTMU Capacitive touch

    I thought I forgot about SizeOf(), but it's some different: it is not documented but it is a protected compiler word

    Regards
    Harm

  • Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #20
    Fanatical Contributor top204's Avatar
    Join Date
    Feb 2002
    Posts
    3,428
    Thumbs Up
    Received: 296
    Given: 142
    Total Downloaded
    1.75 GB

    0 Not allowed!

    Default Re: CTMU Capacitive touch

    Sorry. I forgot to add it to the manual. It is documented in the Whats New file and I made a note to add it to the manual, but never got round to it. I'll make another note.

  • Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #21
    Prolific Poster pic-ignorant's Avatar
    Join Date
    Oct 2007
    Posts
    2,938
    Thumbs Up
    Received: 25
    Given: 31
    Total Downloaded
    926.61 MB

    0 Not allowed!

    Default Re: CTMU Capacitive touch

    Hi Harm,
    I would be interested to see what results you get with the 3mm acrylic. I made a keypad with key scanning, which worked fine with a thin covering, but I had varying results with 3mm. I also needed some of the buttons to latch on. In the end, I used an Atmel solution which works very well

    John

  • Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #22
    Prolific Poster hadv215's Avatar
    Join Date
    Sep 2009
    Posts
    1,135
    Thumbs Up
    Received: 66
    Given: 26
    Total Downloaded
    3.46 GB

    0 Not allowed!

    Default Re: CTMU Capacitive touch

    Hi John,

    what kind of results do you want to see
    measurement values?
    a video?

    latching is, of course, no more than a software thingy

    Regards,
    Harm

  • Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #23
    Prolific Poster pic-ignorant's Avatar
    Join Date
    Oct 2007
    Posts
    2,938
    Thumbs Up
    Received: 25
    Given: 31
    Total Downloaded
    926.61 MB

    0 Not allowed!

    Default Re: CTMU Capacitive touch

    Hi Harm,

    I was more interested in what material types and thicknesses that you were able to get reliable repeatable results from.

  • Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #24
    Prolific Poster hadv215's Avatar
    Join Date
    Sep 2009
    Posts
    1,135
    Thumbs Up
    Received: 66
    Given: 26
    Total Downloaded
    3.46 GB

    0 Not allowed!

    Default Re: CTMU Capacitive touch

    It's called 'plexiglas' in Dutch, a more formal name is Polymethylmethacrylaat.
    Both 2 and 3 mm transparent give good results and even 10 mm works.

  • Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #25
    Prolific Poster pic-ignorant's Avatar
    Join Date
    Oct 2007
    Posts
    2,938
    Thumbs Up
    Received: 25
    Given: 31
    Total Downloaded
    926.61 MB

    0 Not allowed!

    Default Re: CTMU Capacitive touch

    Thats very good, better than I achieved

  • Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #26
    Prolific Poster hadv215's Avatar
    Join Date
    Sep 2009
    Posts
    1,135
    Thumbs Up
    Received: 66
    Given: 26
    Total Downloaded
    3.46 GB

    0 Not allowed!

    Default Re: CTMU Capacitive touch

    That's as far as it will go.

    Question: at the moment my uC and pads are on the same PCB (just for experimenting purposes) and I find that touching the traces between the pads and the uC results in a response.
    I'm considering to have the pads on a separate PCB, so make it two PCB's, to reduce this unwanted behaviour. Then I'll have to wire the PCB's and this might cause more problems than it solves like interference between wires.
    Should I shield each separate wire?

    Regards,
    Harm

  • Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

  • #27
    Prolific Poster pic-ignorant's Avatar
    Join Date
    Oct 2007
    Posts
    2,938
    Thumbs Up
    Received: 25
    Given: 31
    Total Downloaded
    926.61 MB

    0 Not allowed!

    Default Re: CTMU Capacitive touch

    I made my board in 2 parts as you suggested with pads and leds on top board.(illuminated pads) and a uc board underneath with pic16f723 & relay outputs on the lower board and connected them with 2.54mm pin header and sockets. The top board was double sided with the pads on top and traces below.

  • Attention
    ×

    This valuable resource relies upon the very small amount of revenue generated by displaying online advertisements to our visitors.

    The advertisements we display are relevant to this web site and your browsing history

    Please consider supporting us by disabling your ad blocker.


    Note: Some users have reported issues related to ad-blockers rendering parts of this wesite unusable,
    where possible we will rectify the issues to enable you to use this resource with adblocking enabled.

    If you can, please report issues in the forum area WebSite / Forum Issues


    Thank you for your attention.

    Thread Information

    Users Browsing this Thread

    There are currently 1 users browsing this thread. (0 members and 1 guests)

       

    Similar Threads

    1. Projected-Capacitive Touch Screen Controller
      By normnet in forum New devices and techniques
      Replies: 0
      Last Post: 30th June 2015, 12:51
    2. New low power Capacitive Touch Controllers
      By normnet in forum New devices and techniques
      Replies: 0
      Last Post: 26th March 2014, 12:20
    3. Help request Capacitive touch (AN1298)
      By Tim in forum Proton Plus Compiler v3
      Replies: 1
      Last Post: 10th February 2012, 22:01
    4. Capacitive touch
      By wastrix in forum The Lounge
      Replies: 4
      Last Post: 28th December 2011, 01:19
    5. Microchip AN1298 - Capacitive Touch using only an ADC
      By Peter Truman in forum Proton Plus Compiler v3
      Replies: 17
      Last Post: 5th May 2010, 14:28

    Members who have read this thread since 14th November 2019, 10:17 : 1

    Actions :  (Set Date)  (Clear Date)

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

    Tags for this Thread

    Posting Permissions

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