A Touch of Innovation: ESP32's Touch Interrupt!

  Рет қаралды 4,644

Programming Electronics Academy

Programming Electronics Academy

Күн бұрын

Пікірлер: 12
@andrea-mazzilli
@andrea-mazzilli Жыл бұрын
your videos are very explanatory and clear! good job and keep going! we need more
@programmingelectronics
@programmingelectronics Жыл бұрын
Thanks! Will do!
@pjforde1978
@pjforde1978 8 ай бұрын
This is a great video, but I was sincerely hoping that you'd address how to use Touch14 for active shielding. It's the most under-documented aspect of this whole ESP32 capacitive touch landscape. (See page 23 of the ESP32-S3 hardware design guidelines, section 3.12)
@robertrobert5583
@robertrobert5583 11 ай бұрын
Not on topic, but not sure where else to ask! I see references to struct in sketches (eg esp_now) and I wonder what they are and how they differ from classes. I've tried to Google and asked chatgpt but find the explanations rather technical. If you could cover this in a future video that would be great. Thanks for all your superb videos.
@programmingelectronics
@programmingelectronics 11 ай бұрын
Thanks Robert! structs essentially help you organize and collect variables into a single "entity" They "sound" sort of technical, but are in usage superduper easy and fun to implement. Not sure if you're a PEA academy member or not, but in our pointers course we talk about using structs, and passing them to functions. I'll see if I can get something out about them on KZbin. All the best!
@TheEngadine
@TheEngadine Жыл бұрын
🤔 I guess it could be used in those lamps with a long metallic stem whose luminosity can be rosen or diminished just by touching the stem continously or by little spaced touches. No?.
@programmingelectronics
@programmingelectronics Жыл бұрын
Definitely!
@learninglad9032
@learninglad9032 6 ай бұрын
This interrupt is for touch. Is there one for release?
@mortimersnead5821
@mortimersnead5821 Жыл бұрын
Could this be used to make a theremin?
@robertherzog2087
@robertherzog2087 Жыл бұрын
Your demo implies the touch pin suffers from a bounce effect like a button. Would you use the same debounce routine as you would a button? I frequently use a Schmitt trigger for this. Would a Schmitt trigger function in the same way for both?
@TheSelfUnemployed
@TheSelfUnemployed Жыл бұрын
i use something like this to debounce the button press: volatile bool touchDetected = false; volatile unsigned long lastTouchTime = 0; const unsigned long debounceDelay = 50; // Adjust as needed void handleTouch() { unsigned long currentMillis = millis(); // Check if it's been enough time since the last touch if (currentMillis - lastTouchTime >= debounceDelay) { // Record the time of this touch lastTouchTime = currentMillis; // Set the flag to indicate a valid touch touchDetected = true; } }
@robertherzog2087
@robertherzog2087 Жыл бұрын
I thought the use of millis() was not valid in an ISR routine.
The ESP32 Wake-Up Call: Exploring External Triggers in Deep Sleep Mode (ext1)
26:32
Programming Electronics Academy
Рет қаралды 9 М.
#328 ESP32 Secrets: Interrupts, and Deep-Sleep under the Hood
18:57
Andreas Spiess
Рет қаралды 178 М.
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 8 МЛН
ТЫ В ДЕТСТВЕ КОГДА ВЫПАЛ ЗУБ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 4,3 МЛН
What I Learned from Letting AI Write My Microcontroller Code
32:35
12 Mind-Blowing ESP32 Projects to try in 2024!
8:50
ToP Projects Compilation
Рет қаралды 188 М.
Get started with ESP32 touch buttons [Code and Wiring Diagram Included]
15:20
Programming Electronics Academy
Рет қаралды 7 М.
Beyond the Zzz's: ESP32's External Wake-Up in Deep Sleep Explored
14:05
Programming Electronics Academy
Рет қаралды 9 М.
If __name__ == "__main__" for Python Developers
8:47
Python Simplified
Рет қаралды 414 М.
Understanding Arduino Interrupts | Hardware, Pin Change & Timer Interrupts
48:17
Timer Interrupt ISR + Examples | Arduino101 | Set Registers & Modes
16:13
Forget WiFi! This Wireless Method is WAY Better?
12:14
GreatScott!
Рет қаралды 677 М.
How to Use Arduino Interrupts The Easy Way
33:28
Rachel De Barros
Рет қаралды 91 М.