Welcome everyone blinking the LED is saying hello to electronincs world. There is lot of way to blink the LED.
METHOD ONE USING 555 IC
By using the 555 IC in astable conifiguration we can make LED to blink. The blink rate also controlled by this method.
COMPONENTS YOU NEED
*cappacitor (c1= 10µF, c2= 100n)
*Ressitor (r1= 10k, r2= 10k, r3= 330Ω),
*LED=1 , *IC= NE555
*Breadbord & connecting wires
The astable mode configuration prodces the digital signle. The signle is a square wave
This square turns the LED ON & OFF. To blink the LED in desired speed a simple mathematical calculatiton is used. you can see the resistor and capacitor network, It is used to get the specified ON ,OFF time.
you can see the two 10k resistor, Now take first 10k resistor(left one) as R1 and second resistor(right one) as R2 and 10µf capacitor as c. By using the below equation we can only get the frequency value. After finding the frequency value just convert it into time in seconds.
FRQUENCY = (1.44/R1+2R2)xC
FRQ OF ABOVE CIRCUIT
FREQUENCY = (1.44/10k+(2x10k))/10
= 4.8Hz (means 0.2 seconds)
METHOD TWO USING MICROCONTROLLER
Microcontroller methods needs programing. Here iam using arduino because it is easy and simple.
*Arduino un0 *LED *330 ohm resistor
The programing part is very simple just a basic c language knowledge is sufficiant to program this controller. before that download the arduino software from HERE
// the arduino compiler will never consider this // and /* */so don’t panic about this double slashs and astrix slash.
int led = 13; // first declare the pins that you going to use here i decleared 13 pin .
pinMode(13, OUTPUT); // here you need to declare the pin is output or inpu. Note that in “pinMode” “M” in capaital and “OUTPUT” in capital because arduino is case sensitive.
void loop () // under this loop function it repeatedly run program again & again
digitalWrite(13, HIGH); // this will make the 13th pin high. the LED get turned on.
delay(1000); // wait for one seconds 1000 means 1000mili seconds ,one second
digitalWrite(13, LOW); //this will make the 13th pin low. the LED get turned off .