SparkFun Capacitive Touch Breakout - AT42QT1010

If you need to add user input without using a button, then a capacitive touch interface might be the answer. The AT42QT1010 SparkFun Capacitive Touch Breakout offers a single, momentary capacitive touch button with easy-to-use digital I/O pins.

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. Additionally, a PAD pin is available if you would like to create your own external electrode.

Unlike its sibling, the AT42QT1010 does have an internal time-out of about 60 seconds, meaning that if you hold your finger to the breakout’s pad for any length of time after that, the board will turn itself off. The difference between the AT42QT1010 and the AT42QT1011 is small but may be a game changer depending on your project’s uses.

SparkFun Capacitive Touch Breakout - AT42QT1010 Product Help and Resources

AT42QT101X Capacitive Touch Breakout Hookup Guide

January 25, 2018

Learn how to use the simple SparkFun AT42QT1010 and AT42QT1011 capacitive touch breakout boards.

Raspberry Pi Stand-Alone Programmer

March 8, 2018

This tutorial will show you how to use a headless Raspberry Pi to flash hex files onto AVR microcontrollers as a stand-alone programmer. It also tells the story about production programming challenges, how SparkFun came to this solution, and all the lessons learned along the way.

Resources and Going Further

The product page for the AT42QT1010 breakout board did not change even though the IC package changed from the 6-Pin SOT23-6 to the 8-pin UDFN/USON. Functionally, it should be the same. If you are looking for the older tutorial for the AT42QT1010, check below.


Core Skill: Soldering

This skill defines how difficult the soldering is on a particular product. It might be a couple simple solder joints, or require special reflow tools.

1 Soldering

Skill Level: Noob - Some basic soldering is required, but it is limited to a just a few pins, basic through-hole soldering, and couple (if any) polarized components. A basic soldering iron is all you should need.
See all skill levels


Core Skill: Programming

If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.

3 Programming

Skill Level: Competent - The toolchain for programming is a bit more complex and will examples may not be explicitly provided for you. You will be required to have a fundamental knowledge of programming and be required to provide your own code. You may need to modify existing libraries or code to work with your specific hardware. Sensor and hardware interfaces will be SPI or I2C.
See all skill levels


Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

3 Electrical Prototyping

