ARDUINO TUTORIAL LESSON FOR BEGINNERS LESSON 1: CONTROLLING LED BY BUTTON

Channel:
Subscribers:
1,830
Published on ● Video Link: https://www.youtube.com/watch?v=_FKUegnZ9eU



Category:
Tutorial
Duration: 9:58
667 views
7


#Arduino #ArduinoLED #ControlLEDByButton

In this lesson, we are going to tackle the theory behind the control of an LED using a button, you will also see how we build the circuit, and compile and upload the program (code) to the Arduino UNO.

Reference: https://www.makerlab-electronics.com/

Step by Step Tutorial: https://e-boombots.com/lesson-1-controlling-led-by-button/
Learn about the Arduino Kit: https://youtu.be/S2Hd-TeijnU
My Collection of Boards and Sensors: https://youtu.be/sEn6LZP_mi0
Lesson 0: Installing Arduino : https://youtu.be/AUZmojEBXIA
Best IoT Project: https://youtu.be/lZsEdkC4A3g

Lesson 1 Controlling LED by Button

INTRODUCTION
In this experiment, you will learn how to turn on/off an LED by using an I/O port and a button. The "I/O port" refers to the INPUT and OUTPUT port. Here the INPUT port of the Arduino Uno board is used to read the output of an external device. Since the board itself has an LED (connected to Pin 13), so you can use this LED to do this experiment for convenience.

Components
- 1 * Arduino Uno board
- 1 * USB cable
- 1 * Button
- 1 * Resistor (10kΩ)
- Jumper wires
- 1 * Breadboard

PRINCIPLE
Buttons are a common component used to control electronic devices. They are usually used as switches to connect or disconnect circuits. Although buttons come in a variety of sizes and shapes, the one used here is a 12mm Tactile button as shown in the following pictures. Pins pointed out by the arrows of same color are meant to be connected.

When the button is pressed, the pins pointed by the blue arrows will connect to the pins pointed by the red arrows. Generally, the button is directly connected in an LED circuit in order to turn on or off the LED. This connection is relatively simple. However, sometimes the LED will light up automatically without pressing the button, which is caused by various interferences. In order to avoid these external interferences, a pull-down resistor is used, that is, to connect a 1K–10KΩ resistor between the button port and GND. It is used to consume external interferences while connected to GND for as long as the button switch is turned off. This circuit connection is widely used in numerous circuits and electronic devices. For example, if you press any button on your mobile phone, the backlight will light up.

STEPS TO FOLLOW:
1. Build the Circuit
2. Program (Please refer to the example code.
3. Compile the Code
4. Upload the Sketch to the Arduino Board

I have recommended stores where you can buy the components:

https://e-boombots.com/
https://www.makerlab-electronics.com/
https://www.e-gizmo.net/oc/index.php

Related searches:
controlling led by button
controlling led by button arduino
control led by button
arduino button tutorial
arduino button led stays on
arduino button led
arduino button switch mode
arduino button code
arduino button box
arduino button on off switch
arduino button long press

Join this channel to get access to perks:
https://www.youtube.com/channel/UCEoNaDH6R_Iu8ee58-hsGxQ/join

Follow our social media accounts:

Facebook: https://www.facebook.com/kringgidz
Facebook: https://www.facebook.com/gideongasulasbuniel
Website: https://e-boombots.com/
Instagram: https://www.instagram.com/gideongbuniel/
Twitter: https://twitter.com/KringxG
Tumbler: https://www.tumblr.com/blog/kringxgidz
Pinterest: https://www.pinterest.ph/KringxGidz
Linkedin: https://www.linkedin.com/in/gideon-buniel-118bb35a/




Other Videos By Gideon Buniel


2021-06-07ARDUINO TUTORIAL LESSON FOR BEGINNERS LESSON 3: INTERACTIVE LED FLOWING LIGHTS
2021-06-05How running LEDs work using Potentiometer and Arduino #Shorts #Trending #Viral #Technology
2021-06-05Controlling LED by Pulse Width Modulation #Shorts #Arduino #ArduinoTutorial
2021-06-05ARDUINO TUTORIAL LESSON FOR BEGINNERS LESSON 2: CONTROLLING LED BY PULSE WIDTH MODULATION (PWM)
2021-06-04My Anime Collection #Shorts #Anime #OnePiece #BlackPink #BlackPinkAlbum #DemonSlayer #Viral #Trend
2021-06-03The Smartest Way of Opening a Meatloaf or Beefloaf Can #Shorts #Hacks #LifeHacks
2021-06-03BLACKPINK ALBUM AUGMENTED REALITY #SHORTS #BlackPink #BlackPinkAlbum
2021-06-03THE SMARTEST WAY TO OPEN A MEATLOAF OR BEEFLOAF CANNED GOODS #Shorts
2021-06-03THE LEGEND OF PORK AND BEANS #Shorts
2021-06-03OH NO! BEATBOX AND SINGING COVER #Shorts #OhNo #BeatBox
2021-06-02ARDUINO TUTORIAL LESSON FOR BEGINNERS LESSON 1: CONTROLLING LED BY BUTTON
2021-06-01ARDUINO TUTORIAL LESSON FOR BEGINNERS LESSON 0: INSTALLING ARDUINO
2021-05-30SURPRISING MY GIRLFRIEND WITH A BLACKPINK ALBUM
2021-05-29i-Detect: IoT Voice-Activated Home Automation with Smoke and Fire Detection and Mitigation System
2021-05-19ARDUINO TUTORIAL FOR BEGINNERS: THE ARDUINO UPGRADED LEARNING KIT FOR ROBOTICS AND DIY PROJECTS
2021-05-17STEEL STORAGE RACK / WORKBENCH TIMELAPSE ASSEMBLY | ACE HARDWARE HAMMER RACK SIZE 30"W x 12"D x 60"H
2021-05-11ARDUINO BOARDS AND SENSORS INTRODUCTION | CLEANING A SHELF OF MICROCONTROLLERS AND SENSORS
2021-05-04DO-IT-YOURSELF (DIY) TUNA FISH GRILLING | HOW TO GRILL TUNA FISH WITHOUT AN ACTUAL GRILLER (IHAWAN)
2021-05-024K | A BEAUTIFUL AFTERNOON RIDE IN SURIGAO CITY, PHILIPPINES
2021-04-26GUESS THESE YOUTUBERS
2021-04-23LUMABAN PEAK - SHORT HIKE IN THE PHILIPPINES | SITIO LUMABAN, BARANGAY RIZAL, SURIGAO CITY



Tags:
controlling led by button
controlling led by button arduino
control led by button
arduino button tutorial
arduino button led stays on
arduino button led
arduino button switch mode
arduino button code
arduino button box
arduino button on off switch
arduino button long press