Xbee and Keyboard input at the same time

Hello, I want to know if we can give keyboard input to the Arduino if we are using the XBee wih XBee shield on a Mego2560. I have learnt that you can't do that since XBee overwrites the TX&RX pins. But the Mega has more than one pair of those TX&RX.

I am on a project(RC airplane) where I am sending some signals to my reciever via keyboard. Eventhough this can be accomplished using a joystic, I have to build the whole thing from scratch and I am inside a budget.

Thanks in advance Bhashithe

I have learnt that you can't do that since XBee overwrites the TX&RX pins.

Only if you have a crappy shield. If you do, get a decent one.

OK I have a Shield, got it from e-bay. its a funduino one. its not crappy i guess :)

OK I have a Shield,

Great. Is it one of these: http://www.shieldsofstrength.com/military-shields/

got it from e-bay

Oh, great. Some it comes with a guarantee, right?

ts a funduino one.

Your link doesn't seem to work.

its not crappy i guess

It's better to deal in facts than in guesswork.

Ok in my Setup, I have a setup like this.

Transmitter is connected to the laptop with USB. The XBee is mounted on a XBee shield and the (jumper/switch is at the XBee side in both transmitter and receiver) Receiver has a LED fixed at the pin # 10.

Transmitter:

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

void loop()
{
  Serial.write("o");
  delay(3000);
  Serial.write("f");
  delay(3000);
}

Receiver:

void setup()
{
  Serial.begin(9600);
  pinMode(10,OUTPUT);
  //pinMode(13,LOW);
}

void loop()
{
  
  while(Serial.available() < 0);
   
  char input = Serial.read();
  
  if(input == 'o')
  {
    digitalWrite(10,HIGH);
    delay(500);
  }
  if(input == 'f')
 {
    digitalWrite(10,LOW);
    delay(500);
  }
  delay(50);
  //Serial.flush();
}

LED blinks as expected. But I can’t open the serial monitor when the XBee is mounted. Its grayed out. Which implies I can’t give any serial input while having the Xbee sending data constantly.

So any direction you can point me at?

Using SoftwareSerial library might be a good solution?

I am reading upon this, If you guys have any facts please let me know :)