1
\$\begingroup\$

Some MCU have QTouch support - # touch channels implemented as a hardware. Is it true that QTouch library was designed only to work with such MCUs? Can I use it with, for example, 'old' ATmega48? Is it only a software solution which can be ported to any AVR microcontroller despite of hardware QTouch support?

\$\endgroup\$
  • \$\begingroup\$ The ATmega48 supports QTouch as per the datasheet. \$\endgroup\$ – Ignacio Vazquez-Abrams Jan 13 '16 at 11:49
1
\$\begingroup\$

You can use QTouch also on MCUs which do not have dedicated touch controller peripheral attached to it. Although there will be some limitations like only one single sensing method can run at a time. Also, it will consume more CPU time and more power.

Check out Atmel's site: http://www.atmel.com/products/touchsolutions/bsw/touch-support-for-mcus.aspx

For devices without peripheral touch controller, Atmel offer a software based solution that allow high degree of freedom for microcontroller selection and configuration. Most Atmel AVR and SMART ARM devices are supported and the library provides robust and industry proven capacitive touch performance. QTouch library supports both self and mutual capacitance sensing. Unlike microcontrollers with hardware touch module (PTC) the software library is only capable of running a single sensing method at a time. A pure software based touch system will also use more power and CPU time than a PTC based system. Code development and debugging is made simple by QTouch composer which is a free extension to the Atmel Studio IDE software.

\$\endgroup\$
  • \$\begingroup\$ No Atmel MCUs have hardware touch support. \$\endgroup\$ – Ignacio Vazquez-Abrams Jan 13 '16 at 11:47
  • \$\begingroup\$ Ignacio Vazquez-Abrams: my answer was not clear enough. I didn't refer to MCU by the device word. I meant more like appliance. My bad, I don't speak english as good as I should \$\endgroup\$ – bakcsa83 Jan 13 '16 at 12:08
  • \$\begingroup\$ Your first sentence is inaccurate. You can only run QTouch on an Atmel MCU regardless of what is attached to it, and no Atmel MCUs have integrated touch peripherals. \$\endgroup\$ – Ignacio Vazquez-Abrams Jan 13 '16 at 12:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.