HOW TO BLINK THE LED’S

INTRODUCTION

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.

 

11910395_557744477707016_1780623780_n     515c7a2bce395f653d000002    555_DIP  OLYMPUS DIGITAL CAMERA

COMPONENTS YOU NEED

*cappacitor (c1= 10µF, c2= 100n)

*Ressitor (r1= 10k, r2= 10k, r3= 330Ω),

*LED=1 ,     *IC= NE555

*Breadbord & connecting wires

CRICUIT DIAGRAM

Schematics view

 

hb

Breadboard view

Untitled Sketch_bb

WORKING

 

The astable mode configuration prodces the digital signle. The signle is a square wave

SquareWave

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.

CALCULATION

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.

FORMULA

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.

COMPONENTS NEEDED

50450-IMG_5222

*Arduino un0 *LED *330 ohm resistor

CIRCUIT DIAGRAM

g

programming

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

lets go

// 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 .

void setup()

{

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 .

delay(1000);

}

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s