LED ON using push button
This is a series of simple projects aimed at getting started with Arduino. This will cover most of the important peripherals of the Arduino starting from simple Digital I/Os to ADC and communication interfaces etc.
In the first set of projects the following are included. They are basically about the Digital I/Os and ADC on the arduino.
2.LED ON using push button
3.AC BULB ON using push button
5.Running LED'S when button pressed
6.LED ON/OFF using two buttons
7.LED BLINK with adjustable delays
8.POTENTIOMETER as ADC input display serial monitor
9.LDR light controller
10.LED ON/OFF USING PIR SENSOR
In this experiment we are going to see
LED ON using a push button:
Turns on and off a light emitting diode(LED) connected to digital
pin 13, when pressing a pushbutton attached to pin 2.
* LED attached from pin 13 to ground
* pushbutton attached to pin 2 from +5V
* 10K resistor attached to pin 2 from ground
* Note: on most Arduinos there is already an LED on the board
attached to pin 13.