Coordinator Xbee won't recive data from Router Xbee

So me and my friend is working on a project where we’re going to connect two arduinos together with xbee’s and send and recive data from a keypad. We’ve connected the two xbee’s with X-CTU and made them communicate and it worked fine. But when we tried to send and recive data from arduino we didn’t recive anything.

The code we’re using for the arduino is this
For the sender(router);

void setup()
{
Serial.begin(9600);
}

void loop()
{
Serial.println(“Hello”);
delay(1000)
}

For the reciver(coordinator);

void setup()
{
Serial.begin(9600);
}

void loop()
{
if (Serial.available() > 0)
{
Serial.write(Serial.read());
}
}

This is just for testing if we were able to recive anything, but nothing.
And I would assume if we could get communication in X-CTU it would be good to go for the arduino?
I can also add the setup for our xbee’s if that would help

I would post your code in an Arduino community for someone to check, as well as the wiring setup.

If the XBees are working in XCTU, then there is an outside issue with the Arduinos, either in the code or the wiring.

Most Arduino’s require you to use an XBee shield to connect it to the Arduino. Make sure you are.

Next, most Arduino applications use the radios with a Lib file which accesses the radios in API mode.

We’re using an Xbee breakout connected to a breadboard and the dout pin to tx pin and the din pin to rx. And we’ve troubleshooted all the pins used in the breakout and thay work fine

I hope that is a 3V Arduino and not the 5V or TTL level version. If so, you need to use a level shifter between the Arduino and the XBee. That is what the Shields do.

Yeah, we use the 3.3V output from the arduino

Than you need to look at the library files you are using and how the documentation tells you to use them.

Might be a really stupid question, but where can I find those?

https://www.sparkfun.com/
http://www.mouser.com/new/digi-international/digiXBeefamily/?gclid=CjwKEAjw8ZzHBRCUwrrV59XinXUSJADSTE5kRLzKjy4vRC2sNFAtwM51cfEwWrlMkTqVqZss6m4raBoCCMHw_wcB

https://www.arduino.cc/en/Main/ArduinoXbeeShield

http://wiki.seeed.cc/XBee_Shield_V2.0/

Just to name a few.