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.

Xbee interfacing problem

Status
Not open for further replies.

pratheeshprm143

Newbie level 6
Joined
Oct 14, 2010
Messages
14
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
india
Activity points
1,440
Hai,

I have a pair of zigbee (X bee), when I am interfacing I hve the followin g problem.

1.When tx is my pc and receiver is 89c51 the o/p is ok and reverse is also ok.

2.When both tx and rx are 89c51 o/p dosen't get.

I have no doubt on Xbee bcoz both (Tx & Rx) are working well.
Also 89c51 (Tx & Rx) are good with pc communication.
But when interfacing with two 89c51 Xbee o/p dosen't occur.

Here is my program for Tx and Rx.

program for receiver........

ORG 00H
AJMP MAIN
ORG 30H
MAIN: MOV SCON,#50H
MOV TMOD,#20H
MOV TH1,#-3
CLR RI
SETB TR1
BACK: JNB RI,$
MOV A,SBUF
MOV P2,A
CLR RI
SJMP BACK

END


program for transmitter.............


ORG 00H
AJMP MAIN
ORG 30H
MAIN: MOV SCON,#50H
MOV TMOD,#20H
MOV TH1,#-3
SETB TR1
SETB P2.0
MOV A,#00H
HERE: JB P2.0,HERE
INC A
MOV SBUF,A
H: JNB TI,H
CLR TI
JNB P2.0,$
SJMP HERE
END


I used 9600 baud and 11.0592Mhz with two 89c51.

please help me....
Thanks
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top