Skip to content

Push buttons

How a push button opens and closes a circuit, the difference between normally open and normally closed buttons, and where buttons show up every day.

Step 5 of 8 in Part 3: Push buttons

← Workshop 2 lessons
All lessons in Workshop 2

Part 1: Getting started

  1. 1 Welcome and what you'll need
  2. 2 Review: Workshop 1 basics

Part 2: Potentiometers

  1. 3 Potentiometers
  2. 3.1 Task 1: Potentiometer circuit

Part 3: Push buttons

  1. 4 Push buttons
  2. 4.1 Task 2: Button circuit

Part 4: Capacitors

  1. 5 Capacitors
  2. 5.1 Task 3: Capacitor circuit

What is a button?

A button (also called a push button) is a type of switch. A switch is any part that can open or close a circuit, allowing or stopping the flow of current.

A button is a momentary switch: it only changes the circuit while you're pressing it. Let go, and it springs back to its normal state.

Symbol Image
Push button circuit symbol: two contacts with a bar above them that is pushed down to connect them A small four-legged breadboard push button

How a button works

  • Press the button, and its contacts touch, making an electrical connection. The circuit is closed, so current flows.
  • Release the button, and the contacts separate. The circuit is open, so current stops.

A normally open button: its contacts are apart when not pressed, and touch, closing the circuit, when pressed

Normally open and normally closed

  • Normally Open (NO): the circuit is open by default, so nothing is connected. Pressing the button closes it.
  • Normally Closed (NC): the circuit is closed by default. Pressing the button opens it.

You'll use normally open buttons in this workshop: the LED is off until you press the button.

With and without a button

Without a button, the LED is on whenever the battery is connected. Put a button in series, and the LED only lights while you hold it down. (The schematics are labeled 5 V; your 3 V batteries work the same way.)

Breadboard Schematic
Without a button Breadboard circuit with a battery, a 1 kΩ resistor and an LED: the LED is always on Schematic without a button: a 5 V source, a 1 kΩ resistor R1 and LED D3 in one loop
With a button Breadboard circuit with a battery, a 1 kΩ resistor, a push button and an LED in series Schematic with a button: a 5 V source, a 1 kΩ resistor R1, a button and LED D3 in one loop

What buttons do in circuits

  • User input: a button lets a person send a signal to an electronic system, like turning a device on, resetting it, or triggering an event.
  • Control flow: a button is a gate for electricity. A normally open button is ON while pressed and OFF when released.
  • Talking to computers: buttons are often connected to the inputs of microcontrollers like an Arduino or Raspberry Pi, so a program can tell when someone presses them.

Think about it

What are some buttons you use every day? Here are a few to start you off.

Doorbell Microwave Remote
A doorbell button A microwave keypad full of buttons A TV remote control covered in buttons