Arduino UNO R4 Lesson13 - Hardware Interrupts | Debouncing a Button

preview_player
Показать описание
Master the power of hardware interrupts in this exciting lesson of the Arduino UNO R4 - Ultimate Training series! Join Joed Goh as he dives deep into:

* Implementing hardware interrupts for real-time responsiveness
* Writing efficient interrupt service routines (ISRs)
* Utilizing the volatile keyword for accurate data handling
* Debouncing techniques to eliminate button bouncing issues

Level up your Arduino skills and unlock the potential for more interactive and efficient projects!
------------------------------------------------------------------------------------------------------------------
Where to buy?
SunFounder Ultimate Sensor Kit with Original Arduino Uno R4 Minima

SunFounder 3 in 1 Ultimate Starter Kit with Original Arduino Uno R4 Minima

SunFounder Elite Explorer Kit with Original Arduino Uno R4 WiFi

Amazon US
SunFounder Ultimate Sensor Kit with Original Arduino Uno R4 Minima -
SunFounder Ultimate Starter Kit with Original Arduino Uno R4 Minima -

SunFounder Official Website:

------------------------------------------------------------------------------------------------------------------
TABLE OF CONTENTS
00:00 Introduction
02:24 Materials
02:52 Circuit Connection
03:18 Interrupt
05:16 Sample code without a hardware Interrupt
09:35 Hardware Interrupts
16:52 Interrupt Service Routine (ISR)
20:23 Debouncing a button
23:27 Challenge Activity

Arduino UNO R4 Lesson12 - millis Function | Handling Multiple Tasks | Non-Blocking Code

Arduino UNO R4 Lesson11 - Servo Motor | Single-Axis Solar Tracker using Photoresistors

Arduino UNO R4 Lesson06. How to Read Analog Sensors? Potentiometer | Bits, Bytes, & Binary Numbers

PWMServo Library

------------------------------------------------------------------------------------------------------------------
PLAYLISTS:
Arduino UNO R4 Minima Ultimate Training Course

Arduino UNO R4 WiFi - IoT Development Training Course

SunFounder Kit Product Review

Designing Database Solutions with Microsoft SQL Server 2019

Artificial Intelligence and Machine Learning Foundations

IoT Development

Android App Development in Kotlin

Embedded Systems using Arduino Uno

Data Structures and Algorithms using C#

References:

#SunFounder #arduino #interrupts #ISR #trafficlight #button #millis #servomotors #servo #multitasking #debounce
Рекомендации по теме
Комментарии
Автор

Just wanted to say a quick apology for the delay in getting Lesson 13 out! It's been almost 2 months since Lesson 12, and I know many of you were eagerly waiting. Some important works pushed things back a bit.

The good news is Lesson 13 is finally here, and we're diving into the exciting world of hardware interrupts! I hope you find it informative and helpful. As always, feel free to leave any questions or comments below. Thank you!

joedgoh
Автор

I've been binging your videos. They are really nice and informative.

May we also have a tutorial about RTOS? Along with interrupts, I think this is also a very good and must see for beginners like us since we are stuck in a somewhat "linear" flow of our programs for our projects.

I'm subscribing, hoping to see more content from you especially other micro controllers like STM32 and ESP32 even tackle other peripherals/lines like CAN and DMA. Thanks for the video!

mosquitar
Автор

wow this very clear explanation, thanks a lot

Subagyo-Tepil
Автор

I love the video. It works great as long as i don't hold the button down for a bit. If I do, it interrupts when I finally release the button. Trying to find a way to prevent that.

davidgorman
Автор

nice video sir. Do you also have a hardware and database interaction crash course?

jiveian
Автор

I'm using atmega and stepper driver for nema42. The problème I'm facing is big interférences wich disturbs arduino. Inputs become random even i use an external pullup resistor of 10k. The project works perfectly when the motor is off. How to fix EMI in this case. Note that in my project, i'm using two motors, a stepper nema42 and a 0.5kw 3 phase motor.

ah
Автор

Too late video. your videos are good for students

naeemhaq
Автор

"Thank you for your effort! Sir! I've sent you an email about mt project and I'm eagerly awaiting your response. ✨

bahaatouaima