Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.
Connecting and using a Push button with an Arduino UNO.
0 Views • Dec 08, 2024
Description
Welcome to Learning Microcontrollers youtube Channel,
Guys I have also compiled course on Udemy as well. Where you will learn under my direct supervision in a more supervised way.
Here is the links to the courses I have on Udemy, By taking any of these courses you will be supporting my channel aswell.
This will help me to make more videos with better hardware in the future. I hope you look forward to it.
Courses Links:
1- https://www.udemy.com/course/pic16f877a-interface-lm35-temp-sensor-mikroc-collection
2- https://www.udemy.com/course/mikroc-for-pic-libraries-with-examples-using-pic16f877a-mcu
3- https://www.udemy.com/course/mikroc-for-pic-libraries-with-examples-using-pic16f877a-mcu
4- https://www.udemy.com/course/pic-microcontroller-using-mikroc-for-pic-from-scratch
5- https://www.udemy.com/course/learn-arduino-uno-coding-using-arduino-ide ///////////////////////////////////////////////////// #circuitdiagram #circuitdiagram #simulator #simulation #proteus #proteus8 #pic16f877a #arduinotutorial #electronictutorial #embedding #embeddedprojects #embedded_system #embeddedprojectcenters #embedded_system #diy #diycrafts #diyideas #diyproject #diyarbakır #toggle #toggleswitch #switch #bluetooth #hc05 #wireless
Arduino Code:
int readButton;
int count;
void setup() {
pinMode(7,INPUT); // in our cfg if button is pressed a 1 is sent
digitalWrite(7,LOW); /// Intially turning button pin 0
Serial.begin(9600);
count=0;
}
void loop() {
readButton = digitalRead(7);
if (readButton == 1 )
{
Serial.println("****Button Pressed****");
delay(200);
count = count+1;
Serial.println(count);
}
}
More from User
Use PWM pin of Arduino UNO to control brightness of an LED.
Learning Microcontrollers
How to use do-while loop in Arduino IDE using Arduino UNO.
Learning Microcontrollers
Use Arduino UNO to control the brightness of an LED using a potentiometer.
Learning Microcontrollers
Fire detection system using IR LED with Arduino UNO.
Learning Microcontrollers
Using a Microwave radar module with Arduino UNO.
Learning Microcontrollers
Light Dependent Resistor ( LDR ) with Arduino UNO.
Learning Microcontrollers
Related Videos
Arduino Beginner Tutorial - Switch(Push) button LED with Arduino UNO
Easytronic
#EB-10 servo motor control using arduino uno Arduino Uno Earthbondhon
Earth Bondhon
How to use do-while loop in Arduino IDE using Arduino UNO.
Learning Microcontrollers
The AVR Microcontroller and Embedded Systems Using Assembly and C: Using Arduino Uno and Atmel
abdula718
The AVR Microcontroller and Embedded Systems Using Assembly and C: Using Arduino Uno and Atmel
dm_27e0c98c10a02cb523dba05022162ec3
Best product The Avr Microcontroller and Embedded Systems Using Assembly and C: Using Arduino Uno
haydenpearce