Skip to content
0:00 / 0:00

#arduino#debouncing#switchbounce

Bouncy Button - Tutorial

Adam Fraser-Kruck

46 subscribers • 2 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.
  • Presented by Adam Fraser-Kruck
  • Linked in the descriptionadamfk/bouncy-button

Intermediate. Assumes working knowledge.

26 views2 years ago1 recommendation

HardwareSystems programmingEmbedded systemsElectronics

Adam Fraser-Kruck demonstrates how to set up, wire, and analyze switch bounce data using the Bouncy Button tool.

Project: github.com/adamfk/bouncy-button/ Chapters: Arduino install Example switch & wiring Setup bouncy-button Recording data Data analysis Sharing your data

Why it's here

1 person recommends this

What people say. Recommended as a tutorial for using the Bouncy Button tool to analyze switch bounce.

u/a-d-a-m-f-kin r/embedded • Recommends

On “Sometimes 50ms isn't enough. An open source tool for switch bounce experiments. Mostly for curiosity.”

TLDR - You don't need this, but it is cool. A high performance AVR (Arduino Uno) program for switch bounce experiments. Detects pulses as short as 62.5ns. Rivals fancy oscilloscopes for this *one* purpose. If you prefer video to text, this 12 minute video demos the project, and analyzes both a nasty switch and a great one. I used to think that a healthy switch would bounce for 20ms or less. Surely it would never bounce more than 50ms. Then a switch I was using for a project bounced way more! The switch hadn't been used before, so I checked my wiring and brought out my scope. The switch barely bounced at all for the next 10 presses. Okay, chalk it up to gremlins. On a whim, I pressed it 5…