How to make a capacitive touch sensor switch out of anything metal using an Arduino

  Рет қаралды 104,285

Z-HUT

Z-HUT

Күн бұрын

Пікірлер: 105
@ThierryC2373
@ThierryC2373 4 жыл бұрын
Wow, 1 pin only and a resistor to make a capacitive sensor!! Genius! I was looking for a simple solution for my rain monitor for months and you showed it to me, great!!
@AbdElAzizINFO
@AbdElAzizINFO 2 жыл бұрын
Can you give me a schematic diagram of the electrical circuit?
@James-uz9se
@James-uz9se 3 жыл бұрын
Legend has it: he’s still in that cave
@jelled524
@jelled524 3 жыл бұрын
So true XD
@AvocadoAtrocity
@AvocadoAtrocity 3 жыл бұрын
Best cave around.
@serjeelranjan8345
@serjeelranjan8345 5 жыл бұрын
I used 1 M ohm resistor. And value jump from 50 to 10,000 on touching. Perfect thanks.
@melchiortod29
@melchiortod29 3 жыл бұрын
Ok but i looove the reverb on the voice! It feels like a dream! Amazing! Thank you for the video, it really helped btw
@iscuit
@iscuit 2 ай бұрын
2 years later, indeed. in bed at 1am and feels like I'm already dreaming 😂
@ilikepie6879
@ilikepie6879 2 жыл бұрын
my man went ham on the reverb lol. Good video!
@antonio.chetta
@antonio.chetta 5 жыл бұрын
Thank you, I've been looking for this thing for 1 hour and I found your video that helped me
@johnanderson9619
@johnanderson9619 2 жыл бұрын
It's case sensitive, capacitiveSensor is different from CapacitiveSensor... But yeah man detecting through 3/4 plywood, plexyglass, etc.. I made some lights for under the bar that's also solar powered, and for the switch I have a sheet of plexyglass with the wire basically taped to the back of it, and no problems.. It gradually increases with brightness because of the PWM controlled mosfet, so the pos actually increases in time as your touching it.. good stuff. +1, a must watch, tnx. if (val >= 1000) pos = pos + 1 AnalogWrite(nMOS, pos); if (pos >= 254){ pos = 0; delay(1000); etc. etc. etc. I'm sure u guys get the idea. pretty easy stuff. I'm using 11MMillions of Ω's) of resistance.
@solidussmith
@solidussmith 4 жыл бұрын
Informative! I was curious how another youtubers synth project had these cool touch buttons, now I understand. Thank you!
@Argosh
@Argosh 2 жыл бұрын
Rainbow? 😁
@TCreatorO
@TCreatorO 5 жыл бұрын
Out of anything metal?...🤔, make 1 out of a slipknot shirt
@ta1bubba
@ta1bubba 4 жыл бұрын
i do not believe that is metal enough. try something with more gurth, please.
@demiurgiac
@demiurgiac 3 жыл бұрын
As is often the case, I needed a little shove in the right direction. You provided it, thanks.
@MateoTheDev
@MateoTheDev 2 жыл бұрын
Dunno why you sound like a god in the video but thanks for help!
@mr.selfdestruct2917
@mr.selfdestruct2917 Жыл бұрын
Will this work on nano every? Thanks. Great vid.
@chrisfoot6680
@chrisfoot6680 4 жыл бұрын
Jesus Christ that intro is epic!
@fernandolopes3545
@fernandolopes3545 11 ай бұрын
I need something like this for an electronic drum Basically, I need a trigger for when I touch the cymbal, so I can make a logic for the sound to stop (a "choke effect"), but it can't trigger until I actually touch the cymbal In your video, it also triggers when you get close to it without actually touching it. Is there a way to disable that, so it only triggers when touched?
@print4life
@print4life Жыл бұрын
I have a old server case laying around ima see how well taht works as an antena see how far away it senses, great video.
@ianbaxter3905
@ianbaxter3905 Жыл бұрын
I have a strange bug. I'm wiring this as a touch switch on a synthesiser which uses a logic high (5v) to create a gate which trigger a sounds. My oscillator stays on as long as the gate is high. I modified the code to be momentary rather than latching - i.e. go high for values > 1000 then low if the value goes below 1000 so the note holds for as long as my finger is on the pad. The circuit works great for me when I'm powered by USB plugged into my laptop (uploading the code) but when I swap to the 5v supply the synth is running on I get regular glitches to 0v so the note stutters. Anyone have any idea what is causing these periodic drops to 0v? I can't work it out.
@frollsshontay
@frollsshontay 4 жыл бұрын
Great video - just wondering how you would amend the sketch to avoid the use of Delay - and use Millis instead?
@ianm1898
@ianm1898 5 жыл бұрын
Hi what is the different using arduino or not? I saw other video only us TTP223,some resistor and capacitor I want to make a 3 step brightnes touch sensor for my bedside led lamp 12v,could it be made without arduino?actually for saving cost only
@subwayz_qt5
@subwayz_qt5 3 жыл бұрын
You sound like you are giving a class in an empty classroom
@coreys_art_stuffwcs4897
@coreys_art_stuffwcs4897 3 жыл бұрын
Could you put multiple of these metal 'switches' on one breadboard?
@davidlima3615
@davidlima3615 2 жыл бұрын
Yes, You can light at tree objects
@kouroshghazvini5592
@kouroshghazvini5592 Жыл бұрын
Everything works perfectly when I'm plugged into my laptop, but once I plug it into an outlet on the wall or even through a USB converter to the wall outlet, the sensors all go wack and don't react properly.
@First.Last.99
@First.Last.99 Жыл бұрын
If you can. add display to your thing so you can see what's actually is happening when you plug it into outlet. Mine was going crazy when I activate my table to go up or down, but then I changed settings for sensitivity. meaning that it cant be triggered if its not over 5k if you know what I mean. This sensor is not perfect, other things are influence the results sometimes. depends of the environment.
@Markmin93
@Markmin93 6 ай бұрын
Hi what the model arduino you use
@giulioambrogi5413
@giulioambrogi5413 Жыл бұрын
if I have an aluminium enclosure (e.g. a guitar pedal) and I solder the wire to the enclosure (acting like your coin), is it safe to be used as a "touch" footswitch? I'm a noob, any pointer is appreciated.
@jayfish9810
@jayfish9810 5 жыл бұрын
Great Video. I really appreciate it. I have to say that echo is like nails on a chalkboard. Is that just me or did you record this with that effect?
@troylee1541
@troylee1541 5 жыл бұрын
Nice work!! I have a question. Do you happen to know the unit of the output in the serial monitor?
@z-hut1663
@z-hut1663 5 жыл бұрын
Actually I don't think there is one
@MemphisPains
@MemphisPains 5 жыл бұрын
My goal is to use capacitive touch sensors as the buttons for an Arduino midi controller, is that something that is possible?
@gautierreynes9237
@gautierreynes9237 4 жыл бұрын
I just had the same idea ! It is possible ahah
@RoshDroz
@RoshDroz 3 жыл бұрын
Did you say you could hook it up to your cotter? I think I must've misheard you. I'm guessing you said cutter, like a table saw?
@edgarwalk5637
@edgarwalk5637 3 жыл бұрын
I was thinking making a midi guitar with capacitive switches. I would need to make around 130 of them, there goes that plan. I liked informative video though.
@teairis
@teairis 3 жыл бұрын
It would be better to use a soft pot/ ribbon sensor to do this. That way you can think of them more like strings. For ex... 6 long ribbon sensors = 6 guitar strings = 6 analog inputs on your microcontroller. Each sensor detects the position that you press. Then your code for each string can reflect reality. The position you touch value can mapped to midi notes.
@erictronical4143
@erictronical4143 4 жыл бұрын
Hi, I have a question. So why does my led only blink once every time the cycle is over? It doesn’t turn on whenever I try to do it again.
@teairis
@teairis 3 жыл бұрын
Make sure that your code is on the loop section or it will only check your if statement once. Also, make sure your delay for that if statement isn't too long maybe.
@AbdElAzizINFO
@AbdElAzizINFO 2 жыл бұрын
Can you give me a schematic diagram of the electrical circuit?
@oguzhancetin_mech
@oguzhancetin_mech 3 жыл бұрын
is there an industrial sensor that performs just like this? i want to use it on a machine for finger protection
@Slaptile
@Slaptile 5 жыл бұрын
Will the capacitor sensor produce very different results if I were to try compare it with glass and plastic?
@ta1bubba
@ta1bubba 4 жыл бұрын
yes.
@Schroeder9999
@Schroeder9999 2 жыл бұрын
I loaded this video and behold! The voice of GOD! Haha... just kidding. But seriously, informative indeed. I was looking for information on this subject matter but I didn't know a direct connection to an IO pin would do the job! Thanks
@Raaaww
@Raaaww 3 жыл бұрын
Would this be possible on rpi 4?
@FMighty
@FMighty 4 жыл бұрын
Hello, is it a arduino nano ? Thanks
@sgtunix
@sgtunix 4 ай бұрын
100K views was attained. The man will now be let out of his cave.
@fridolineckerd6135
@fridolineckerd6135 2 жыл бұрын
do you have any idea why it doesnt work with my Wemos D1 mini? when compiling i allwas get a error mesage: exit status 1
@options9119
@options9119 3 жыл бұрын
Is it possible to add a potentiometer instead or the resistor across pin 4 and 6 It will really help as I find that temperature and other factors change the sensitivity. So instead of swapping out resistors a potentiometer might be very helpful Please help
@jbjb303
@jbjb303 4 жыл бұрын
what Arduino board are you using???
@xkanight
@xkanight 5 жыл бұрын
Do you know if this wound work as a water sensor? Running one wire around a sump pit and if water touched it, it could alert you?
@z-hut1663
@z-hut1663 5 жыл бұрын
There are much simpler ways of doing that instead of using this project. Unless you are using pure water it will conduct electricity so all you would have to do is have two terminals at the level you want to have the alarm for the water to be sounded from and just do a digital read of those two points. When the reading is HIGH have a alarm triggered
@chrisjeaaalbertos3802
@chrisjeaaalbertos3802 11 ай бұрын
I'm curious what would happen if you decide a delta between the normal state and state it should be switched and let the arduino calculate the average value over let's say 2 minutes, then make it if(val => average+delta). This could maybe solve the issue of the capacitance changing not only with different mediums but also when humidity and temperature change
@James-uz9se
@James-uz9se 4 жыл бұрын
Can I bind multiple of these to multiple keys so I have an controller build?
@richardbraganza8245
@richardbraganza8245 3 жыл бұрын
see 7mins into video - he shows you that it can
@kelseyriano908
@kelseyriano908 2 жыл бұрын
can this be made using arduino uno?
@rohitverma905
@rohitverma905 2 жыл бұрын
I used this in 12v led strip the serial monitor fluctuates when the Arduino is given 12v of supply any solution to stabilize the readings of serial monitor?
@chiraggoyal7637
@chiraggoyal7637 5 жыл бұрын
Is it possible to make it work over a diffused glass surface. I can't put metal behind the diffusor as i want to use it as light source
@Rallemuuss
@Rallemuuss 4 жыл бұрын
Not likely. A possible workaround would be to place a conductive material (metal) around the edge of the glass, and then using the fact that the value changes as you approach the material.
@First.Last.99
@First.Last.99 Жыл бұрын
@@Rallemuuss how can one put a conductive metal around the edge of a glass? thank you
@MultiRdh
@MultiRdh 4 жыл бұрын
Can you guide how to add 1 more sensor with led
@aplicarciencias
@aplicarciencias 4 жыл бұрын
Very nice! Great stuff! Thanks
@rdsully1221
@rdsully1221 Ай бұрын
sick reverb bro
@osupolo
@osupolo 2 жыл бұрын
is it possible to make a capacitive potato touch sensor?
@anosvoldigod2943
@anosvoldigod2943 10 ай бұрын
guys i am a completely new to this no i need some help, the ardunio switch name can i get it properly as i am unable to select the switch , are all same or different i just need the one which the guy has used usable with 10mega ohm resistor and all
@darkwhiteartz8429
@darkwhiteartz8429 3 жыл бұрын
What happens when we touch the metal plate with another metal?? will it sense?? or will it sense only human touch?? kindly help
@tangsongyao5893
@tangsongyao5893 5 жыл бұрын
thanks man now it's time to copy
@Duelista23
@Duelista23 5 жыл бұрын
this was very helpfull thank you :D
@boxjump8948
@boxjump8948 3 жыл бұрын
dos this could work on a car ? / like when you toutch it is mage an angry breathing dragon sound like the car dont like being toutch ? / because i want to do this on my future car in case if people try to posing and be quite stupid to toutch it sow that scare them / and alos that would be cool if that could start a camera if anything append to the car they have the recording a car that painted not direct to metal hope you have hunderstand what i want to say im french sow my traduction is not really good because i trie to learn and not use google translate
@yagneshpatel5934
@yagneshpatel5934 5 жыл бұрын
I want to use capacitive sensor to sense water level without conducting current in water as well as sense moisture in soil without conducting current in soil is this sensor works for both...?pls urgent reply sir??
@z-hut1663
@z-hut1663 5 жыл бұрын
no
@nikhilrulz91
@nikhilrulz91 4 жыл бұрын
This did not work when I powered my Arduino with a battery
@AnimePhoenix888
@AnimePhoenix888 4 жыл бұрын
Vice video with good explaination, but the echo/reverb is very irritating. Is there actually a reason you use/have it that way? Speakers on while recording?
@kevinp.1842
@kevinp.1842 4 жыл бұрын
Even been in a room bigger that one square meter?
@First.Last.99
@First.Last.99 Жыл бұрын
@@kevinp.1842 *than
@yagneshpatel5934
@yagneshpatel5934 5 жыл бұрын
Is it works for sensing water?
@z-hut1663
@z-hut1663 5 жыл бұрын
no
@GeorgeGeorge-xj2bc
@GeorgeGeorge-xj2bc 4 жыл бұрын
With some modifications yes it could do it.
@sunitasharma9222
@sunitasharma9222 4 жыл бұрын
Can it be used as distance sensor
@chetanreddy4546
@chetanreddy4546 3 жыл бұрын
U can use IR sensor as a distance sensor...!
@Rayyarhs
@Rayyarhs 4 жыл бұрын
Like the intro music!
@amir3515
@amir3515 3 жыл бұрын
same intro song found in hydraulic press channel videos
@akshay.kumar.k
@akshay.kumar.k 2 жыл бұрын
I think one can make a _model accelerometer_ with this technique, if you know what I mean..😎😉
@First.Last.99
@First.Last.99 Жыл бұрын
THANK YOU
@jacobmelendrez7174
@jacobmelendrez7174 5 жыл бұрын
Is there a way to specify the type of object that is touching the tactile sensor in the software?
@z-hut1663
@z-hut1663 5 жыл бұрын
No
@WarthogA100
@WarthogA100 2 жыл бұрын
Do you think this would work if you touched it with a pair of gloves? Im working on building a sensor that will activate if a crackhead touches my catalytic converter. He may be wearing gloves.
@industron22
@industron22 3 жыл бұрын
Why it is blinking when we touch it long time
@adipose5724
@adipose5724 3 жыл бұрын
Hello, I all worked according to your method, saved the code, and then this character appeared: avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xec could you help me?
@lastchance045
@lastchance045 Ай бұрын
Did you remember to add this library ? CapacitiveSensor.h
@user.A9
@user.A9 10 ай бұрын
For a live animal trap, could this detect a rat?
@lastchance045
@lastchance045 Ай бұрын
try it
@gustavopinzon9031
@gustavopinzon9031 4 жыл бұрын
What happens when you touch without any resistor ?
@chetanreddy4546
@chetanreddy4546 3 жыл бұрын
Then There won't be a voltage regulator and finally you may get more voltage output.. 😜
@turbohotvedt
@turbohotvedt 4 жыл бұрын
Thanks now i have switches made out of apples
@turbohotvedt
@turbohotvedt 3 жыл бұрын
@@BlondieHappyGuy yes
@jeromebourdichon449
@jeromebourdichon449 2 жыл бұрын
Top
@ravenclawgamer6367
@ravenclawgamer6367 4 жыл бұрын
Can I make something like this to power my CPU ...
@gustavopinzon9031
@gustavopinzon9031 4 жыл бұрын
Yes man, you just need to use a rele 5v to 220v or 110v
@davidlima3615
@davidlima3615 2 жыл бұрын
69 / 5.000 Hello! very good your video! Can I use this library in NANO 33 BLE?
@nickbecker6939
@nickbecker6939 4 жыл бұрын
Mega!
@santoshdharme5927
@santoshdharme5927 4 жыл бұрын
Check out Sidtronics he have similar videos
@yorganyog
@yorganyog Жыл бұрын
What are the range of them? Do they have much noise to have false detections?
Diy touch sensors
9:25
Esperienze elettroniche
Рет қаралды 41 М.
Accompanying my daughter to practice dance is so annoying #funny #cute#comedy
00:17
Funny daughter's daily life
Рет қаралды 21 МЛН
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 5 МЛН
How Touch Sensors Work: Exploring Capacitive Sensors with the TTP223
14:44
I tried the Cheapest Arduino Alternative (that Nobody heard of)
13:31
How Capacitive Touch Screens Work
6:15
Tom Hebb
Рет қаралды 159 М.
Breadboard capacitive touch sensor tutorial
15:13
FriendlyWire
Рет қаралды 93 М.
TTP223 Capacitive Touch Switches
9:18
Simple Electronics
Рет қаралды 88 М.
DIY Capacitive Touch PCBs
24:57
sjm4306
Рет қаралды 27 М.
How to Use a Joystick with Arduino: Wiring and Basic Controls
13:44
Rachel De Barros
Рет қаралды 15 М.
I built a PC, but it moves
27:42
Ideal Idea
Рет қаралды 1,5 МЛН
SparkFun Engineering Roundtable 9-24-12: Capacitive Sensing with Chris Taylor
9:42
Arduino Capacitive Touch Sensing!
8:51
LeMaster Tech
Рет қаралды 10 М.