Back to Browse

Toggle LED with Push Button Using Arduino | Proteus Simulation Tutorial + Code

173 views
Premiered Dec 10, 2025
15:55

Here’s the integrated, more explicit YouTube video description combining your original tutorial style with the Proteus simulation details and Arduino Uno specifics: ### Interfacing Push Button and LED with Arduino Uno in Proteus Simulation: Beginner Tutorial Ever wondered how to make a simple switch control an LED using Arduino Uno? In this hands-on simulation tutorial, we'll interface a push button to toggle a green LED ON and OFF using the Arduino Uno microcontroller in Proteus software! This project is perfect for electronics beginners and demonstrates the basics of digital input (button) and output (LED) pins, all visualized in Proteus with Arduino IDE coding. **What You'll Learn:** - Wiring a push button to an Arduino Uno digital input pin with internal pull-up for debouncing - Connecting a green LED with a 75Ω current limiting resistor to a digital output pin - Writing Arduino IDE code to read the push button state and toggle the LED ON/OFF - Running and testing the entire circuit simulation smoothly in Proteus **Components and Setup Used:** - Arduino Uno (Proteus simulation model) - Push button switch connected as digital input - Green LED with 75Ω resistor for proper current limiting - Arduino IDE for coding and uploading to the simulated Arduino board - Proteus software for circuit simulation and verification **Alternative Arduino Code (for toggling LED on button press) you can try:** ```cpp const int buttonPin = 2; // Arduino pin connected to push button const int ledPin = 13; // Arduino pin connected to green LED int ledState = LOW; // Initial LED state int lastButtonState = HIGH; // Tracks last button state for debounce void setup() { pinMode(buttonPin, INPUT_PULLUP); // Use internal pullup resistor pinMode(ledPin, OUTPUT); } void loop() { int buttonState = digitalRead(buttonPin); if (buttonState == LOW && lastButtonState == HIGH) { ledState = !ledState; // Toggle LED state digitalWrite(ledPin, ledState); delay(50); // Small debounce delay } lastButtonState = buttonState; } ``` Whether you want to learn Arduino basics through simulation or prepare for real hardware, this tutorial is your perfect starting point. If you find this demo helpful, please LIKE, SUBSCRIBE, and COMMENT below: What Arduino project are you working on next? #arduinouno #pushbuttonswitch #GreenLED #proteussimulation #arduinoide #electronicstutorial # ***

Download

0 formats

No download links available.

Toggle LED with Push Button Using Arduino | Proteus Simulation Tutorial + Code | NatokHD