![]() |
Forum Index : Microcontroller and PC projects : Touch sensors for MM?
Author | Message | ||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Hi all. ![]() I am considering a small SPI screen with touch to get around this issue, but has anyone used the discrete touch sensors you can get? Such as this one here: LINK. The PDF for the sensor chip(TTP223) indicates this is a very easy to use device, and would allow me to design my own custom touch-panel out of PCB, which can then be made at any PCB house. What I like about the touch sensors over LCD's, is that they are very low power, making them ideal for battery powered designs, and they are almost indestructible. ![]() Certainly tougher then a TFT, and use much less power then a TFT too. If any member here has played with a certain touch-sensor chip, could you please link to it here, or even just state the part number. I want to know about reliability with any chips that any member has used, and also weather they are prone to false-tripping or otherwise vulnerable to rogue operation. (where the sensor thinks it has been touched, when it hasn't.) These things are a high-impedance device, and so I am curious as to if they are prone to false-alarm conditions etc. EDIT: You can get a four-channel version of this chip - TTP224. The four-channel one is the one I am most interested in, as I wanted at least three touch-switches on the one panel. The chips can be had for about 32c each. EDIT: I have bought some 223's and some 223 sensor modules to play with. The PDF says you can adjust the sensitivity of the touch input with a cap in the range of 0-50pF, so I will tinker with that once I get them. Smoke makes things work. When the smoke gets out, it stops! |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
You find some interesting stuff. I like the cheap stuff! I have also ordered a few of the modules to play with. I wonder if they respond to the dogs paw (or nose)? Capacitive sensors tend to do interesting things in humid weather. Jim VK7JH MMedit |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
![]() You can buy the chips only here: LINK - 20pcs SOT23-6 for US$1.26 ...7c each... And some feedback from someone who bought some of the chips: Very easy to use and very reliable when choosing the correct capacitor value. Without capacitor it is very sensitive. It is enough to hover/float your finger 1cm over/above the contacting area to trigger the output which can be pretty useful too! 2V operating voltage, good for low voltage applications, and I found 1.85V works flawless too. Very recommended IC when you want to get rid off the typical tactile switches which make a horrible loud clicking tone/sound. So, they sound like they do the job. It would appear that you need to add a cap of a few puff to the sensor line to desensitize them a little. Unfortunately, this member did not state the value they used. If it is 0-50pF, I will try at about 22-27pF for a start. EDIT: PDF file for IC attached: 2018-09-17_153915_TTP223-BA6_C80757.pdf Smoke makes things work. When the smoke gets out, it stops! |
||||
MicroBlocks![]() Guru ![]() Joined: 12/05/2012 Location: ThailandPosts: 2209 |
The PIC32MX has a CTMU device that can measure capacitance on an analog pin. Maybe it is accessible with a CFUnction Microblocks. Build with logic. |
||||
Quazee137![]() Guru ![]() Joined: 07/08/2016 Location: United StatesPosts: 593 |
I have seen this used on some water treatment controllers with microchip parts doing the hardware work leaving the main Micro to do the main coding. microchip pic touch Maybe a cfunction ? ? ? for the mites. The 44 and up pins chips no extra parts. |
||||
VK2MCT Senior Member ![]() Joined: 30/03/2012 Location: AustraliaPosts: 120 |
I have experienced the covering being cut, when used by heavy handed people with finger nails. John B. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Yes, a Cfunction touch thingy would be useful. Geoff? Peter? I will proceed along the lines of the external parts for now. They are so cheap, it is not really any major concern. Smoke makes things work. When the smoke gets out, it stops! |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
From the Microchip MX470 errata: |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Well, that solves that one then! ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
Hi G, Just fired up my identical module that I ordered months ago. It has a blue PCB, but otherwise looks the same 223B5N is the marking on the chip - LINK here to what it looks like (not purchased from there though!) Fired it up to 3v3, and connected 'SIG' output to LED (via resistor to 0V). LED on by default, and OFF when finger within 2mm of sensor pad (either side of PCB). Didn't put logic analyser on output to see any 'pulses' (i.e. multiple triggering to an MM input), but any issues here can be dealt with easily in software (but guess the chip does that already for you). When touched with a metal pen, the response was intermittent as expected. An antistatic bag triggered it when it was touched on the sensor. These seem really reliable and take away a lot of MPU coding pain. Let me know if you want any other tests. I will try measure the Cs cap value too (if it has one - as I can only see one cap onboard and this might be a supply cap) . . . . WW |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
Hi G, The single Cap is a Cs, but it is too small a value for my multimeter. By the way, the LED in my test above was connected to +v (I was just using a black jumper lead so 'assumed' it was to 0V. So this module has the options set for Active High, Non-toggle and is working great! WW |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
Encouraging comments, thanks WW. ![]() Yes, 223B is the same device. As you say, having a separate little sensor chip for each 'Button' takes that responsibility away from the MCU in any event. Smoke makes things work. When the smoke gets out, it stops! |
||||
WhiteWizzard Guru ![]() Joined: 05/04/2013 Location: United KingdomPosts: 2944 |
@Grogster Are you aware that there is a TTP229 as well? This is a 16 channel version ![]() I have seen two PCB variations on eBay; one for a 16 button keypad (although only 8 of the buttons have a direct output, and the other 8 buttons accessible only via I2C). The other PCB design has 8 buttons, and a 'potentiometer slider' made from the remaining 8 buttons. Just google TTP229 and view Image results . . . . WW |
||||
Quazee137![]() Guru ![]() Joined: 07/08/2016 Location: United StatesPosts: 593 |
![]() and there is this to play with ![]() Capacitive Sensor Click Board |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9610 |
@ WW - Yes, I have seen those 4x4 touch-pad PCB's on eBay and AliExpress too. Cos I only wanted three 'Buttons', I acknowledged them, but ignored them. ![]() @ Quazee137 - Another useful one. Thanks for posting the schematic, as that one shows the cap on the touch as being 22pF, so that gives me a reference point for my experiments, and is in line with the 27pF or so I was planning to start off with. Smoke makes things work. When the smoke gets out, it stops! |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |