Reading Inputs with Pull Up & Pull Down

Shows how to read switches and sensor connected to Arduino.

Aug 15, 2020

14779 views

0 respects

Components and supplies

1

Arduino UNO

2

Tactile Switch, Top Actuated

2

Resistor 4.75k ohm

1

Breadboard (generic)

2

5 mm LED: Red

Apps and platforms

1

Arduino IDE

Project description

Code

Switch Interface

arduino

Switch Interface

arduino

Downloadable files

Interfacing Switch

Interfacing Switch

Comments

Only logged in users can leave comments

doug999

a year ago

Confused. Why are you using physical resistors ? Cannot this be done using software ? PULLUP