AT42QT1010 Capacitive Touch Breakout Hookup Guide

Similar documents
AT42QT101X Capacitive Touch Breakout Hookup Guide

USB Type A Female Breakout Hookup Guide

VKey Voltage Keypad Hookup Guide

ZX Distance and Gesture Sensor SMD Hookup Guide

Phi-panel backpack assembly and keypad options Dr. John Liu 12/16/2012

MPR121 Hookup Guide. MPR121 Overview. Materials

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

Create your own wireless motion sensor with

Mailbox Notification Service. Created by Adam Kohring

Thank you for purchasing the RGB Multi-MCU base and driver board from SuperTech-IT and TheLEDCube.com

RC Tractor Guy Controller V2.1 Assembly Guide

UF-3701 Power Board Construction Guide

A4988 Stepper Motor Driver Carrier with Voltage Regulators

Si4703 FM Radio Receiver Hookup Guide

MMA8452Q Accelerometer Breakout Hookup Guide

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

Thumb Joystick Retail. Tools and parts you'll need. Things you'll want to know. How does it work? Skill Level: Beginner. by MikeGrusin March 22, 2011

SX1509 I/O Expander Breakout Hookup Guide

GET YOUR DRAGONBOARD UP TO DATE

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

E3B USER'S GUIDE. for QT310 / QT320 QProx IC evaluation and development Overview. Fast Start

Hardware Overview. Onboard Sensors. Pressure, Humidity, and Temperature. Air Quality and Temperature

Large Solderable Breadboard Hookup Guide

Adafruit DS3231 Precision RTC Breakout

IME-100 Interdisciplinary Design and Manufacturing

Adafruit 1-Wire GPIO Breakout - DS2413

Post Tenebras Lab. Written By: Post Tenebras Lab

A4988 Stepper Motor Driver Carrier, Black Edition

EL Sequencer/Escudo Dos Hookup Guide

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

Phi -1 shield Documentation. Table of content

Adafruit CAP1188 Breakout

Adafruit 1-Wire Thermocouple Amplifier - MAX31850K

Spectrum Shield Hookup Guide

Qwiic Shield for Arduino & Photon Hookup Guide

LIS3DH Hookup Guide. Introduction. SparkFun Triple Axis Accelerometer Breakout - LIS3DH SEN Required Materials

Monitor your home remotely using the Arduino

Adafruit USB Power Gauge Mini-Kit

MAG3110 Magnetometer Hookup Guide

Electronics Construction Manual

How-To: Make an RGB combination door lock (Part 1)

Adafruit 1-Wire Thermocouple Amplifier - MAX31850K

GPS Series. Build a GPS Smart Logger. By Michael Simpson. As seen in November 2008 of Servo Magazine Pick up an issue at

HUB-ee BMD-S Arduino Proto Shield V1.1

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

Installation/assembly manual for DCC/Power shield

TKEY-1. CW touch key. (no electromechanical contacts) Assembly manual. Last update: June 20,

Audio Enhanced Touch Sensors Build Instructions

LCMM024: DRV8825 Stepper Motor Driver Carrier,

ARDUINO MINI 05 Code: A000087

Building and using JasperMIDI

Bill of Materials: Turn Off the Lights Reminder PART NO

Shack Clock kit. U3S Rev 2 PCB 1. Introduction

Arduino ADK Rev.3 Board A000069

ARDUINO MEGA 2560 REV3 Code: A000067

Adafruit PowerBoost Charger

Touch/Capacitive Sensor Patrick Coster s

ITG-3200 Hookup Guide

Phi-connect for Arduino (connector board V1.9)

micro:bit Lesson 2. Controlling LEDs on Breadboard

Button Code Kit. Assembly Instructions and User Guide. Single Button Code Entry System

Wind Logger Shield. Parts included: Date: 29/07/14 Version: 1.0 By: Matt Little

WS2812 Breakout Hookup Guide

An open-source hardware+software project. For design files and additional documentation, please visit:

One Grove Base Shield board this allows you to connect various Grove units (below) to your Seeeduino board; Nine Grove Grove units, consisting of:

<Table of content> <Parts and description> <Circuit board Guide> <Pins> <Basics of Coding> <Intro to Arduino> <Intro> <Downloading Arduino IDO>

Adafruit PowerBoost Charger

Module 003: Introduction to the Arduino/RedBoard

A4988 Stepper Motor Driver Carrier

Adafruit SHT31-D Temperature & Humidity Sensor Breakout

Adafruit INA219 Current Sensor Breakout

Adafruit INA219 Current Sensor Breakout

CP5176 Assembly guide. Soldering. CP5176 Assembly guide Main PCB PCB split. Document revision 2.1 Last modification : 12/11/17

ARDUINO UNO REV3 Code: A000066

