Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

8051 led blinking project using AT89C52

Status
Not open for further replies.

mohannad100

Member level 3
Joined
Jan 16, 2008
Messages
63
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,288
Location
iraq
Activity points
1,700
led blinking project

hi
i need a 8051 led blinking project im using
AT89C52
serial port rs232 db9
12Mhz frequency
and need it in vb or c++
and need the code works 100%
because i need to establish a serial connection with my pc
thanks.
 

Re: led blinking project

How about sending you a preprogrammed mcu, oh better yet, sending you the entire project like ready made pizza so could establish a pc connection.
Man just run a querry on google I got atleast 6 hits of working led blinking projects.
 

led blinking project

do u think u r funny
if u have any education then u will not going to say like that speech
here we discuss and learn not to play moora
 

Re: led blinking project

mohannad100 said:
hi
i need a 8051 led blinking project im using
AT89C52
serial port rs232 db9
12Mhz frequency
and need it in vb or c++
and need the code works 100%
because i need to establish a serial connection with my pc
thanks.

suppose led is connected on port 2



#inclue<at89c52.h>
void main(void)
{
TMOD = 0x20;
SCON = 0x50;
TH1 = -3;
while(1)
{
P2 = 0xFF;
SBUF = P2;
while(!TI);
TI = 0;
delay();
P2 = 0x00;
SBUF = P2;
while(!TI);
TI = 0;
}

}


this code continuously blink the led and also it sends the port content to PC via serial communication...
 

This is not a outsource or coder auction site. hear you can get help for your project.
search for getacoder or elance.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top