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.

89c51 serial communication

Status
Not open for further replies.

mandeep220886

Newbie level 3
Joined
Dec 13, 2008
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,304
Hii all !!!!!

I m using two micro-controllers.
On the first one i have connected the LCD and its control pins.
On the second one i have connected the two ADCs 0804, one on the P0 and another on the P1 and their control pins on P2.

Now i want to send the 8-bit data of the ADCs to the first controller serially, and also the received serial data should be displayed on the LCD.
So is it possible to to convert parallel data into serial in microcontroller itself, so that it can be sent through pin 11 of 89c51.

Please reply with some codes in C.
Thanks.........
 

Hi,
Yes it is possible, the UART hardware will take care of parallel to serial conversion, you only need to write into the SBUF of the UART. You may get such sample codes in the C user manuals itself.

Regards,
 
Last edited by a moderator:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top