---
title: "Discussion on \"What Does a Pull-Up Resistor Do? (And Why Your Button Reads Random Values Without One)\" | Hashnode"
description: "Discussion on \"What Does a Pull-Up Resistor Do? (And Why Your Button Reads Random Values Without One)\". A pull-up resistor gives an input pin a definite voltage when nothing drives it. Why a floating pin reads garbage, what value to use, pull-up vs pull-down."
url: "https://hashnode.com/posts/what-does-a-pull-up-resistor-do-and-why-your-button-reads-random-values-without-one/6af40e3b3c58d14c01ea3cee"
---

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

Discussion

# [What Does a Pull-Up Resistor Do? (And Why Your Button Reads Random Values Without One)](https://digicirq.hashnode.dev/what-does-a-pull-up-resistor-do-and-why-your-button-reads-random-values-without-one?utm_source=hashnode&utm_medium=feed)

A pull-up resistor gives an input pin a definite voltage when nothing drives it. Why a floating pin reads garbage, what value to use, pull-up vs pull-down.

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.
