This project shows a basic electronic circuit that uses an
Arduino microcontroller to turn an LED on and off when a button is pressed. It covers key ideas including switches, LEDs, and debouncing in order to teach the fundamentals of digital inputs and outputs.
BILL OF MATERIALS:
Item Parts Name Quantity Cost Each Cost
Number (PHP) Extended (PHP) 1 Arduino Uno 1 500 500 Board 2 LED 1 5 5 3 Pushbutton 1 200 200 4 Jumper Wire 4 7 28 Total number of parts: 6 Total costs: 733 SCHEMATIC: CODE: SUMMARY: In this project, a button is used to switch on and off an LED. The code detects button presses, manages the LED's condition, and uses a small delay to avoid unintentional double pressing (debouncing). For beginners learning how to utilize a microcontroller to control gadgets, this straightforward Arduino example of digital input and output is ideal.