Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

8051 Microcontroller se 7 segment LED kaise interface kre in Hindi

8051 Microcontroller se 7 segment LED kaise interface kre in Hindi

8051 Microcontroller se 7 segment LED kaise interface kre in Hindi:

7 segment LED display electronics m use hone wali sbse popular display h jo 0-9 digits tk show kr sakta h or kuch characters bhi jaise A, b, C, ., H, E, e, F, n, o,t,u,y etc.
Is article m hm baat krege “8051 Microcontroller se 7 segment LED kaise interface kre in Hindi”.

Seven segment LED m 7 LED hoti hein jo squarish ‘8’ k shape m hoti h. Embedded system ki design krne k liye seven segment display ko microcontroller se interface krna jarur aana chahiye.

Seven segment display k bhi 2 type hote hein: Comman cathode or Comman anode display. Comman cathode m display k sabhi cathode terminals ek hi single point se connect hote hein jise “Common” point bhi kaha jaata h.
Anode pins isme alag alag hoti h or unko a, b, c, d, e, f, g & h (or dot) symbol se indicate krte hein.
Aise hi Comman anode m sabhi LEDs k anodes common hote hein or baaki cathode pins individual hoti hein.

8051 Microcontroller ko 16×2 LCD se kaise interface kre in Hindi

8051 Microcontroller se Stepper motor kaise interface kre in Hindi

8051 Microcontroller se 7 segment LED kaise interface kre in Hindi

 

Digits ka drive pattern kya h

Yha m aapko bta rha hu k kaise segment display ko numbers or characters show krne k liye use kiya jaata h.
Different different numbers ko show krne k liye hme kuch LEDs k combination bna kr unko ON kiya jaata h jisse particular number show ho jaata h.

8051 Microcontroller se 7 segment LED kaise interface kre in Hindi

 

8051 Microcontroller se 7 segment LED kaise interface kre in Hindi:

Is circuit diagram m 8051 microcontroller ko segment display k saath interface kiya gya h. Apne circuit ko picture k hisaab se hi design kre.

8051 Microcontroller se 7 segment LED kaise interface kre in Hindi
Yha common anode display use ki gyi h isliye iska common point +5volt se connect kiya gya h or cathode pins ko microcontroller k Port1 se.
Microcontroller se connect krne k liye aapko resisters ka bhi use krna hoga jo current limitation ka work krte hein (560 ohm resistance between LED & microcontreoller pins).
11.0592MHz ka crystal oscillator controller k liye clock circuit design kr rha h jo k controller ko operate krne k liye bahut important h.

kyuki hm yha comman anode use kr rhe hein to kisi bhi LED ko glow krne k liye hme microcontroller ki pin pr “logic 0” set krna hoga kyuki +5 volt to use already mil rha h (Common point se).
Maan lo k hme number “0” LED pr display krana h to hme beech ki LED “g” ko OFF rkhna h or baaki sabhi LEDs ko ON kr dena h jisse hme “0” display pr show hone lagega.
M yha pr ek table bhi de rha hu jisse apko samjhne m bhi asaani hogi. LEd k points a,b,c,d,e,f,g or h ye 8 digits bnate hein jo 1Byte hogi or controller ki programming krte waqt is code ko Hex code m convert krke hi coding start krni h kyuki microcontroller Hexadecimal numbers ko hi read krta h.

Program in C:

Mere is page se aap is program ko copy nhi kr payenge isliye m niche ek program download link share kr rha hu jisse program new window m open ho jaayega or aap ise vha se bahut asaani se copy kr sakte hein.

 

#include<reg51.h>
void delay(unsigned int msec)
{
unsigned i,j ;
for(i=0;i<msec;i++)
for(j=0;j<1275;j++)
}
void main()
{
unsigned char coding[]={0xC0,0xF9,0xA4,0xB0,0x99,0x92,0x82,0xF8,0x80,0x90};
int k;
while(1)
{
for(k=0;k<10;k++)
{
P2= coding[k];
delay(100);
}
}
}

Download program in C:  segment.c

Ummid krta hu k “8051 Microcontroller se 7 segment LED kaise interface kre in Hindi” article aapko pasand aaya hoga.

Thanks a lot to be BusinessBharat Blog Reader…

Hope you enjoy & Learn..!!

Leave a Reply