IME-100 ECE. Lab 3. Electrical and Computer Engineering Department Kettering University. G. Tewolde, IME100-ECE,

Introduction To Arduino

Lab 2.2 Ohm s Law and Introduction to Arduinos

ARDUINO LEONARDO WITH HEADERS Code: A000057

BMC24. MIDI TO GATE CONVERTER DOCUMENTATION. This documentation is for use with the "Euro Style" bottom board.

SparkFun Blocks for Intel Edison - Base Block

Number Name Description Notes Image 0101 Resistor, 100 ohm. brown-black-browngold. ¼ watt, 5% tolerance, red-red-brown-gold. brown-black-red-gold.

Lecture 14: Prototyping and Schematics

Cygnos360 V2 Installation Manual

- create new schematic to the new project, PCB design begins with a schematic diagram, which present how components are connected

Objectives: Learn how to input and output analogue values Be able to see what the Arduino is thinking by sending numbers to the screen

Digital Pins and Constants

Serial Basic Hookup Guide

[Note: Power adapter is not included in the kits. Users need to prepare a 9 12 V ( >300mA capacity ) DC power supply]

Electronics Construction Manual

Schematic Diagram: R2,R3,R4,R7 are ¼ Watt; R5,R6 are 220 Ohm ½ Watt (or two 470 Ohm ¼ Watt in parallel)

Arduino shield kit. 1) Low Pass Filter (LPF) kit (available for LF/MF/HF/VHF bands 2,200m to 6m)

keyestudio Keyestudio MEGA 2560 R3 Board

Project 2: Sensor Light

The Basic Counter. Hobby Electronics Soldering Kit. Instruction Guide

Adafruit Terminal Block Breakout FeatherWing

Flight Data Recorder Hardware Version 1.0

EE 354 August 1, 2017 Assembly of the AT89C51CC03 board

VL6180 Hookup Guide. Introduction. Board Overview - VL6180 Breakout. Covered in this Tutorial. Suggested Reading

Adafruit HTU21D-F Temperature & Humidity Sensor

Transcription:

Page 1 of 7 AT42QT1010 Capacitive Touch Breakout Hookup Guide Introduction If you need to add user input without using a button, then a capacitive touch interface might be the answer. The AT42QT1010 Capacitive Touch Breakout offers a single capacitive touch button with easy-to-use digital I/O pins. AT42QT1010 Breakout Board The AT42QT1010 is a dedicated, single-button capacitive sense chip. The chip handles monitoring a conductive area for touch. As long as a touch (e.g. from a finger) is detected, the AT42QT1010 keeps the output line high. Otherwise, the line is kept low. You just need to provide a power source (1.8V - 5V) and ground for the AT42QT1010 to work. SparkFun s breakout board contains an on-board electrode capable of detecting touches. Additionally, a PAD pin is available if you would like to create your own external electrode. Covered In This Tutorial This tutorial will show you how to connect the AT42QT1010 Breakout Board to an Arduino along with some example code to read the board s output. Additionally, alternative ways to use the board will be shown, such as mounting it to an acrylic panel and creating your own capacitive sensing pad.

Page 2 of 7 Required Materials AT42QT1010 Capacitive Touch Breakout Board Arduino, RedBoard or any Arduino-compatible board. 4-Pin Male SMD header or Male PTH headers to make the board breadboard compatible. Jumper wires to connect from breadboard to Arduino. Breadboard to tie everything together. Suggested Reading What is an Arduino? How to Solder Working with Wire Switch Basics Capacitors LEDs Board Overview If we look at the front of the board, we see a large, circular pad (the electrode ) and several pins. The on-board electrode will detect touches when pressed with a finger as long as the board is powered. AT42QT1010 Breakout front GND should be connected to the ground of the host circuit. OUT is the output of the AT42QT1010. HIGH on touch, LOW otherwise. VDD is the power supply for the AT42QT1010 and needs to be connected to a voltage between 1.8V - 5V. LED controls the operation of the on-board LED. By default, it is connected to the OUT pin. If you de-solder the LED Enable jumper on the back side, you can independently control the LED. PAD is located in the upper-left corner and allows you to connect to an external electrode. Note that there is a small surface mount pad on the back side by the PAD pin hole. If you want to mount the board flush, you can solder a wire directly to the surface mount pad. How It Works Take a look at the back side of the board.

