---
title: "Discussion on \"Button Debouncing Explained: Why One Press Counts as Three (and How to Fix It)\" | Hashnode"
description: "Discussion on \"Button Debouncing Explained: Why One Press Counts as Three (and How to Fix It)\". Mechanical switches bounce for a few milliseconds every press. What that looks like on a scope, and three ways to debounce: a delay, millis(), and an RC filter."
url: "https://hashnode.com/posts/button-debouncing-explained-why-one-press-counts-as-three-and-how-to-fix-it/6af40ee8ca94bb8c2ed21079"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Button Debouncing Explained: Why One Press Counts as Three (and How to Fix It)](https://digicirq.hashnode.dev/button-debouncing-explained-why-one-press-counts-as-three-and-how-to-fix-it?utm_source=hashnode&utm_medium=feed)

Mechanical switches bounce for a few milliseconds every press. What that looks like on a scope, and three ways to debounce: a delay, millis(), and an RC filter.

15h ago · 4 min read · digicirq.hashnode.dev  
Read the article

-   [#arduino](https://hashnode.com/tag/arduino)
-   [#electronics](https://hashnode.com/tag/electronics)
-   [#embedded-systems](https://hashnode.com/tag/embedded-systems)
-   [#beginnersguide](https://hashnode.com/tag/beginnersguide)

## Written by

[DigiCirq](https://hashnode.com/@digicirq)

@digicirq

  
[View profile](https://hashnode.com/@digicirq)

Electronics, explained one circuit at a time. Written guides to every DigiCirq video.

DigiCirq is a faceless, diagram-only channel: short animated explainers on how electronics, Arduino, microcontrollers and the apps on your phone really work. Each post here is the written guide to one video, with the numbers worked out and something to try on your own bench. Videos: youtube.com/@digicirq

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
