After adding a fdti chip to my $50 robot i thought i upgrade it with an xbee to have wireless communication but there seems to be a problem with the transmission.
Here's my setup:
fdti chip and a xbee:
xbee is powered by the 3.3V out from the fdti chip. Fdti is bus powered. The xbee can be programmed with X-CTU and is working correct (I think)
Atmel and xbee:
atmel running at 5V. Put a 3.3V regulator in for the xbee. Tried various schematics for the io lines of the xbee and all have the same results. Currently I just have a 10K on DIN of the xbee and nothing else.
Program:
The xbee with the atmel attached is sending data to the other xbee. This xbee puts it on screen using hyperterminal or whatever.
Problem:
There is very Little data received. If i power the atmel xbee on i receive nothing. Only if i fiddle with the powerconnector of the atmel there are some bytes being sent and only about 10 and then nothing. The data that is being sent in that time is correct (I send the word "test" and i receive "test").
Of course I tested the fdti chip and if i hook up my TX from the AVR i receive data perfectly. The atmel and the xbee share common ground.
I tried various setting with dl and my at settings, different pan id's and coordinator mode but all have the same result. Currently i have the xbee's in default mode and the problem is still the same. Does anyone have any suggestions?