JeremyBlum.com

v3.1

Tutorial 10 for Arduino: Interrupts + Debouncing

| 149 Comments

This video was featured on Hackaday.com on 3/8/2011
This tutorial was featured on the official Arduino blog on 3/9/2011

Interrupts are an extremely useful, yet often feared element of microprocessors. Interrupts allow you to run a program, while still being able to react to asynchronous input from the outside world. On many platforms they can be confusing to implement, but the arduino makes it easy! In this week’s episode, I’ll show you how to use a hardware-debounced button to activate a hardware interrupt on the arduino. I’d suggest you go check out episode 2, where I initially introduced button debouncing, if you haven’t already. I won’t be covering timer interrupts in this episode, since I recently wrote an extensive blog post about using them. Enjoy the video!

EDIT: You can find a great run-down of debouncing techniques and problems here: http://www.ganssle.com/debouncing.htm (Thanks Jope)

 

You can download the files associated with this episode here:

GNU GPL License Distributed under the GNU General Public (Open-Source) License.
Please Attribute and Share-Alike.

149 Comments

  1. Pingback: Arduino Interrupts and Debouncing -Arduino for Projects

  2. Pingback: Re-programmable IR Camera Remote for Sony NEX-5 | Mayank Joneja

  3. Pingback: [Arduino #23] Interrupts | Curious Seyoung

  4. Pingback: Arduino Mini-Shields -Use Arduino for Projects

  5. Pingback: We’ve Got Mail | bitknitting

Leave a Reply

Required fields are marked *.


This site uses Akismet to reduce spam. Learn how your comment data is processed.