Page 3 of 7 AT42QT1010 Breakout back The AT42QT1010 chip is located on the right side of the board. It uses a resistor and a capacitor network to adjust the sensitivity of the electrode. High frequency pulses are sent to the pad. When a fleshy object (such as a finger) approaches the pad, it acts like a very small capacitor and changes the shape of the pulses. When the AT42QT1010 detects these slight changes, it raises the OUT line to HIGH, indicating a touch is present. Once the pulses return to normal (i.e. the fleshy object is moved away from the pad), the AT42QT1010 drives the OUT line LOW. LED Enable The output from the AT42QT1010 goes directly to the OUT pin on the board as well as to the transistor (left side), which operates the LED (center of board). By default, the OUT line and LED lines are connected, which means that on a touch, the on-board LED lights up. You can disconnect the LED by de-soldering the jumper labeled LED Enable. This will cause the LED to no longer light up on a touch, but you can still drive the LED using the LED pin on the board. Mode On the right side of the board, you will also notice a jumper labeled Mode with L and F markers. By default, the center pad and the F pad are connected, which puts the AT42QT1010 in Fast mode. In Fast mode, the chip is more responsive to touch events but draws 200µA - 750µA in normal operation. If you de-solder this jumper and connect the center pad to the L pad, the AT42QT1010 will be in Low Power mode. In this mode, the chip is slightly less responsive to events but only uses 15µA - 75µA. Hookup Example Assembly If you are not planning to mount the board flush to a panel, you can solder either wires or break away headers to the 4 header holes on the board.

Page 4 of 7 PTH headers are recommended if you are using a breadboard. On the other hand, if you wish to mount the AT42QT1010 to a panel, you can solder a 4-pin male header to the SMD pads. SMD headers work better if you plan to mount the board to a panel Connecting the AT42QT1010 Breakout Board Basic hookup using an Arduino and a breadboard For an Arduino, make the following connections with jumper wires: (AT42QT1010 Arduino) VDD 5V OUT 2 GND GND Mounting the AT42QT1010 Breakout Board One advantage of capacitive touch boards is their ability to be mounted to panels and detect touch through thin plastic, cardboard, etc. Using a drill or laser cutter, cut four 0.125 inch holes in the same pattern as the mounting holes on the breakout board. Attach the board to the panel using #4-40 screws and #4-40 nuts. The AT42QT1010 will detect touch through 0.125 inch acrylic External Electrode

Page 5 of 7 You can create your own electrode by using foil, copper tape, or any other conductive material. Cut or shape the electrode and attach a wire between the electrode and the PAD pin on the AT42QT1010 breakout board. The electrode can be almost any shape and size. Example Code Touch can be detected on external electrodes Open the Arduino program and paste the following code into the sketch:

Page 6 of 7 /* 12 23 2013 SparkFun Electronics 2013 Shawn Hymel This code is public domain but you buy me a beer if you use t his and we meet someday (Beerware license). Description: This sketch shows how to use the SparkFun AT42QT1010 Breakout Board. If you touch the Capacitive Touch area on the breakout board, the LED attached to the Arduino will light up (in addi tion to the LED on the AT42QT1010 breakout board). Simply connect power and ground to the breakout board, and the AT42QT1010 handles all the capacitive touch function s. By default, the board will light up the green LED when the pa d is touched. A wire may also be connected from OUT on the breakout board to a digital input pin on an Arduino. This sig nal is normally LOW but goes HIGH on a touch detection. The "LED Enable" solder jumper may be de soldered in order to control the LED directly from the LED pin. This is useful if you want to light up a button that the user needs to push. Hardware connections: Uno Pin AT42QT1010 Board Function +5V VDD Power supply GND GND Ground 2 OUT Capacitive touch state output */ // Constants const int TOUCH_BUTTON_PIN = 2; // Input pin for touch state const int LED_PIN = 13; // Pin number for LED // Global Variables int buttonstate = 0; n // Variable for reading butto void setup() { // Configure button pin as input pinmode(touch_button_pin, INPUT); // Configure LED pin as output pinmode(led_pin, OUTPUT); } void loop() { // Read the state of the capacitive touch board buttonstate = digitalread(touch_button_pin);

https://learn.sparkfun.com/tutorials/at42qt1010-capacitive-touch-breakout-hookup-guide?_... Page 7 of 7 10/8/2015 // If a touch is detected, turn on the LED if (buttonstate == HIGH) { digitalwrite(led_pin, HIGH); } else { digitalwrite(led_pin, LOW); } } Plug in the Arduino and upload the code. You should see the LED on the AT42QT1010 board and the LED on the Arduino light up when you touch the electrode. The AT42QT1010 detects touches, and the Arduino monitors pin 2 for the output of the AT42QT1010. Resources and Going Further The AT42QT1010 is a great way to add a single capacitive touch button to a project. For example: Create a hidden button for the Illuminated Boxes. Replace the Wake-On-Shake module with a capacitive touch button for the Uncertain 7-Cube Add a hidden, capacitive touch button to almost anything! If you need more than one capacitive touch button in your project, you might want to look at some other products: MPR121 Capacitive Touch Breakout MPR121 Capacitive Touch Keypad Touch Shield Resources AT42QT1010 Datasheet Secrets of a Successful QTouch Design Breakout Board Schematic Eagle and Project Files GitHub Repository