Adafruit Capacitive Touch Sensor Breakouts

Similar documents
Adafruit PowerBoost 500 Shield

Adafruit TPL5110 Power Timer Breakout

Adafruit TPL5111 Reset Enable Timer Breakout

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

MCP Bit DAC Tutorial

Adafruit 1.27" and 1.5" Color OLED Breakout Board

Adafruit MMA8451 Accelerometer Breakout

Adafruit I2C FRAM Breakout

Monochrome OLED Breakouts

Adafruit APDS9960 breakout

FeatherWing Proto, Doubler and Tripler

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

Adafruit Si5351 Clock Generator Breakout

Neon LED Signs. Created by John Park. Last updated on :11:09 PM UTC

Adafruit Si7021 Temperature + Humidity Sensor

MCP Bit DAC Tutorial

Adafruit Pi Cobbler Kit

Adafruit DRV2605 Haptic Controller Breakout

Adafruit Mini TFT " 160x80

Adafruit DRV2605 Haptic Controller Breakout

Adafruit Color Sensors

Adafruit AMG8833 8x8 Thermal Camera Sensor

i2c/spi LCD Backpack Created by lady ada Last updated on :11:04 PM UTC

TSL2561 Luminosity Sensor

Adafruit ATWINC1500 WiFi Breakout

Adafruit MPRLS Ported Pressure Sensor Breakout

Adafruit CCS811 Air Quality Sensor

Adafruit 8x16 LED Matrix FeatherWing

Adafruit MMA8451 Accelerometer Breakout

Adafruit SGP30 TVOC/eCO2 Gas Sensor

Adafruit HUZZAH32 - ESP32 Feather

Adafruit AM2320 Sensor

Adafruit GPIO Expander Bonnet for Raspberry Pi Created by Kattni Rembor. Last updated on :12:47 PM UTC

Solar Boost Bag. Created by Becky Stern. Last updated on :44:55 PM UTC

FeatherWing Proto and Doubler

0.96" mini Color OLED

3D Printed 20w Amplifier Box

Introducing Adafruit Trellis

LED Eyes. Created by Ruiz Brothers. Last updated on :50:55 AM UTC

Joy Featherwing. Created by Dean Miller. Last updated on :03:07 PM UTC

Adafruit MMA8451 Accelerometer Breakout

Audio Prank Gift Box. Created by Becky Stern. Last updated on :46:15 PM UTC

Adafruit 9-DOF IMU Breakout

IS31FL x9 Charlieplexed PWM LED Driver

Con Badge with Circuit Playground Express

3D Printed 20w Amplifier Box

Toy Car Speed Timer. Created by Kirby Griese. Last updated on :13:49 PM UTC

DIY Circuit Playground Shields

1.8" TFT Display Breakout and Shield

Flora Wearable GPS. Created by Becky Stern. Last updated on :32:36 PM UTC

Feather Weather Lamp. Created by Ruiz Brothers. Last updated on :54:26 PM UTC

Adafruit WINC1500 WiFi Shield for Arduino

Adafruit PCF8523 Real Time Clock

3D Printed Camera LED Ring

Adafruit LED Sequins. Created by Becky Stern. Last updated on :02:00 AM UTC

Trinket-Powered Conference Room Occupancy Display

Trellis 3D Printed Enclosure

Crickit Dancing Marionette Kit Created by Dano Wall. Last updated on :03:11 PM UTC

Clockwork Goggles. Created by John Park. Last updated on :03:10 PM UTC

Light-Up Angler Fish Embroidery

Adafruit 10-DOF IMU Breakout

Naughty or Nice Machine

Adafruit AS channel Visible Light Sensor

Adafruit ATWINC1500 WiFi Breakout

RGB LCD Shield. Created by lady ada. Last updated on :48:40 PM UTC

Pushrod Garage. Created by John Park. Last updated on :07:30 PM UTC

Adabot Operation Game

Adafruit MAX31865 RTD PT100 or PT1000 Amplifier

Prophet 600 GliGli mod

Adafruit DS3231 Precision RTC Breakout

Adafruit GPS Hat in Windows IoT Core

Android GBoard Morse Code Control with Circuit Playground Express

Adafruit 3.5" 480x320 TFT FeatherWing

FLORA TV-B-Gone. Created by Becky Stern. Last updated on :32:57 PM UTC

Adafruit LIS3DH Triple-Axis Accelerometer Breakout

NeoPixel Ring Bangle Bracelet

Cup o' Sound. Created by Becky Stern. Last updated on :30:06 PM EST

Bunny Ears with MakeCode

No-Sew LED Wristband. Created by Kathy Ceceri. Last updated on :23:40 PM UTC

Crickit Powered Holiday Diorama

