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.
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.