Arduino (Leonardo Pro Micro) push button tutorial on breadboard with LED and buzzer

Arduino (Leonardo Pro Micro) push button tutorial on breadboard with LED and buzzer

Arduino (Leonardo Pro Micro) push button tutorial on breadboard with LED and buzzer

"Push button" are used in wide variety of electronic applications. It can be found almost in every electronic and electrical appliance. Be it your phone or your car. In this tutorial, we are going to use a simple push button with Arduino. Along with it, we will also be using an LED to blink it. We will program circuit such that when the button is pressed, then it will glow the LED connected to our Arduino Leonardo Pro Micro. In this tutorial, we are just controlling one LED with push button. You can extend it and attach multiple LED and buttons. In further lessons, we will use the same circuit and replaced LED with buzzer. So when the user presses the push button, the buzzer would make the sound. For this tutorial we will be needing following bill of materials:

  • Half Size Breadboard - 1
  • Blue LED - 1
  • 270 Ohm Resistor - 1
  • Arduino Leonardo Micro - 1
  • Push Button - 1
  • Buzzer - 1
  • Single Core Wire
  • Wire Stripper - 1
  • Nose Plier - 1
  • Micro USB Cable - 1

If you don't have the components, you can buy it from the below links (Most of the general components like LED and wire, you can easily get from local market. I am just listing out the important and specific components).

For USA :
Buzzer : Uxcell a12081600ux0477 12 mm Diameter 5 Piece DC 5V 2 Terminals Electronic Continuous Sound Buzzer
Push Button : 10 Pcs 2Pin Momentary Tactile Tact Push Button Switch Black 6x6x5mm
Half Size Breadboard : microtivity IB400 400-point Experiment Breadboard
Arduino Leonardo Pro Micro : Arduino Leonardo Pro Micro
Micro USB cable : Micro Usb Cable
If you want then you can get rest of the components from : Amazon USA Store

For India :
Buzzer : Robo India PBUZZ5 Pizo Buzzer, Set of 5
Push Button : 2 Pin Tactile Switch micro - Push to ON button (Pack of 10) by OL ELECTRONICS
Half Size Breadboard :Solderless Breadboard with 400 Tie-Point (White)
Arduino Leonardo Pro Micro : xcluma Atmega32U4 5V/16M Mini Leonardo Pro Micro Arduino Compatible
Micro USB Cable : Universal Micro USB Flat Data Cable -Rock Original-Grey
If you want then you can get the rest of the components from : Amazon India Store

Click on the first lesson below to get started.

, , , , , , , , , , , , , ,