Adafruit 2.4" TFT FeatherWing

Adafruit 8x16 LED Matrix FeatherWing

Flora Brake Light Backpack

Adafruit 3.5" 480x320 TFT FeatherWing

Interior Purse Light. Created by Becky Stern. Last updated on :41:08 PM UTC

MLX90393 Wide-Range 3-Axis Magnetometer

MiniPOV4 - DIY Full-Color Persistence of Vision & Light-Painting Kit

Arduino Lesson 6. Digital Inputs

Bike Wheel POV Display

Getting Started with FLORA

Celebration Spectacles

Ping Pong Ball Launcher

Adafruit Mini TFT with Joystick Featherwing

Adafruit Feather 32u4 Basic Proto

Snake Charmer Box. Created by Dano Wall. Last updated on :07:25 PM UTC

Adafruit 7-Segment LED FeatherWings

Adafruit eink Display Breakouts

FLORA Pixel Brooch. Created by Becky Stern. Last updated on :19:07 PM EST

DC & USB Boarduino Kits

Circuit Playground Digital Input

Transcription:

Adafruit Capacitive Touch Sensor Breakouts Created by Bill Earl Last updated on 2018-08-22 03:36:13 PM UTC

Guide Contents Guide Contents Overview Momentary Toggle 5-Pad Momentary Assembly and Wiring Installing the Headers: Position the header strips Position the breakout And Solder Wiring for Toggle and Momentary Toggle Operation Momentary Operation Other Options: LED Control Speed vs. Power (Momentary Only) Timer (Toggle Only) Connecting to your Circuit. Simple Motor Control Wiring for 5-pad Momentary Adding Custom Touch Pads Wire, Thread, Foil, Fabric, Paint Connections: Sensor Pads Build a Touch Control Panel Design your panel Cut the touch-pads Attach the touch-pads Attach the Wires Adjust the Wires Install the Panel And Test Connect to your Circuit Downloads Files AT42QT1010 Breakout AT42QT1012 Breakout AT42QT1070 2 3 4 5 5 7 7 7 7 8 9 10 11 11 12 13 13 13 14 15 17 17 19 20 21 21 22 22 23 24 25 25 27 29 29 29 30 31 Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 2 of 32

Overview These breakout boards are a simple way to add capacitive touch to your project. Just power with 1.8 to 5.5VDC and touch the pad to activate the sensor. These touch switches interface easily to any project - with or without a microcontroller. When a capacitive load (such as a human hand) is in close proximity to the sense-pad, the sensor detects the change in capacitance and activates the switch. Custom sense-pads can be made form nearly any conductive material and these sensors can detect touch through thin layers of non-conductive materials such as glass, plastic, fabric or even wood. The breakouts come in three styles: Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 3 of 32

Momentary This sensor has a built-in sense-pad and is active for as long as the sensor area is touched. The sense-pad can be extended with wire and almost any conductive material. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 4 of 32

Toggle This sensor also has a built-in sense-pad. It becomes active when touched and remains active until it is touched again. As with the momentary sensor, the sense-pad can be extended with wire and almost any conductive material. 5-Pad Momentary This version combines 5 momentary switches into one breakout. There are 5 pins for attaching wires to up to 5 external sensor pads. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 5 of 32

We also have a new 12-Key version with it's own tutorial over here! (https://adafru.it/dkh) Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 6 of 32

Assembly and Wiring These breakouts come fully assembled. For use in a breadboard, you may want to take a couple minutes to install the included header strips: Installing the Headers: Install the headers by following these 3 easy steps. The photographs below show one of each sensor type. Position the header strips Plug them long-pins down into a breadboard to stabilize them for soldering. Position the breakout Place the breakout board over the header pins. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 7 of 32

And Solder Solder each pin for solid electrical contact. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 8 of 32

Wiring for Toggle and Momentary These two breakouts are very similar and can be powered by anything from 1.8V to 5.5V DC. Simply connect Ground to GND and the positive voltage to VDD. The standalone sensors are fully functional without further connections. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 9 of 32

Toggle Operation The Toggle version of the sensor turns on when you touch it once, then turns off when you touch it again. The on-board LED indicates the state of the switch. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 10 of 32

Momentary Operation The momentary touch sensor works just like a momentary switch. It is on when you touch it and off when you move away. The on-board LED indicates the state of the switch. Other Options: These sensors have several jumper configurable operating modes as described below: Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 11 of 32

LED Control The led indicators can be disabled for ultra-low power applications. To disable the LED, simply cut the jumper between the pads where indicated on the back of the breakout board. With the jumper cut, the LED can be controlled externally via the LED pin on the header. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 12 of 32

