Тёмный

Arduino Capacitive Touch Sensing! 

LeMaster Tech
Подписаться 16 тыс.
Просмотров 9 тыс.
50% 1

Capacitive touch is a common tool used in touch screens and smart phones, and Arduino has an easy library to utilize capacitive touch sensors!
In this tutorial we show how to light up two different LED sensors, one for light touch and one for firm touch!
The code shown in this project can be found here:
github.com/ple...
The Arduino beginner kit can be found here:
amzn.to/3Hr9VKx
Or just get an Arduino Board if you have the rest!
amzn.to/426T9s7
Consider becoming a super supporter at our Patreon link!
/ lemastertech
Thanks for watching, don't forget to leave a like on the video and subscribe to the channel, and leave a comment with any questions you may have or to suggest future content!

Опубликовано:

 

6 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 16   
@flioink
@flioink Год назад
Just recently finished the chess tutorial and was pleased that I got the pieces movements logic without too much head-scratching. Definitely thumbs up from me:) Gonna do several of these in one go whenever I got some time.
@lemastertech
@lemastertech Год назад
Nice man thanks for watching and glad you liked it!! I’ve got a big pygame one coming for next Monday’s video 😊 cheers mate!
@YoupiMatos2
@YoupiMatos2 Месяц назад
Thanks a lot ! I'm wondering, sometimes it seems like the sensor gets overwhelmed? Instead of reading 30 times a second it stops at about one per second, reading super high values in the 280000. I don't know what's causing it? Thanks for the tutorial though it works when it's not lagging like that.
@lemastertech
@lemastertech Месяц назад
Hi I am sorry I have not encountered that behavior before!
@xpoweral
@xpoweral 8 месяцев назад
Hello! First of all, thank you for the video; you explain the project well and clearly. I would like to create it too, but I only have D1 Mini microcontrollers at home. Before starting the project, I would like to know if the presented library works with this microcontroller, and whether I should use the recommended 1 megaohm resistor you suggested or replace it with a different value. The D1 Mini has digital pins operating at 3.3 volts. Thank you for your help.
@lemastertech
@lemastertech 8 месяцев назад
Hello, I am not sure if this library will work for those specific microcontrollers but if they can be programmed with the arduino IDE than the odds are they probably will still work!
@eguvweyugbos245
@eguvweyugbos245 8 месяцев назад
hi, i followed step by step to do this, but mine isnt working. The board lights up when i plug in my arduino and upload the sketch, indicating that everything is fine, but when i touch the wire, it doesnt light up. I tried changing the ohms, maybe i put the wrong ones, but nothing. i know the LEDs are fine, because they light up when i first plug in. My serial monitor shows that its "0" and when i touch the sensor, the number goes up, but no lights on the LEDs.
@lemastertech
@lemastertech 8 месяцев назад
Hi - sorry this is a tricky one to help with without seeing your circuit. Have you been able to try a few different input pins on your arduino to make sure you don’t have just one bad pin/connection?
@MrWrestler500
@MrWrestler500 6 месяцев назад
Hello, I’m using this cord and build to analogwrite a cord to the value of the capacitor. For some reason, no matter how hard I press on the wire it does not change from 0. Could you help me?
@lemastertech
@lemastertech 6 месяцев назад
Hi, you wouldn’t analog write a value to a capacitive sensing input you would read the analog value back!
@MrWrestler500
@MrWrestler500 6 месяцев назад
@@lemastertech Yes so the goal was to use the capacitive sensors as a start and end, but all it’s returning js zero, my guess was that I don’t have enough resistance for a change to be noticed but I’m not sure how to implement that
@MrWrestler500
@MrWrestler500 6 месяцев назад
@@lemastertech Ok sorry so i figured it out and I hooked two up. I touched them both together by accident and now only one works. Did I fry the circuit or a wire?
@lemastertech
@lemastertech 6 месяцев назад
hi most likely you damaged either the wire/sensor you were using or damaged the Digital input pin you were connected to - if you try different input pins on the arduino and it still doesn't work probably fried a wire or sensor@@MrWrestler500
@MrWrestler500
@MrWrestler500 6 месяцев назад
@@lemastertech Thank you so much, I switched the pin and upped the resistance and it worked. Is there a reason using two different fingers to touch both capacitive sensors fried if
@年知ろはると
@年知ろはると 28 дней назад
why is my sensor reading 0?
@lemastertech
@lemastertech 27 дней назад
It could be quite a few different things! You can try a new sensor and if the problem persists try a new board and if the problem persists it’s probably your code to be honest!
Далее
Breadboard capacitive touch sensor tutorial
15:13
Просмотров 90 тыс.
Blue vs Green Emoji Eating Challenge
00:33
Просмотров 7 млн
DIY Capacitive Touch PCBs
24:57
Просмотров 26 тыс.
How to make Mini Plotter V1
7:46
Просмотров 3,5 тыс.
Arduino Capacitive Touch-Free Touch Sensor Tutorial
31:12
How Capacitive Touch Screens Work
6:15
Просмотров 158 тыс.
Diy touch sensors
9:25
Просмотров 38 тыс.
Easy Arduino Tutorial: #1 Basics
10:07
Просмотров 629
TTP223 Capacitive Touch Switches
9:18
Просмотров 85 тыс.