Capacitive touch sensing with a single ADC pin

in AVR by DP | 1 comment

Capacitive sense buttons and pads are awesome, but many of the available systems are either propitiatory or require a dedicated IC. Toumas decided to code his own based on a closed source Atmel example where a single ADC pin is used for capacitive sensing. He reverse engineered it, and documented his results:

I’ve been thinking of a project that needs a little bit more elegant user interface than your usual push buttons. Partly inspired by a video blog on Dave Jones’ EEVblog, I decided to look into capacitive touch buttons. The big issue unfortunately for me was that you usually need a separate chip for capacitive touch sensing. With some tricks, you can however use a normal microcontroller to do the job. Even using only a single pin and resistor.

A lot of these techniques are riddled with patents, so watch out if you plan to sell your hardware.

Via the forum.

This entry was posted in AVR and tagged , , .

Comments

  1. ewertz says:

    “The big issue unfortunately for me was that you usually need a separate chip for capacitive touch sensing.”

    What?!? I can’t think of a major MCU manufacturer that doesn’t support cap-sensing with many of the products they’ve come out with in the last few years.

    I wouldn’t obsess over the legal issues until the Patent Office issues the patent for the RC time constant, frequency counting, and little swatches of copper or aluminum foil.

Leave a Comment

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.