Skill Level: Competent - You will be required to reference a datasheet or schematic to know how to use a component. Your knowledge of a datasheet will only require basic features like power requirements, pinouts, or communications type. Also, you may need a power supply that?s greater than 12V or more than 1A worth of current.
See all skill levels


Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • Member #27979 / about 7 years ago / 1

    Is anyone aware of a component like this that provides an analog signal vs. just a digital signal this chip/board outputs? I'm interested in creating an array of 3+ sensors connected to a metallic structure that would be able to gauge rough position on that metallic structure based on 3+ analog readings of capacitance. Any ideas here?

  • bhboyle / about 8 years ago * / 1

    The external pad is so sensitive. As soon as I attach a wire to the solder it triggers even if I am not touching the wire. Even in low power mode.

    Whops. forget it. Its fine if its soldered on.

    Sorry.

  • Member #356814 / about 8 years ago / 1

    Do you know if this will sense a capacitive load through a very small surface area (e.g. tip of a 20AWG wire)? If so, would the large pad on this PCB diminish the sensitivity in such a use case, perhaps requiring the large pad to be disconnected by cutting the trace?

    Thanks

    • I just tested this with a jumper wire, and yes, it does detect a touch through the tip of a wire connected to the PAD through hole. Note that because of the reduced surface area on the tip of the wire, you'll need to use a bit more pressure with your finger to have it register the touch. I do not believe that the large pad affects the sensitivity (the AT42QT1010 self-calibrates whenever it first boots up), but if you're worried about accidental touches on it, you can cut the trace between the PAD hole and the large pad.

  • Member #395914 / about 9 years ago / 1

    Is there a version of this that doesn't require a true ground? In theory I'd like to stuff one inside an Altoids tin.

    • Hmmm...you might be able to connect your body to the common "ground" in the circuit. For example, have the bottom of the Altoids tin be tied to ground so that when your hand touches it, you are touching "ground" of the circuit. That way, your body appears grounded (at least according to the circuit) when you go to push the cap touch button.

  • How did you get the LED to be placed upside-down? Was it placed by hand or do you guys have a super duper pick-and-place?

  • Javawriter / about 10 years ago / 1

    I got two of these in hopes of building a light switch, but because it only turns on when it is being touched that does not work out. I see your note about adding a flip-flop to the output, which I am sure will work fine. However, if you use a AT42QT1012 you can do just that. Now with that said I started playing with the Eagle file to redesign it for the AT42QT1012, but I am really not that good at using Eagle. After messing around with it for a while I don't feel good about sending it to a board house. Would you or some here take a look at my Eagle file. By the way the board work completely fine as designed. Thanks

    • What board house are you planning to use? I've had pretty good luck with OSH Park. They're also really cheap, so you won't waste a bunch of money if you mess up. If you have a way to upload the files (something like github), I can take a quick look.

      • Javawriter / about 10 years ago / 1

        I do use OSH Park and I love them and you are right they are cheap. I will get one pushed up to github and let you know. Thanks for the help. May be you guys a SparkFun can use it to build and sell it..

  • Member #564168 / about 10 years ago / 1

    I have two questions about this board. First, is the criss-cross pattern in the ground plane just to provide a sense of where the touch pad is actually located? And secondly, is the "PAD" label in the eagle schematic just there to show that the pad is technically connected to JP5? It looks like deleting this label has no effect on the .brd file. Thanks!

    • The criss-cross pattern was the recommended ground plane layout by the manufacturer. It cannot sense the precise location (the button can only give you a simple pushed or not-pushed state).

      You are correct about the PAD label. It is there to show users that they can connect a wire to either JP5 or the through hole and break out their own touch pad if they want. Deleting the label should have no effect on the board functionality.

  • Member #589654 / about 10 years ago / 1

    Greetings. I am just getting back into the electronics game after a few years off. So I am a bit rusty. I have a general i/o button board for a BrightSign audio player. Can I just connect these to the terminals and have them function or do I need to do something extra? Link below to my existing button board.

    http://www.hms-electronics.com/BrightSign/HMS_RS232_8x8.htm

    • It looks like these are the opposite of what you're looking for. From what I can tell, the BrightSign board that you linked has active low inputs (according to the site: activate buttons by "connect(ing) any input to 0V"). These cap sense boards are active high, which means that pushing the button causes the line to go high. You could get it to work, but you would need to connect it through a NOT gate

  • Member #575865 / about 10 years ago / 1

    How to feed the "out" of this 1010 chip to operate a 350 ma micro puck led driver? It will only source 20ma max from the out pin, is there a relay with that small of coil requirement? I guess I'll look at the data sheet for the max control voltage out of the "out"pin.

  • Member #564168 / about 10 years ago / 1

    I don't see any use of the capacitor cx on this board. Can I take this to mean that I can ignore cx? Thanks.

    • The datasheet is not very clear about that. If you take a look at Atmel's Secrets of a Successful QTouch Design app note, you see that Cx does not appear anywhere (the electrode is just connected by a single line from the IC). Therefore, the best I can figure is that Cx is suppose to represent the capacitance from the electrode to ground through something like your finger.

  • Dimitree / about 10 years ago / 1

    hello, can anyone please tell me the differences between AT42QT1010 (used here) and AT42QT1011 and AT42QT1012? they are all 1 channel digital output sensor.

    • Seems like the -1011 has an "infinite max on duration" whereas the -1010 will cutoff after about 47 seconds of a touch event. The -1012 seems to have more configuration options than either the -1010 or the -1011 ("Power Management Functions").

      The datasheets can be found here: -1010, -1011, -1012

  • JOxBERGER / about 10 years ago / 1

    The Product description says: "As long as a touch (e.g. from a finger) is detected, the AT42QT1010 keeps the output line high", which is what I need. Unfortunatly the chip resets to 0 after aprox. 47 seconds. This is also described in the datasheet of the AT42QT1010 at section '3.3. Max On-duration'. Maybe you should add this infromation to the description.

    • If you're handy with a soldering iron, you could swap the AT42QT1010 with an AT42QT1011, as that seems to have an "infinite max on duration" as per its datasheet.

  • Member #504489 / about 11 years ago / 1

    I'm trying to make a capacitive flood detector and I've run into a problem. I'm applying power to the sensor, waiting 100ms then reading the OUT pin; the process repeats every 5 minutes. Here is the issue I'm experiencing: if my finger (or anything else with high relative permittivity) is on the sensor pad before I power on the sensor, the OUT pin never changes to high; I've confirmed the behavior with my oscilloscope. If I power on the sensor, then touch the pad it works fine. Any idea what's going on?

    • It looks like that is the intended behavior of the chip. I tried it and can confirm what you saw. It seems that the AT42QT1010 does some calibration when you initially apply power and cannot register a touch event if your finger is present on power up. You have to take your finger away for ~1 second before it can start registering touches again.

  • Pgh_PA_guy / about 11 years ago * / 1

    Cool! I've been wanting to add touch inputs to replace the paddle on my ham radio Morse keyer (built around an Arduino) but I've been too lazy. Now I will. Time to spend money! And even cooler, if I read the datasheet correctly the chip can work by proximity as well as direct touch. So I can just wave my finger over it, maybe?

  • Tim-M / about 11 years ago / 1

    Would you guys consider making a version that could select between momentary or toggle output modes please? I'd love to see this available, Thanks!

    • Byron J. / about 11 years ago / 3

      In the meantime, you could use a flip-flop to turn the momentary output into a toggling one.

      With a CD4013B chip, tie the momentary touchpad output to the clock input of the flip-flop, and tie the !Q output back to the D input. Each time there is a rising edge on the clock input, the flip-flop output will change state - one pulse to turn it on, one pulse to turn it off.

      • Tim-M / about 11 years ago / 1

        Thanks for a the great idea and details Byron! SparkFun, this does not let you off the hook for a turn-key product...

    • Duly noted - a toggle version would be very useful - thank you! Something we can certainly look into.

  • Haybear / about 11 years ago / 1

    The Hookup guide says that the external electrode can be almost any shape or size... well, is this to be taken literally. I am trying to turn some two foot sheet steel cubes into touch sensors. Possible with this?

  • TheRealTonyStark / about 11 years ago / 1

    So... this product is amazing. Just hooked it up, did some test runs for its limits. So far, I've been able to detect my finger's presence through EIGHT MILLIMETERS of plastic. Oh, and did I mention that it's actually two separate pieces of 4mm thick plastic? Yeah. Phenomenal.

