TTP223 Capacitive Touch Sensor (HCSENS0039)

Modules for various types of sensors including accelerometers. gyro's, IR motion, etc
Post Reply
admin
Site Admin
Posts: 727
Joined: Sun Aug 05, 2012 4:02 pm

TTP223 Capacitive Touch Sensor (HCSENS0039)

Post by admin » Tue Apr 25, 2017 11:29 am

ImageImage





A capacitive touch sensor module based on the dedicated TTP223 touch sensor IC. The module provides a single integrated touch sensing area of 11 x 10.5mm with a sensor range of ~5mm. An on-board LED will give a visual indication of when the sensor is triggered. When triggered the modules output will switch from its idle low state to high (default operation). Solder jumpers allow for reconfiguring its mode of operation to be either active low or toggle output.



Image


Specification:

Product Code: HCSENS0039
Supply Voltage: 2.5 to 5.5V
Supply current: (Vcc = 5V): 6uA (Idle) 16mA (Active)
Sensor area: 11 x 10.5mm
Max sensor range: ~5mm
Module dimensions: 14.5mm x 11mm



FAQ:

Will this module work if the sensor is placed behind a piece of perspex?

Yes, the module will work behind most types of material so long as they don't block or interfere with electromagnetic signals and the materials thickness does not exceed the maximum sensor range.



Image
TTP223.pdf


Libraries, example code, and diagrams are provided as an additional free service by Hobby Components and are not sold as part of this product. We do no provide any guarantees or warranties as to their accuracy or fitness for purpose.

Descriptions and diagrams on this page are copyright Hobby Components Ltd and may not be reproduced without permission.
You do not have the required permissions to view the files attached to this post.

bish
Posts: 1
Joined: Fri Sep 22, 2017 3:35 am

Re: TTP223 Capacitive Touch Sensor (HCSENS0039)

Post by bish » Sat Sep 23, 2017 6:54 pm

Hello,

Can someone please explain to me as I'm a bit thick when it comes to electronics how to switch this module to low power toggle mode?

Thanks

andrew
Site Admin
Posts: 825
Joined: Sun Aug 05, 2012 4:15 pm

Re: TTP223 Capacitive Touch Sensor (HCSENS0039)

Post by andrew » Mon Sep 25, 2017 8:39 am

Although the TP223 has a low power/ fast mode feature the SOT-23 version of the device used in these modules does't have the pin (LPMB) to select it. If I understand the datasheet correctly I believe the device is permanently fixed to fast mode.

To switch the module to toggle mode you need to bridge the two pads marked 'B' with a small blob of solder. This will pull the TOG pin high switching it to toggle mode.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

teeseetwo
Posts: 2
Joined: Mon Oct 01, 2018 3:45 pm

Re: TTP223 Capacitive Touch Sensor (HCSENS0039)

Post by teeseetwo » Wed Oct 31, 2018 1:41 am

Great little sensor. However, one thing a bit strange is that if the sensor is continuously touched, the output does not maintain a constant "on" output but interrupts briefly for about 0.5sec approximately every 7 seconds. In the game project I am working on, it would be useful if it doesn't do this but stays "on" for however long it is touched. Anyone any ideas how to change this ?
Thanks
Tony

andrew
Site Admin
Posts: 825
Joined: Sun Aug 05, 2012 4:15 pm

Re: TTP223 Capacitive Touch Sensor (HCSENS0039)

Post by andrew » Wed Oct 31, 2018 3:47 pm

This is unfortunately the normal operation so I'm afraid it is just a 'feature' of the sensor. Being a Chinese IC the datasheet looks like it's been translated so it's a bit difficult to determine what the wording of the datasheet is exactly implying but I suspect that it's either the low power mode or the auto calibration circuit kicking and causing the interruption.

The only solution I can think of would be to use a resistor and capacitor to smooth out the gap but then this would also mean there would be at least a 0.5 second delay between pressing the button and the output changing.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

teeseetwo
Posts: 2
Joined: Mon Oct 01, 2018 3:45 pm

Re: TTP223 Capacitive Touch Sensor (HCSENS0039)

Post by teeseetwo » Wed Oct 31, 2018 6:57 pm

Thanks Andrew for the clarification. I'm using a PIC microcontroller between the sensor and the game system so I'll just program it to "lag" for 0.5sec or so before responding to another input. Great support !
Regards
Tony

G7EYV
Posts: 1
Joined: Fri Nov 09, 2018 12:11 pm

Re: TTP223 Capacitive Touch Sensor (HCSENS0039)

Post by G7EYV » Fri Nov 09, 2018 12:14 pm

Hello does anyone know what colour the led is on the pcb, and how bright it is ?

Many thanks
Andy

andrew
Site Admin
Posts: 825
Joined: Sun Aug 05, 2012 4:15 pm

Re: TTP223 Capacitive Touch Sensor (HCSENS0039)

Post by andrew » Fri Nov 09, 2018 3:16 pm

The colour is red. It's a bit hard to describe the brightness without being subjective but I would describe it as very bright.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

littleninja
Posts: 1
Joined: Fri Nov 30, 2018 7:53 pm

Re: TTP223 Capacitive Touch Sensor (HCSENS0039)

Post by littleninja » Fri Nov 30, 2018 8:03 pm

Hi,

I've just received these through the post and I'm really impressed. I've hooked one up to turn an LED on and off just to try it out but I'm really looking to replace a momentary button with one on this board here:

[LINK REMOVED BY ADMIN] (I've popped the momentary switch off as it's not soldered on)

Now I'm pretty new to electronics but it feels like this should be feasible! Can anyone point me in the right direction? I can't seem to find a simple way to use these touch sensor buttons as a power switch.

Thanks!

andrew
Site Admin
Posts: 825
Joined: Sun Aug 05, 2012 4:15 pm

Re: TTP223 Capacitive Touch Sensor (HCSENS0039)

Post by andrew » Mon Dec 03, 2018 9:56 am

I can't seem to find a simple way to use these touch sensor buttons as a power switch.
I can't comment about that particular switch as we don't sell it but for switching a high power device you could just use one of our relay modules:

https://hobbycomponents.com/relays/57-5v-relay-module

You can just connect the output of the touch sensor module to the input of the relay module and it will directly drive it.
Comments made by this poster do not necessarily reflect the views of Hobby Components Ltd.

Post Reply