Speed vs. Power (Momentary Only) The Momentary version can be configured for "Fast" mode (default) or low-power mode. Fast mode requires 0.5mA. Low Power mode requires just 50uA. To switch between the two, cut the jumper on one side of the "mode" pads and bridge the other side with a drop of solder. Timer (Toggle Only) By default, the toggle sensor is configured for infinte time-out. it will stay on until you touch the sensor to turn it off. It also supports a configurable time-out to turn off the output automatically after a delay. To select this mode, cut the 'TIMER' jumper and connect a resistor & capacitor to the TIME pin. For a circuit diagram and resistor/capacitor calculations, see page 13 of the datasheet (https://adafru.it/cgw). You can also just connect TIME to Vdd and the chip will turn off approx 15 minutes after being turned on. Connect TIME to OUT and the chip will time-out approx one hour after being turned on. Connecting to your Circuit. The outputs of these touch switches are 'active high'. Use them like a positive logic signal, or a pushbutton that shorts to VCC. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 13 of 32

Simple Motor Control You can use it just like a pushbutton or logic signal with a transistor or MOSFET to drive high-current loads like a DC motor. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 14 of 32

Wiring for 5-pad Momentary The 5-pin momentary breakout can be powered with anything from 1.8V to 5.5VDC. Just connect ground to GND and the positive voltage to VDD. This sensor does not have built-in touch pads, but you can create your own pads in any size or shape from wire, foil or any other conductive material. Simply connect your touch-pads to each of the 5 sense pins. When you touch the pad, the corresponding LED on the other side will light up. The chip only detects one touchpad at a time to prevent false readings. 5 touch inputs in one device makes this the perfect component for building your own custom capacitive touch panel! Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 15 of 32

Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 16 of 32

Adding Custom Touch Pads Custom touch pads are easy to make. You can use almost any conductive material: Wire, Thread, Foil, Fabric, Paint If it will conduct electricity, it will work as a touch sensor! Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 17 of 32

Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 18 of 32

Connections: The Toggle and Momentary boards have a solder hole located just below the sensor pad for attaching a wire to an external sensor. The 5-pad breakout has pins numbered 0-4 on the left side of the board. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 19 of 32

Sensor Pads Attach the connecting wire to any conductive object or surface. That surface will become touch sensitive. Larger surfaces tend to be more sensitive. You will be able to sense through fabric, plastic glass and many other nonconductive materials. Note that the wire will be touch sensitive too! Be sure to route any connecting wires away from areas where they might create an accidental touch input. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 20 of 32

Build a Touch Control Panel Capacitive touch sensors are a great way to add external controls to a waterproof enclosure. There is no need to drill holes or worry about gaskets and O-rings. These sensors will detect your touch right through the plastic case! Design your panel You can draw it by hand, or with your favorite drawing tool and print it on some heavy card-stock. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 21 of 32

Cut the touch-pads Cut pads from copper tape. About 1/2" square is a good size for buttons on a touch-pad. Attach the touch-pads Peel the release paper from the back of the copper tape and stick the touch-pads to be back of the panel so that they align with the buttons on the front. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 22 of 32

Attach the Wires Solder wires to the copper touch-pads. For this example, I used a 6-conductor 0.1" socket cable (http://adafru.it/206) with one end cut off to simplify connections to the breakout. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 23 of 32

Adjust the Wires Bend the wires away from the panel. The wires will be touch-sensitive too. To prevent accidental false touches, we want to keep them away from the panel surface. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 24 of 32

Install the Panel Tape the panel to the inside of the polycarbonate cover using clear packing tape. And Test Connect the cable to the breakout. Power it up and test your control panel. Touching each button should cause a different LED to light up. Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 25 of 32

Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 26 of 32

Connect to your Circuit The output signals are 'active low', so they can replace any pushbutton that shorts to ground - such as the buttons on the RGB LCD shield. You can leave off the buttons and solder directly to the circled pads, or (if your shield is already built), just 'tack-solder' the wires to the legs of the buttons. When you put it all together, you will have a completely sealed, touch sensitive control panel! Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 27 of 32

Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 28 of 32

Downloads Files AT42QT1070 Datasheet (https://adafru.it/rha) AT42QT1010 Datasheet (https://adafru.it/rhb) AT42QT1012 Datasheet (https://adafru.it/rhc) Objects for all in the Adafruit Fritzing Library (https://adafru.it/ap3) EagleCAD PCB files for all three in GitHub (https://adafru.it/rdr) AT42QT1010 Breakout Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 29 of 32

AT42QT1012 Breakout Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 30 of 32

AT42QT1070 Adafruit Industries https://learn.adafruit.com/adafruit-capacitive-touch-sensor-breakouts Page 31 of 32

Adafruit Industries Last Updated: 2018-08-22 03:36:08 PM UTC Page 32 of 32

Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Adafruit: 1362 1982