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

Teacher
Vivek Gupta
Vivek Gupta
Role : Writing free tutorials in free time
  • Website : http://vsgupta.in/
  • Experience : 5+ Years
  • Specialist in : IoT, NLP, Machine Learning, Chatbots, Voice Assistants, Hardware Engineering
Read More

Setting up,programming and output of push button on breadboard with Arduino Leonardo Pro Micro and Buzzer

Introduction

This tutorial is in continuation with "http://iotmonk.com/lessons/setting-up-push-button-on-breadboard-with-arduino-leonardo-pro-micro-and-led/" . Now, we will just replace the LED on the breadboard which is attached to pin no 10 of arduino leonardo pro micro, and replace it with a buzzer. Just follow the "blue dots" along with the step in the tutorial. Keep this circuit diagram handy and tally it with your circuit diagram.

circuit-diagram-buzzer-arduino-leonardo-push-button

circuit-diagram-buzzer-arduino-leonardo-push-button

  1. Now, remove the LED and resistor from the breadboard which you made in previous tutorial. Refer the below image.
Arduino-Leonardo-Tutorial-on-buzzer-and-switch-stepwise (1)

Arduino-Leonardo-Tutorial-on-buzzer-and-switch-stepwise (1)

2. Your breadboard should look like this:

Arduino-Leonardo-Tutorial-on-buzzer-and-switch-stepwise (2)

Arduino-Leonardo-Tutorial-on-buzzer-and-switch-stepwise (2)

3. Then take your buzzer and place it in the following manner. Make sure that there is enough space for further connections on the breadboard.

Arduino-Leonardo-Tutorial-on-buzzer-and-switch-stepwise (3)

Arduino-Leonardo-Tutorial-on-buzzer-and-switch-stepwise (3)

Arduino-Leonardo-Tutorial-on-buzzer-and-switch-stepwise (4)

Arduino-Leonardo-Tutorial-on-buzzer-and-switch-stepwise (4)

4. Now Connect the -ve pin of buzzer in -ve rail of breadboard as shown in the below image.

Arduino-Leonardo-Tutorial-on-buzzer-and-switch-stepwise (5)

Arduino-Leonardo-Tutorial-on-buzzer-and-switch-stepwise (5)

5. Now connect the +ve terminal of buzzer to the pin number 10 of Arduino Leonardo pro Micro.

Arduino-Leonardo-Tutorial-on-buzzer-and-switch-stepwise (6)

Arduino-Leonardo-Tutorial-on-buzzer-and-switch-stepwise (6)

The same program which we did for the tutorial "Arduino Leonardo Micro Pro with led and switch" will work for this tutorial. If your circuit on breadboard is ok, then it should show the following output.

Hope you enjoyed the tutorial. We will be moving to more advanced hardware in the upcoming tutorials. Cheers!

Please login to get access to the quiz
Arduino Leonardo Pro Micro Button with LED, Programming and Output (Prev Lesson)
Back to Arduino (Leonardo Pro Micro) push button tutorial on breadboard with LED and buzzer

No Comments

Post a Reply