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.

pc based led on/off using serial port programming????

Status
Not open for further replies.

bhanot.manik90

Junior Member level 1
Joined
Jul 21, 2010
Messages
19
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,457
can anyone plz help me , i want to make my very first project regarding microcontrollers...i want to switch on/off led connected to p0.0 port of at89s52, through key: 'A' . i have used here max232 for interfacing at89s52 with the pc...so plz anyone , send its source code in assembly language only????
 

but in the given website above, the code is written to send a character from microcontroller to pc and i already know how to do that....but the problem is , i dont know how to control the led attached on mc through pc key: 'A' ...plz send me the code in assembly language as i dont know vb
 

Hi.
First of all your requirement is PC to controller interface to transmit a data from the PC & control the operations in the controller rite?
So just configure or look for how to serially communicate the controller with PC which is explained in the datasheet. Initialize the registers required for serial commn & do first simulate what you require in PROTEUS & then if it works fine go for real time implementation. Good luck!!!!!!!!!11
Regards,
Jerin. :)
 

hello bhanout. it s clear and straight there. check the project pc based device control. the code for mc is in assembly language. and it is same as u require, controlling a led or relay from the pc.
 
  • Like
Reactions: kelnor

    kelnor

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top