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 LED or switch kaise interface kre in Hindi

8051 Microcontroller se LED or switch kaise interface kre in Hindi

8051 Microcontroller se LED or switch kaise interface kre in Hindi:

Embedded systems k projects m LED or Push button switches sbse jyada use hote hein or agr aap embedded design m interested hein to aap bilkul sahi blog read kr rhe hein.
To chaliye baat krte hein “8051 Microcontroller se LED or switch kaise interface kre in Hindi”.

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

8051 Microcontroller se 7 segment LED kaise interface kre in Hindi

Push Button Switch:

8051 Microcontroller se LED or switch kaise interface kre in Hindi

Push Button switch m 2 active terminals hote hein jo normal condition m “Open” rhte hein. Jb switch ko press kiya jaata h to dono terminals short ho kr close connection bnate hein.

Circuit Diagram:

8051 Microcontroller se LED or switch kaise interface kre in Hindi

Is circuit diagram m hm ek LED or ek Push button switch ko microcontroller se connect kr rhe hein.
Port1 ki pin no. 0 (P1^0) pr switch connect kiya gya h or P1^1 pin pr LED connect h.
Microcontroller ki clock generate krne k liye 11.0592 MHz ka crystal oscillator 33pF ke ceramic capacitors k saath combine kiya h. 10uF or 8.2k resistance reset circuitry design kr rhe hein.

8051 Microcontroller se LED or switch kaise interface kre in Hindi

 

C Programming in Hindi:

Yha mene sirf demo k liye ek simple program bnaya hua h. Is program se jab push button press hoga tb tk LED glow kregi, jaise hi switch ko unpress kiya vaise hi LED OFF ho jayegi.
Ye program yha se copy nhi ho payega isliye mene program k liche program download ka ek link diya hua h vha se aap program ko copy krke apne desktop m paste kr sakte hein.

 

#include<reg52.h>
sbit switch=P1^0;
sbit led=P1^1;
void main()
{
P1=0x01;
while(1){
if(switch==1)
led=1;
else
led=0;
}
}

Download C Program:  Led.c

8051 Microcontroller se Stepper motor kaise interface kre in Hindi

Ummid krta hu k “8051 Microcontroller se LED or switch 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