Diy touch sensors

  Рет қаралды 34,525

Esperienze elettroniche

Esperienze elettroniche

Күн бұрын

In this video we will see how to make touch sensors using common materials.
Arduino firmware:
esperienzeelettroniche.blogsp...
.
.
.
.
.
#arduino #projects #sensors #touch #touchsensors #capacitive

Пікірлер: 70
@ajpranata4053
@ajpranata4053 Жыл бұрын
awesome video, thanks !
@giovannifarese6801
@giovannifarese6801 2 жыл бұрын
Bellissimo!!! Augurissimi Prof
@espelett
@espelett 2 жыл бұрын
Ah ah, grazie per il prof. Comunque tanti auguri anche a te.
@YFTOUCH
@YFTOUCH Жыл бұрын
You are really wonderful!
@ahmedmedhat4428
@ahmedmedhat4428 Жыл бұрын
Thanks for the great tutorial, but I have a question: How can I read the raising edge
@allantamm2185
@allantamm2185 Жыл бұрын
Now it would be interesting to see another arduino that is able to contactlessly switch the first one..
@yousefelgredly241
@yousefelgredly241 11 ай бұрын
Thank you for this tutorial 🥰🥰 but i have a question , is that sensor work with other objects like ball ?
@cigga_b4170
@cigga_b4170 10 ай бұрын
If I want to find some other material to stick on the touch, is it still working other than tape? can you advise me
@MaxParadiz
@MaxParadiz 2 жыл бұрын
Very cool! I wonder if it would be possible to use a single asymmetric object with a capacitance change that depends on whether you slide a finger in one direction or another. So, sliding the finger up might increase the capacitance by a bit, and sliding down will decrease it. By measuring over the timeframe that the object is within the "being touched" capacitance range, you can use a single object with a single pin connection to scroll up or down.
@espelett
@espelett 2 жыл бұрын
I don't think it's a simple task. Sliders can be implemented by using several sensors. Here you can find some useful information ww1.microchip.com/downloads/en/Appnotes/Capacitive-Touch-Sensor-Design-Guide-DS00002934-B.pdf
@JB-zv4sv
@JB-zv4sv 11 ай бұрын
does it work under glass?
@abelmasresha1005
@abelmasresha1005 2 жыл бұрын
Great work. It works for me. But how can i use for fade or dimmer light this sensor? Thank you
@nielsdaemen
@nielsdaemen 23 күн бұрын
Simply increase or decrease a variable depending on the state of two sensors. Or implement a dimming system with just one sensor, just changing the brightness up/down until you release it
@bahaajobs
@bahaajobs 7 ай бұрын
Thank you, this is very nice project, but have you noticed this touchpad will not work if your body touching the ground? is there a solution for this?
@ryanschmitt5053
@ryanschmitt5053 10 ай бұрын
I love this tutorial. My main question would be is it possible to define a different sensitivity threshold for each sensor? I want to make one that could work my just getting close to it.
@qwertyboguss
@qwertyboguss 5 ай бұрын
It's possible if you edit the code. You could put it as a value of the structure (called touchPad) that's defined and set the value upon initialization. However setting the threshold too low will get you false positives. See the example in the graph when debug is enabled, there one of the pins is at a value of 40 already. And that value depends on atmosphere and the object it's connected to. The closer your value is to the non-touched state, the higher the chance of false positives.
@jojo-wc6ni
@jojo-wc6ni 10 ай бұрын
Hello I have the problem that when I leave the Arduino on after a few minutes the L LED flashes and the button no longer works properly. Any idea how I could fix this?
@elenaherrmann8122
@elenaherrmann8122 Жыл бұрын
Hello, thank you for this great tutorial! Do you think it is possible to include a MUX (e.g. CD4067B, 16 channels) to increase the number of touch sensors? Would I then connect the SIG of the MUX with one of the ANALOG pins on the Arduino? Or do you have a better idea for a setup? Thanks again! 🙂
@christobacon1
@christobacon1 6 ай бұрын
I bet this could be done on a mega which has 16 analog pins ¯\_(ツ)_/¯
@JoinToHell1
@JoinToHell1 Жыл бұрын
Will this work okay with 60 sensors?
@binal5542
@binal5542 Жыл бұрын
Music is nice and far in the back
@KSAC2716
@KSAC2716 Жыл бұрын
Fantastic! Does this also work on esp32? And can we touch it through a lcd screen? Thank you! KSAC
@espelett
@espelett Жыл бұрын
I didn't try on esp32. I think that an LCD screen is too thick ti male it work.
@KSAC2716
@KSAC2716 Жыл бұрын
@@espelett Thank you! What method do you think is the best way to make a touch lcd screen?
@alexn.2199
@alexn.2199 Ай бұрын
What is if on these buttons get Water? Does it reconize water as a Klick/touch?
@arisoda
@arisoda Жыл бұрын
Any idea how much power this draws when NOT touching the sensor? I'm curious whether I can make a really small device like this that only runs on a 3V button battery...
@espelett
@espelett Жыл бұрын
I don't know the exact current consumption, but I think it is not reccomended for battery operation because the mcu should be running continuosly (no sleep mode).
@arisoda
@arisoda Жыл бұрын
@@espelett That's a fair point! Although what if I used a simple push button? Does that also require the mcu to run continuously?
@jeremielegroux4487
@jeremielegroux4487 Жыл бұрын
nice job!.I 'm using the "capacitvesensor" library but unfortunately, it needs to be plugged to the earth.. does this circuit requires to be grounded?
@espelett
@espelett Жыл бұрын
No, it doesn't. Try it.
@sijojohnson
@sijojohnson Жыл бұрын
does this single wire sensing is available for STM 32 chip? i need to detect 10 channels.
@espelett
@espelett Жыл бұрын
Sorry, I don't know if It works on stm32.
@rodrigocirilo7343
@rodrigocirilo7343 5 ай бұрын
Do you have pic version?
@MohitSharma-lm2sb
@MohitSharma-lm2sb Жыл бұрын
What do I need to change if I want touch means 1 and not touching to mean 0?? I tried reading the code, but some parts were too advanced
@qwertyboguss
@qwertyboguss 5 ай бұрын
Yes, read the touchPad structure. E.g. (touchPad1.state == 1) means on
@JarppaGuru
@JarppaGuru 4 ай бұрын
8:12 those you need if make pcb ncoz it wont work same as breadboard
@techs5564
@techs5564 Жыл бұрын
is it possible to set threshold and samples automatically?
@qwertyboguss
@qwertyboguss 5 ай бұрын
Yes, implement a startup sequence that reads the current values and add a safe percentage to it as threshold. You can add a threshold property to the structure to keep these values per sensor
@melvinfisch3268
@melvinfisch3268 9 ай бұрын
Hey Nice Video thanks, Im wonderin if i can programm it with 2 Led strips like this.. 1 touch= LED bottom On, 2 touches in a row = LED Top On, 3 touches in a row= LED Bottom and Top On? Thanks for the Respons :)
@qwertyboguss
@qwertyboguss 5 ай бұрын
Yes it's possible you need to add that to your arduino code. Keep track of time/ticks or implement a counter that checks on/off/on withing a given time period.
@silasgeerts1736
@silasgeerts1736 4 ай бұрын
If i use a multiplexer to add more analog pins can i get 12 sensors to work?
@espelett
@espelett 4 ай бұрын
You can try, but I don't think it will work.
@silasgeerts1736
@silasgeerts1736 4 ай бұрын
Thank you, I tried and I did indeed not work but I think I found an other way to do what I want.
@techs5564
@techs5564 Жыл бұрын
can these touch pads used to play specific tracks of mp3 in df player mini?
@espelett
@espelett Жыл бұрын
Yes.
@techs5564
@techs5564 Жыл бұрын
@@espelett thanks, i tried and it worked flawlessly. Now my issue is when the touch pad size increases i have to set threshold and samples again. Any way to do it auto?
@cigga_b4170
@cigga_b4170 10 ай бұрын
How we choose matterial for touch if i want to install touch to project such as i want to install to my lamp , pls advice
@qwertyboguss
@qwertyboguss 5 ай бұрын
Needs to be conductive, but preferably with a somewhat thin non-conductive layer in between so that you're not shorting poor body to the pin.
@JarppaGuru
@JarppaGuru 4 ай бұрын
7:09 then disconnected it. it connected breadboard now. it has capasitance LOL
@jackisgoofingoff5510
@jackisgoofingoff5510 8 ай бұрын
My eye: Watch til the end My brain: ??
@bigmac9712
@bigmac9712 8 ай бұрын
Why the A0 pin has to be disconnected?
@qwertyboguss
@qwertyboguss 5 ай бұрын
Probably used as reference for the other pins. So basically to compare the state of an unconnected pin to one being touched (or not touched). This is a guess though.
@binal5542
@binal5542 Жыл бұрын
I tried with uno but nothing happening . Changed the sensitivity but still no response . Please help . When upload it’s successful but with warning about “typedef struct “.
@espelett
@espelett Жыл бұрын
Hello. The sketch should work without any modifications, I've tested it on different models of Arduino. The typedef warning is not critical. Have you checked all the connections and led polarity? Keep in mind, don't touch sensors during Arduino startup (while applying power).
@zerinoggonzalez9726
@zerinoggonzalez9726 Жыл бұрын
Se puede utilizar Arduino uno?
@espelett
@espelett Жыл бұрын
Si.
@naols5577
@naols5577 2 жыл бұрын
Hey 👋, I love your circuit but I'd like to replicate it with more than 5 inputs. I saw on KZbin that a lot of people do the same diagram but with digital pins instead of analog. (But you can't press all of them at the same time...) I know you may use float values with your code so you want analog inputs, but it would be amazing to use the digital ones (because with an Arduino mega I could connect up to 50 sensors). Do you think it's possible ? And if so can you use the same code with small modifications or do I have to change the diagram circuit ?
@espelett
@espelett 2 жыл бұрын
Hi. This method works only with analog pins. There is a library (called CapacitiveSensor) that allow you to use digital pins, but it needs 2 pins for every sensor. Another method for using a digital pin is to connect it to VCC via a very large resistor (in the order of Mega Ohms), but for this to work your body has to be connected to ground (not very practical).
@naols5577
@naols5577 2 жыл бұрын
@@espelett I will continue to search. Thank you.
@fasti8993
@fasti8993 2 жыл бұрын
Could this be done on the Pi pico using Python?
@espelett
@espelett 2 жыл бұрын
No, the Raspberry doesn't have any ADC.
@fasti8993
@fasti8993 2 жыл бұрын
@@espelett I'm not talking about the Raspberry Pi, I'm talking about the Pi Pico, the new microcontroler from the released by the Pi foundation. It does have ADCs
@espelett
@espelett 2 жыл бұрын
Oh, I don't know this model, and this technique require a very good knowing of the ADC and its multiplexer. Anyway, I wouldn't use Phyton (even the Arduino language is quite inadequate, this is just an experiment).
@bimokayoba
@bimokayoba 7 ай бұрын
i am getting electrical shocks when touching the sensor, please help
@EveronesInvited
@EveronesInvited 17 күн бұрын
Lick your fingers first
@nielsgrote
@nielsgrote 2 жыл бұрын
great but music terrible ;-)
@espelett
@espelett 2 жыл бұрын
You're absolutely right, but it's necessary to mask the artificial voice.
@yoashuain1
@yoashuain1 Жыл бұрын
The outcome is hidden. Who knows if this would work?
@espelett
@espelett Жыл бұрын
The video starts and ends with the circuit working. Which part are you missing?
@JarppaGuru
@JarppaGuru 4 ай бұрын
5:20 why? is not measure what touchplate ghive normal then know if it touched. why need A0 LOL
Arduino Capacitive Touch-Free Touch Sensor Tutorial
31:12
Playful Technology
Рет қаралды 23 М.
Breadboard capacitive touch sensor tutorial
15:13
FriendlyWire
Рет қаралды 83 М.
Дибала против вратаря Легенды
00:33
Mr. Oleynik
Рет қаралды 3,3 МЛН
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 65 МЛН
Каха ограбил банк
01:00
К-Media
Рет қаралды 10 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
DIY Capacitive Touch PCBs
24:57
sjm4306
Рет қаралды 24 М.
TTP223 Capacitive Touch Switches
9:18
Simple Electronics
Рет қаралды 80 М.
SparkFun Engineering Roundtable 9-24-12: Capacitive Sensing with Chris Taylor
9:42
Capacitive sensor, Theory, application and design
6:56
Silicon Soup
Рет қаралды 314 М.
Sensors - which one to use
17:06
Electronoobs
Рет қаралды 1,3 МЛН
How Capacitive Touch Screens Work
6:15
Tom Hebb
Рет қаралды 156 М.
Arduino diy battery tester
8:03
Esperienze elettroniche
Рет қаралды 10 М.
DIY haptic input knob: BLDC motor + round LCD
2:11
scottbez1
Рет қаралды 2,1 МЛН
Teensy Audio without the Shield - Using ADC, DAC, DUAL PWM
10:30
Gadget Reboot
Рет қаралды 19 М.
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
CY Superb Earphone 👌 For Smartphone Handset
0:42
Tech Official
Рет қаралды 823 М.
Lid hologram 3d
0:32
LEDG
Рет қаралды 7 МЛН