TTP223 Capacitive Touch Switches

Поделиться
HTML-код
  • Опубликовано: 25 дек 2024

Комментарии • 151

  • @rramasamy
    @rramasamy 3 года назад +7

    Sir, you explain very well. The way you speak makes the subject easy and interesting. All the best!

  • @andrewkieran8942
    @andrewkieran8942 4 года назад +19

    Looking at the datasheet for the TTP223 IC, the capacitor that adjusts sensitivity may range from zero to 50pf, with higher values causing it to be less sensitive.

    • @SimpleElectronics
      @SimpleElectronics  4 года назад +7

      Thanks for looking that up! I really wanted to stick to a "practice only" approach to mimic the information available from an ebay seller and this was the smallest value practical capacitor I had so I decided just to go for it anyway.

    • @cbaxter6527
      @cbaxter6527 4 года назад

      @PERIZ99 3V - low power mode typical 1.5uA, maximum 3.0uA
      low power mode is controlled by touch activity - touch, goes into fast mode and, touch released after 12 sec goes back into low power mode.

    • @kpcheck1
      @kpcheck1 Год назад +1

      thanks for sharing

  • @pileofstuff
    @pileofstuff 4 года назад +9

    These things are super handy for making nice clean looking control panels. And they're ridiculously cheap as well.

  • @TrentSterling
    @TrentSterling 4 года назад +2

    Excellent first 30 seconds. Stuck around for more. Did not disappoint.

  • @chimpofm
    @chimpofm 4 года назад +2

    a very helpful video. you just saved me a day of reading techsheets and trial and error , thankyou very much.

    • @chimpofm
      @chimpofm 4 года назад +1

      if ur bored come see my talking rfid motorcycle that starts off the rfid chip i have grafted into my hand.

    • @chimpofm
      @chimpofm 4 года назад

      Hey dude. Just thought id give you an update. The touch reader is all working great as per you instructions. I have combined the ttp223 with a rc522 mini. (Rfid reader) now i have a touch sensitive rfid reader that can wake up my arduino from sleep. Alowing me to create a low powered version for my car door. Thankyou again! Ill be back when its in the car. And ill have a nice video for you. Heres the nice video showcasing the bike i realy shud upload this on youtube. vm.tiktok.com/ZMJmDCj3P/

  • @Fine_i_set_the_handle
    @Fine_i_set_the_handle 2 года назад +2

    i've seen alot of peoplle soldering circles made from copper wires to the side labeled touch and significantly extending the range you should make a video about that

  • @cbaxter6527
    @cbaxter6527 4 года назад +4

    Reading Chinglish on the TTP223B datasheet states "Cs value is 0~50pF" not nano Farad.
    0pF equals maximum sensitivity and/or capacitor not grounded - default.
    There is no Cs capacitor on board. You can try a 22pf for Cs to make less sensitive.
    I believe the capacitor on board is a 104 - 100nF decoupling capacitor.
    Pin 4: AHLB - Vcc=>Active low; Default=>Active high
    Pin 6: TOG - Vcc=>Toggle mode; Default=>Direct mode
    Waiting for my order of ten to arrive from Jhina. Hope CanPost delivers before Xmas.

    • @BayouBradley
      @BayouBradley 3 года назад

      Is there a way to increase sensitivity, or is default the max?

    • @cbaxter6527
      @cbaxter6527 3 года назад

      I have seen other videos attach a wire and plate to external contact causing a deeper field of non-contact area from 1/4 inch to inches. I assume larger area equals more electro-static charging potential.

  • @manukalias
    @manukalias 2 года назад +2

    Nice Video.
    After killing a few of these modules while soldering pad A & B
    I cut a small piece from resistor and place it on those stupid pads then soldering becomes easier.

  • @andrewbeasley
    @andrewbeasley 4 года назад +2

    Thanks for the video. I have two of these in the bits box with no instructions. Now I know what to do with them 👍

  • @s.h7124
    @s.h7124 2 года назад +1

    Me to go out of my way to post a comment very hard but I want to say I like this guy

  • @ronalddhs3726
    @ronalddhs3726 4 года назад +2

    Those switches are super cool! Thanks for the clear video :)

  • @albanprada7183
    @albanprada7183 4 года назад +3

    Hi... good video. Does the capacitive switch work under 2mm acrilic layer? - inside a plastic case

  • @quackerjax
    @quackerjax 6 месяцев назад

    Did you ever get a video that shows the proper capacitor and it's range after that?

  • @Desert-edDave
    @Desert-edDave 3 года назад +1

    The ESP-32 has pins which can be used for this purpose as well.

    • @oleksandrkosarevskyy882
      @oleksandrkosarevskyy882 Год назад

      But TTP223 can be triggered from distance 0,5 meter, but the ESP-32 touch pin must be touched. This is the main and significant advantage No?

  • @notdonaldst
    @notdonaldst 3 года назад +3

    Thank you SO MUCH for posting this video. Can this switch be used in place of a mosfet to switch on and off a simple circuit, with the only other components being an led and a power source (and possibly a resister)? I hope to make a tiny light source to place inside a matchbox/hot wheels car that I can activate/deactivate by just touching the surface of the car.

  • @stevesfascinations1516
    @stevesfascinations1516 4 года назад +3

    New camera? Nice filming, soldering while filming - difficult to say the least and you pulled it off wonderfully! Nice topic as well. For a change, I have one of these....now I have an urge to go get it and experiment!

    • @SimpleElectronics
      @SimpleElectronics  4 года назад +1

      Not a new camera (I wish - I've been overdue for an upgrade but it isn't feasible for another little while at least) but I used the macro lens that I use for thumbnails for filming. It presents new challenges however - like shaky video that I had to stabilize in post (you may have noticed artifacts in the video!)

  • @timbabila
    @timbabila 2 месяца назад

    How do you extend the range of the touch sensor?

  • @changjunzhang
    @changjunzhang Год назад +1

    Very helpful! For my particular use, I hope the switch to turn on/off only if the finger actually touches it or a surface connect to it. Is this achievable by fine tuning it? or it requires some other type of hardware?

  • @celmarboga3029
    @celmarboga3029 2 года назад +2

    Also Have a function if I put a 🍷 glass to this sensor?

  • @ItsIntelligentDesign
    @ItsIntelligentDesign 8 месяцев назад

    Is there any way to make the touch area larger? For example, if I wanted to be able to touch anywhere within a 2x2" square

  • @puma1644
    @puma1644 3 года назад +2

    Put a 105 resister on 3th connection and test it. I try and it works by highest sensitivity, near to half inch

  • @jf455
    @jf455 2 года назад +1

    Great Video, Hey in my Lighting project which has a 5W LED light, can i use it as a on/off switch between a 1.7cm thick wooden board?

    • @SimpleElectronics
      @SimpleElectronics  2 года назад +2

      I think that's too thick, but you can use a router to carve out a pocket

  • @mr.selfdestruct2917
    @mr.selfdestruct2917 Год назад

    Hi,with the sensor, I'm trying to power a mini bluetooth/amp module with a 3.7 lithium with charge chip. The sensor shows the 3.7 on my meter, but when I Solder to amp board, it cuts on and off. I'm thinking it's a ground issue? The sensor gets the vdc and ground from the charge board, the amp gets the vdc from the i/o on the sensor and I've tried different amp ground locations. The amp cycles on and off. I have B jumped on sensor.

  • @taraknathmondal1629
    @taraknathmondal1629 2 года назад +1

    In Momentary / High Output 00 (1st) mode sensor is off after 12 seconds even when touched. Please help me that we do in ttp223 that it will work as long as 1 stay in touch.

    • @SimpleElectronics
      @SimpleElectronics  2 года назад +1

      That sounds like a hardware limitation to me, not sure it can be changed

    • @taraknathmondal1629
      @taraknathmondal1629 2 года назад

      @@SimpleElectronics please help any option to solve this problem, or told any touch screen board

  • @amserv-tech
    @amserv-tech 9 месяцев назад +1

    Thank you for explaining so well, got everything I needed to know for my project.

  • @benardopoku3538
    @benardopoku3538 2 года назад +1

    Sir .. will it work with when you have a hand groves on

  • @balkrushnakadam7082
    @balkrushnakadam7082 2 месяца назад

    Why my ttp223 sensor getting triggered by anything it touches, even if i put non conductive plastic plate on it, it is triggered, even touching it to wall triggers it.

  • @MrKYT-gb8gs
    @MrKYT-gb8gs 8 месяцев назад

    Does this still work if I have a thin veneer of wood or paper over it?

  • @billglass5160
    @billglass5160 2 года назад

    Works great on the inside of my plastic case containing some electronic components including an Arduino Nano. I am presently fixing the TTP223 to the inside top of the case with electrcian's tape stuck to the component side of the switch. Do you think I could glue the touch side of the switch to the case instead?

  • @ronedogg69
    @ronedogg69 8 месяцев назад

    Do you know if there is a way to make the output signal ground. I'm trying to integrate this into my car audio build. And all of my relays are for 12 volt. So I was thinking if possible to do a ground signal being sent

  • @minskie
    @minskie 2 года назад +1

    Will this work if you put a coin on the pad?

  • @magdinabi7942
    @magdinabi7942 Год назад

    can you please confirm this, The TTP223 capacitive touch sensor does it have built-in timeout mechanism? the reason i am asking is i am trying to use the TTP223 in a way when i touched and keep touching it i want the LED stay ON while my hand touching it and when i release i want the LED to be OFF. i have tried it but after like 7 seconds the LED goes OFF even i am still touching the sensor. Can you help with that?

  • @Satoshisg
    @Satoshisg Год назад

    hello!,
    Is there any way to bypass the auto calibration function? after 8 secs aprox the snesor re-calibrates and it no more detects the object.
    Thanks!

  • @c0mputer
    @c0mputer Год назад

    Will these work through painted plastic or glass? My project has a painted glass cover that I want to mount on top of this sensor.

  • @AnotherMaker
    @AnotherMaker 4 года назад +1

    Woo hoo. I learned something and got a shout out. I never noticed that those things work from a distance. Sorry the USPS broke the case.

    • @AnotherMaker
      @AnotherMaker 4 года назад +1

      I actually learned more than one thing. Thank you!

    • @SimpleElectronics
      @SimpleElectronics  4 года назад +2

      haha I feel terrible that I haven't made a video out of your items yet lol

    • @AnotherMaker
      @AnotherMaker 4 года назад +2

      @@SimpleElectronics when the inspiration hits, you'll be ready

  • @mustafahajhamoud2077
    @mustafahajhamoud2077 11 месяцев назад

    Thank you for the video, it was very helpful.
    Do you know how I can increase the detection range of the touch pad?

  • @LEO-xo9cz
    @LEO-xo9cz 3 года назад

    Do you have a video explaining how to use this in a circuit?

  • @ionutvil1
    @ionutvil1 3 года назад +1

    Hi, I’m just curious, will this switch support a higher load as a CREE LEDs flashing??…noticed you used a regular led which has a lower load…thank you.

    • @SimpleElectronics
      @SimpleElectronics  3 года назад +1

      No it won't - but you can use it to activate a power transistor which will power a cree LED

  • @diegosanz6959
    @diegosanz6959 3 года назад +1

    Great video! I am trying to power a DC: 3,5-9V mini water pump with a 18650 3,6V Battery. What MOSFET do I need to use to make the TTP223 work? Thanks!

    • @SimpleElectronics
      @SimpleElectronics  3 года назад +3

      One with a VGS lower than 5v and with a low enough RDS ON not to burn up for your current!

  • @francoisBonin-phils
    @francoisBonin-phils 4 года назад +1

    thanks for the video ,but my problem , the switch does not keep the status "on" , more than 7 sec in the default config , have you tried to leave your finger on it more than 10 sec?

    • @billglass5160
      @billglass5160 2 года назад

      I have seen somewhere that it re-calibrates its detection parameters every 7 seconds. So if you keep your finger for too long , it will re-calibrate with the presence of your finger and turn off. I have ordered one to confirm what I just said, but it seems to consider "on" in reference to a change of capacitance relative to the calibrated off value.

    • @ElectricPoliville
      @ElectricPoliville 2 года назад

      Add a relay

  • @bernaem7703
    @bernaem7703 3 года назад

    Hello friend, thanks for the video, I have a doubt, over the pin I/0, i want to use with ardino esp8266, but, when i near my finger, the pin i/o dont remain with the VCC voltage, if no the voltage is less. I am using like a input in a pin of the esp, but this pin also have the configuration like a pull down. And you know that the esp receive a input up with 3.3v. Have you a practice example aver that please. Thanks advance

  • @captainkairo5681
    @captainkairo5681 3 года назад +1

    Do they require see through material to operate?

  • @The-wq9lt
    @The-wq9lt Год назад

    can you please help me? my ttp223 touch sensor light is always on when i connect the vvc to 3v on nodemcu and it gets so hot also the touch wont work when i touch it and the led is always on too.
    whats the problem?

  • @amgmg2521
    @amgmg2521 4 года назад +1

    What is the power consumption of that module alone without the led?

    • @SimpleElectronics
      @SimpleElectronics  4 года назад

      not sure! I have to look into it

    • @amgmg2521
      @amgmg2521 4 года назад +1

      @@SimpleElectronics I ordered 10 of them for 1$. Will find out. Thanks for the review.

  • @sutats
    @sutats 3 года назад +1

    Fun with capacitive touch switches

  • @hugocy9768
    @hugocy9768 2 года назад +1

    Super cool video, didn't see the 9mn go. As said below by others you explain very well. Now that might sound weird but would this switch work with let's say.. My tongue ? OR is it finger/skin only?

    • @SimpleElectronics
      @SimpleElectronics  2 года назад +1

      Should work fine with your tongue - same as your cellphone screen!

    • @hugocy9768
      @hugocy9768 2 года назад

      @@SimpleElectronics Thank you! Just susbcribed to your channel

  • @boredfive3001
    @boredfive3001 4 месяца назад

    How can I create a custom circuit board for these so I don't have to use an Arduino?

  • @youliantroyanov2941
    @youliantroyanov2941 3 года назад +1

    Awesome. You must be a Canadian, no?

  • @LukmanSantoso13
    @LukmanSantoso13 3 года назад

    Can I turn on N Channel Mosfet with this board ??

  • @albertanasoul
    @albertanasoul 4 года назад +1

    Thanks for the video, it is the best of about 5 videos I have watched on the topic. Can you please tell me if there is a way to hook up the TTP223 to a piece of metal so that the metal becomes the touch point? I know it can be done if hooked directly to the transistor and deleting the TTP223, but then you have to touch two pins on the transistor at once. I am hoping to have one touch on/off. Could I just solder the TTP223 to the metal or just add a very light capacitor to the appropriate location?

    • @SimpleElectronics
      @SimpleElectronics  4 года назад +3

      I don't see why you couldn't just scrape the solder mask off the touch pad and solder to it, it would just extend the "antenna" so to speak, give it a try!

    • @coyjin
      @coyjin 3 года назад

      did it work?

    • @cbaxter6527
      @cbaxter6527 3 года назад

      Its the solder dot (via) in the corner, or solder to the non-ground side of the sensitivity cap contact.
      watch those East Indian vids of using a device; you know, no-circuit board solder design.

  • @JaredLodwickDesign
    @JaredLodwickDesign 3 года назад +1

    Thank you for this video, it was really helpful in figuring out how to work these. I'm having trouble using one as a switch for my Raspberry Pi 4. I took a power supply with a hard switch, removed the switch and swapped in the touch capacitor switch. My voltmeter reads that I'm getting ~5V out, but the Pi won't turn on fully. It has a solid red LED with no green, which from my understanding means it's not getting enough power. If I plug in a normal unspliced power supply (I have a few) it works fine. I'm assuming the switch is limiting how much voltage is going through, but you said it's rated for up to 5V so I'm not sure. Any ideas?

    • @SimpleElectronics
      @SimpleElectronics  3 года назад +2

      Oh careful, it may not work as a hardware switch because I think it is current limited! You can use it to interface with pins on a microcontroller but I don't think it can switch enough current to supply a RPi!

  • @IronRuffnek
    @IronRuffnek 4 года назад +1

    @simple electronics How would I use this sensor to trigger a simulated tap on a capacitive touch screen

    • @SimpleElectronics
      @SimpleElectronics  4 года назад +1

      I would have to look into it....however simple you think it may be, it's far more complex than that. This is made to emulate a regular button, it's nowhere close to a touchscreen.

    • @IronRuffnek
      @IronRuffnek 4 года назад +1

      @@SimpleElectronics I wanted to use the ttp223 externally and simulate a tap on a smartphone

    • @SimpleElectronics
      @SimpleElectronics  4 года назад +1

      Like I said, the tap on the smartphone is read out like an XY coordinate and not like a button press unfortunately. It can definitely be done but it will be very complicated.

  • @scotnofriends6787
    @scotnofriends6787 3 года назад

    im trying to conect the touch switch instead of a tact momentry swich ,how do i do this....thanks man ..

  • @filipkaczmar
    @filipkaczmar 3 месяца назад

    Hello, I need help. I don't know much about electronics but i am a guitarist and i am trying out different type off killswitches that momentarily kill the signal of the the guitar to get a crazy stuttering effect. I have learned the hard way, that i need on-switches to kill the signal and not off switches. Now i try to develop a killswitch that isnt your regular button or toggle switch but a touch sensor because i hope to get the stuttering effects much faster. Do you have advice for me?

    • @Ayesha86_
      @Ayesha86_ 3 месяца назад

      You can not connect this switch shown in the video to a very high voltage, so if the power rating of your circuit is very high, you need a few more components.

  • @gibo588
    @gibo588 4 года назад +1

    I like the way you show the blades, like you wanna slice something. Anyways. I will buy those sensor for my project. Thanks!

  • @MMaheshThakur
    @MMaheshThakur 4 года назад +1

    Can u tell me plz.. how to run it on ac main . I mean can I use it on ac by use of register to operate optocoupler or some MOSFET.

    • @SimpleElectronics
      @SimpleElectronics  4 года назад +1

      If you are using an optocoupler, just replace the LED in my demo with the LED side of the optocoupler, should work just fine

  • @peddersoldchap
    @peddersoldchap Год назад

    Hi. First, thank you for the video.
    Second, how can I use this device to reset a ZX Spectrum or a Commodore 64, using the reset pin of the CPU?
    That pin is active low, btw.
    Ta.

  • @rayjames5200
    @rayjames5200 Год назад

    Very helpful.
    Do you know what capacitance would reduce the sensitivity of the sensor?
    You mentioned it should be less than 10 Nano but I’m not sure where to shop or what to purchase.
    Any advice would be much appreciated.

    • @TheZaomei
      @TheZaomei Год назад

      0 to 50pF as per a comment and manual.

  • @Unknown-qc9eu
    @Unknown-qc9eu 3 года назад

    And WHAT IS THE SMD CAPACITOR FOR

  • @devrimtuncer8655
    @devrimtuncer8655 2 года назад

    As far as i know trigger voktage is negative. İs there a way to make it positive voltage

  • @lloydiedesu5131
    @lloydiedesu5131 3 года назад +1

    do you have tutorial how to use it it 12 volt i am planning to use this on motorcycle with 12v battery just a switch

    • @SimpleElectronics
      @SimpleElectronics  3 года назад

      A tiny bit more complex than a comment could deliver - but I'll add it to the video queue!

    • @lloydiedesu5131
      @lloydiedesu5131 3 года назад

      @@SimpleElectronics this will get viral in the philippines if youll have one motorcycle is a very big community in the philippines please add some relay hehe hope to see the video soon

  • @kpcheck1
    @kpcheck1 Год назад

    Thank you for sharing, very clear and precise explanation. Nice video too.

  • @crimsonred9207
    @crimsonred9207 2 года назад

    This video is super helpful I’m new to this type of world and I don’t know much but I have two questions if you guys wouldn’t mind me asking. 1: I notice the pcb has three connections and I was wondering if it would still work if I spliced it to a custom built pc power on button cable which only has two wires and I believe run at 5v (correct me if I’m wrong) 2: I’m assuming since you put it through a case and it still toggled would putting a sticker over this still trigger the switch ?

  • @andymouse
    @andymouse 4 года назад +1

    I love these chips, and I have made my own shaped pads (My logo) and I found a 47pf cap perfect if you wanna actually touch the pad.

    • @SimpleElectronics
      @SimpleElectronics  4 года назад +1

      Very nice, have to test that - you just bought the bare TTP223 smd chip?

    • @andymouse
      @andymouse 4 года назад +2

      @@SimpleElectronics Actually no,I bought a strip of them like you have, but I used my homemade hotplate to remove some of the chips which was cheaper than buying them as I needed two for a project !

    • @MrBie
      @MrBie 3 года назад

      @@SimpleElectronics @andymouse123 do you know if is it possible to connect an external touchpad instead? That would be cool

  • @tabishakbar8884
    @tabishakbar8884 3 года назад +1

    How to increase its range upto few cm please reply

  • @E4E
    @E4E 8 месяцев назад

    Goodness knows how you soldered the B Pad, I can hardly see the feckers 😂😂 👏

  • @riyad4547
    @riyad4547 2 года назад +1

    i liked , subscribed immediately for the first 30 seconds .

  • @BayouBradley
    @BayouBradley 3 года назад

    Great video. Anyone know the best capacitor to maximize the distance the sensor can read?

    • @Joe_Yacketori
      @Joe_Yacketori 3 года назад

      I believe that would be no capacitor. Adding additional capacitance would decrease the sensitivity, minimizing the distance the sensor can read. The sensitivity cannot be increased without changing the geometry of the device; in other words, the device with no additional capacitor represents the highest sensitivity/maximum distance the sensor can read given the shape and positions of the parallel plates in the device. Someone correct me if I'm wrong.

    • @cbaxter6527
      @cbaxter6527 3 года назад

      I have seen other videos attach a wire and plate to external contact causing a deeper field of non-contact area from 1/4 inch to inches. I assume larger area equals more electro-static charging potential.

  • @brazilcreative1063
    @brazilcreative1063 3 года назад +2

    is it to connect to AC 220v current?

  • @kittyr791
    @kittyr791 10 месяцев назад

    The data sheet says to use between 0-50 pF on the sensitivity controller, so you actually used around 1000 times too much!

  • @SuperManyl
    @SuperManyl Год назад +1

    Thanks

  • @robertbigott9742
    @robertbigott9742 Год назад

    try putting some solder on wire first. It is easier and neater.

  • @sanjeevverma228
    @sanjeevverma228 3 года назад +1

    How i can buy this

  • @MrSuchewas
    @MrSuchewas 4 года назад +1

    I think this is wrong. You connected the cap to the connection for external switch! The cap needs to replace the SMD cap you still have untouched. This is why your test is not successful in the end of the clip.

    • @SimpleElectronics
      @SimpleElectronics  4 года назад +1

      It seems both the cap that's already there and those two open pads are in parallel with the touch pad, so they would both adjust sensitivity, but for sure you can remove the cap to modify the sensitivity moreso

  • @adamcreativity9293
    @adamcreativity9293 3 года назад +1

    Wao , You amazing sir & ya voice Sweet peaceful & thanks for educating us . 🙏💋

  • @chungphaminh1775
    @chungphaminh1775 3 года назад +1

    Yen Thanks

  • @Hakimfrh
    @Hakimfrh 3 года назад +1

    thanks what you explain is very usefull 👍👍

  • @jonnyesper6698
    @jonnyesper6698 3 года назад +1

    Credit button for my arcade machine :-)

  • @Siddharth_Sharma7711
    @Siddharth_Sharma7711 4 года назад +1

    Awesome

  • @matt9640
    @matt9640 8 месяцев назад

    Thank you!

  • @triangle4studios
    @triangle4studios 3 года назад +1

    I hate the term maker.
    We are inventors, philosophers, designers and artists. A maker is such a devalued term.
    Anyway good video, thanks! Subscribed.

    • @SimpleElectronics
      @SimpleElectronics  3 года назад +1

      I guess it depends on where you stand - I sometimes prefer it because it's inclusive!

  • @TheGalacticWest
    @TheGalacticWest 3 года назад

    Truly just shorten the resistor leads. For real for real.

  • @DanDomanski9
    @DanDomanski9 4 года назад +1

    Nice video!!

  • @TheSkogemann
    @TheSkogemann 4 года назад +1

    Very useful! :)

  • @grindel80
    @grindel80 4 года назад +1

    do you know? these things are SELF CALIBRATING!