Customer Reviews

3.9 out of 5

Based on 10 ratings:

Currently viewing all customer reviews.

1 of 1 found this helpful:

Working as liquid sensor

Wanted to try wether this can be used as a liquid sensor for a vinyl tube. Rolled a piece of aluminum foil together with a short copper wire arround the tube, Fixed it with duct tape and soldered the wire onto the PAD connector. This is working well as an overflow sensor. But cannot not work, when there is already liquid in the tube at switch on time. Auto calibrate prevents this kind of use. That's why I only gave 4 stars - but not the fault of Sparkfun...

3 of 3 found this helpful:

So Touchy

This Atmel breakout has been terrific in prototyping single touch capability into my project. In general, breakouts that are 1) small and 2) adjustable are the most useful and Sparkfun has gotten the knack for them. For this particular breakout, it has a few key attributes that assist in prototyping. First it has a touchpad connection that easily allows the extension of the pad into your application. Second, it has a connection for the logic level output from the controller. So, in addition to the built-in visual indication, you can easily hook the logic output to something else. If you want to disconnect the LED, there is a solder jumper for that too (no severing lines permanently with an Xacto knife!). Anyway, you get the idea. These little boards are the reason Sparkfun is always the first stop when I am cobbling together an initial concept with bailing wire, duct tape and breakout boards!

1 of 1 found this helpful:

Great Board!

I've used a number of these in a museum exhibit and they've been working well for over a year now. I attached wires to them and then to copper boards but found they were way too sensitive, so I ended up coiling up the wires behind the copper boards and they act as antennas. It took a bit of work to get them just right, but they work perfect now.

2 of 2 found this helpful:

So easy to use

I used this in a project to sense when someone grabs a metal handle and it worked great. The tech docs talk about using capacitors and things to adjust the sensitivity and I though that might be an issue with the big metal handle as the sensor but fortunately it wasn't! Just hooked up power, ground, the output signal, and the metal handle to the pad connection and it worked perfectly.

Works flawlessly

I'm using this a a touch sensor in a talking hat so the sensor is actually covered with fabric and it still works every time. I would buy it again.

0 of 1 found this helpful:

Very good module!

It works very well.

Great for adding touch capability but...

The output is unstable. I have tested several different boards on my oscilloscope and the output at 3.3 volts and 5 volts is very unstable. A one microfared capacitor smooths things out. I mention this because if used with a micro controller holding your finger on the touch point can send many triggers to your mc.

Excellent !

Very good and reliable circuit.

0 of 3 found this helpful:

Nice design, poor performance

The sparkfun product again is properly designed, well thought true. However, the AT42QT1010 simply is not reliable. Lots of false detects.

Seem to stop working after a few months

I've used 4 of these. Used 1 with a 5 volt power, and a transistor to a timer and it often needs reset and has been overly sensitive to outside static due to dry conditions in Montana. I've made this set up 3 times & have shortened the copper tape to a foot & still the touch sensor starts malfunctioning.

I really like these when they are working right though.