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 ADC problem with UART output

Status
Not open for further replies.

dhanraj_kmr

Advanced Member level 4
Joined
Sep 23, 2008
Messages
117
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
Chennai, INDIA
Activity points
2,174
xbee pwm

Hi to all, i am using two xbee modules. one act as a remote another one is base. I've configured remote xbee as adc input on 20th pin, 14th pin as ref. ref volt=3.3v and two modules having below configuration. when i gave a analog input(ADC INPUT0) i was able to see the variation of pwm output on base module D0 pin using a CRO. but my failure was i could not get UART output(sensor value) at my reciever side.
my module baud rate is 9600. system hypeterminal baud rate is 9600 and all same.
flow control NONE
data bits=8
parity NONE
stop bits=1.

BASE REMOTE

P0 = 2(ADC INPUT0) D0 = 2(PWM 0)
P1 = 2(ADC INPUT1) D1 = 2(PWM 1)
IU = 1(I/O ENABLE: 1-ENABLED) IR = 14(SAMPLE RATE)
IA = 5678 (or FFFF)(I/O INPUT ADDRESS) IT = 5(SAMPLE BEFORE TRANSMIT)

the UART output should be like this(the way). pls check this link.
**broken link removed**

But on my hyperterminal window i wasnot able to get the correct UART data.
some unpricted data which were not numbers. But when i connect my remote to sensor i used to get some numbers as well as special chars. Whats going on my modules? pls its urgent.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top