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.

How to interface 8051 with Serial port

Status
Not open for further replies.

shahzadleo7

Junior Member level 3
Joined
Dec 30, 2008
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,448
8051 serial port

plz help me hopw to interface the ucontroller with serial port to interface with mobile phone



thanxs in advacne
 

srikanthsamaga

Full Member level 3
Joined
Dec 14, 2008
Messages
179
Helped
12
Reputation
24
Reaction score
2
Trophy points
1,298
Location
12°52′N 74°53′E
Activity points
2,022
8051 serial interface

I think mobile Phone cannot be interfaced to the microcontroller using RS232, you should interface it by hacking its headphone cable..
:) :) :)
 

shahzadleo7

Junior Member level 3
Joined
Dec 30, 2008
Messages
28
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,448
8051 serial interfacing

but i is interfaced by Sony Ericsson T290
 

javad66

Newbie level 3
Joined
Jan 26, 2009
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
8051 serial port interfacing

you can use usb cable and conect micro to mobile to read & write memory card of mobile only .(I think)
 

robismyname

Full Member level 6
Joined
Jan 17, 2008
Messages
390
Helped
11
Reputation
22
Reaction score
9
Trophy points
1,298
Location
Central Florida
Activity points
4,603
serial interface of 8051

shahzadleo7 said:
plz help me hopw to interface the ucontroller with serial port to interface with mobile phone thanxs in advacne

Sounds like an interestign project. I have some experience setting up the MCU port and crossbar for UART applications. Do you have the data sheet for the particular MCU you are using? Do you plan to connect your MCU to a PC a review the data in a hyperterminal session?
 

besthabit

Junior Member level 3
Joined
Oct 7, 2007
Messages
28
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,283
Location
Islamabad
Activity points
1,883
serial cable interface of 8051 with mobile phone

void main()
{
initUART();
delay();
sendString("AT+CMGF=1"); // command to select text mode
sendChar(13);
delay();
sendString("AT+CMGS=\"0999999999\"");// here 09999999999 is recepient's number
sendChar(13);
delay();
sendString("Hello!"); // Hello! will be sent
sendChar(26);
sendChar(13);
}
 

PRATHIMA REDDY

Newbie level 2
Joined
Jun 12, 2010
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
HYDERABAD
Activity points
1,288
Hi,

ORG 0000H
MOV SCON,#50H
MOV TMOD,#20H
MOV TH1,#-3
SETB TR1

THIS IS THE CODE FOR SERIAL INITIALIZATION OF 8051 MICROCONTROLLER IN ASSEMBLY.

HOPE THIS HELPS YOU.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top