Xbee Communication - Receiving some strange characters

hi there!
i am using 2 xbees for serial communication, one is connected to arduino via wire and transmits data to the other xbee which is connected to a usb explorer breakout and i am reading the data in the xctu console log.
the console log gives me strange characters when i power up the arduino, which means that they are transmitted from the first xbee.
does anyone know why i am receiving these strange characters?
I need to get rid of these characters.

I am using 2x Xbee S1, and the configuration for the Receiver is:
DL Destination Address Low 1
MY 16 bit SOurce Adddress 2

The transmitter configuration is:
DL Destination Address Low 2
MY 16 bit SOurce Adddress 1

All the other values are set to default.

Image attached to see my console log from xctu.
Any help on how to get rid of the strange characters?

transmitter code:

int counter=0;

// the setup routine runs once when you press reset:
void setup() {
  // declare pin 9 to be an output:
 
  Serial.begin(9600);
}

// the loop routine runs over and over again forever:
void loop() {
  
 counter=counter+5;
 Serial.print("Counter=");
    Serial.println(counter);
 
 

if (counter==100) {
 counter=0; 
}
delay(1);
}

Hi!
At first look it seems some display problems with ASCII tables in X-CTU.

Maybe I'm thinging wrong, but try to use some others programs like serial port monitor

Choose your COM port where is xbee sitting, choose all tables, klick Start monitoring, hit play, power on your arduino and start watching for data it sends to xbee.

With this serial port monitor is worse.

the console log is in the link below:

My Xbee settings for receiver and transmitter are attached here.

Hmm...maybe you just lost some packets.

Try to write Destination address HIGH and Destination address LOW to both xbee's. Maybe it will help you with losing the packets.

I dont lose any of the packets I send. The counter goas like that: counter= counter+5;

So I get the correct info but some more characters too.

azuratx:
Hmm...maybe you just lost some packets.

Try to write Destination address HIGH and Destination address LOW to both xbee's. Maybe it will help you with losing the packets.

What should i write?

In settings you can see SH and SL numbers.

To Receiver DH write Transmitter SH, and to Receiver DL write Transmitter SL.

To Transmitter DH write Receiver SH, and to Transmitter DL write Receiver SH.

azuratx:
In settings you can see SH and SL numbers.

To Receiver DH write Transmitter SH, and to Receiver DL write Transmitter SL.

To Transmitter DH write Receiver SH, and to Transmitter DL write Receiver SH.

I think there is something wrong. Shouldn't I write to transmitter DL the receiver SL?

Just found out that my problem was with my I/O settings!!! :smiley:

I had a digital Input pin enabled (DI00), Pull up resistor 0 and Samples Rate before TX 5.
Samples Rate before TX is sending the strange characters.
I managed to solve it by setting Samples Rate TX to 0, but now i am unable to use the I/O pins, just the serial.

What are the correct settings to use xbee I/O pins and also have godd serial communication without strange characters?