Это видео недоступно.
Сожалеем об этом.

TTP223 Capacitive Touch Switches

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024
  • Taking a look at some TTP223 capacitive touch switches available for dirt cheap from eBay.com: (affiliate link)
    rover.ebay.com/...
    or from eBay.ca (affiliate link)
    rover.ebay.com/...
    These premade modules have some great advantages over diy solutions and even physical switches, such as pre-debouncing, mode switching and logic low and high toggling. Right off the bat they even have roughly 0.1 inches of range as well....great stuff!
    Thanks for watching!
    If you feel like supporting the channel please consider supporting on Patreon: / simpleelectronics
    or buy anything on Banggood's site using my affiliate link:
    www.banggood.c...
    and if you feel so inclined, here is my Amazon wish list!
    www.amazon.ca/...

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

  • @rramasamy
    @rramasamy 2 года назад +5

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

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

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

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

    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 3 года назад

      @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 9 месяцев назад +1

      thanks for sharing

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

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

  • @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.

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

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

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

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

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

      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/

  • @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 👍

  • @cbaxter6527
    @cbaxter6527 3 года назад +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 2 года назад

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

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

      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.

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

    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

  • @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

  • @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!)

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

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

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

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

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

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

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

    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

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

    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

  • @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

  • @The-wq9lt
    @The-wq9lt 9 месяцев назад

    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?

  • @amservbiz
    @amservbiz 5 месяцев назад +1

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

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

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

    • @oleksandrkosarevskyy882
      @oleksandrkosarevskyy882 9 месяцев назад

      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?

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

    Fun with capacitive touch switches

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

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

  • @boredfive3001
    @boredfive3001 18 дней назад

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

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

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

  • @kpcheck1
    @kpcheck1 9 месяцев назад

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

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

    Thanks

  • @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

  • @mr.selfdestruct2917
    @mr.selfdestruct2917 8 месяцев назад

    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.

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

    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.

  • @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

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

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

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

    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?

  • @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?

  • @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.

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

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

  • @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!

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

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

  • @c0mputer
    @c0mputer 7 месяцев назад

    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.

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

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

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

    i liked , subscribed immediately for the first 30 seconds .

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

    Thank you!

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

    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?

  • @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

  • @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

  • @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

  • @ionutvil1
    @ionutvil1 2 года назад +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  2 года назад +1

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

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

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

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

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

  • @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!

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

    thanks what you explain is very usefull 👍👍

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

    Yen Thanks

  • @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 ?

  • @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

  • @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 Год назад

      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 Год назад

      Add a relay

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

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

  • @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.

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

    Credit button for my arcade machine :-)

  • @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

  • @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!

  • @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 2 года назад

      did it work?

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

      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.

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

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

  • @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

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

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

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

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

  • @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.

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

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

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

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

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

      not sure! I have to look into it

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

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

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

    Awesome

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

    Do they require see through material to operate?

  • @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

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

    Nice video!!

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

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

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

    And WHAT IS THE SMD CAPACITOR FOR

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

    How to increase its range upto few cm please reply

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

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

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

      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 2 года назад

      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.

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

    Very useful! :)

  • @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!

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

    Awesome. You must be a Canadian, no?

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

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

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

    is it to connect to AC 220v current?

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

    How i can buy this

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

    do you know? these things are SELF CALIBRATING!