Microcontrollers - AVR Atmega32 - Understanding Button Debouncing

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
4,945
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 18, 2011

Official Page with More Information:
http://newbiehack.com/UnderstandingButtonDebouncing.aspx

This is the ninth in a video series aimed to give a tutorial on the popular Atmel AVR Atmega32 microcontroller. In this video a we investigate the effects of button debouncing using two LEDs and toggling these LEDs back and forth.

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (anajonesr)

  • yes, in fact if you wish to see if there is a signal you can put a led + a resistor......

  • @somebody301 Good tip.

    Another good investment is a logic analyzer. I actually have one of those and it's great to see if serial communication is actually happening. They usually come with many leads to probe multiple legs. I may get into that in the uart tutorial. A good project may even to create one from scratch and show the result on the LCD. Hmm!!

  • oh really? so it's better to wait..... ok thanks.

  • @somebody301 Yeah, I wouldn't invest in anything until you see a need for it. Even an oscilloscope is handy but not an absolute necessity.

  • so a pc oscilloscope is less than $400. it's fine. What about wave gen? Do you know any cheap brand?

  • @somebody301 I don't use a wave generator... yet!

see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • Okay I have a quick question. Wouldn't a rectifier diode work better for dealing with the reverse voltage caused by a switch? 

  • noob question here.

    Can i use any micro controller with the programming language that you are using?

    (with a different programmer) and if i'm right the micro controller is enough of a resistor to not short the circuit right? since you connected the button to ground.

  • Man I love how fast you can draw!

  • @anajonesr sounds great.... but another project would be a ac/dc pannel amp meter, whit lcd display. Ac amp meters are very unusual, and if you find one it'll cost a lot of money, so remember to put some fuses if you are going to make it.....

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more