Multiple Serial inputs?

Just wondering if you can have multiple components sending to the Arduino. I have a gps unit and a wave shield so could I wire up their RX/TX pins to the Arduino's pins so they can both output to the serial monitor?

If you use Arduino MEGA, it has 3 serial ports. If you use Arduino duemilanove or any other small boards, I think you can try soft serial. Following link is the tutorial for soft serial, for your referrence. http://www.arduino.cc/en/Tutorial/SoftwareSerial ;)

Since I have basically the same question, I figured I would bump this thread.

I really need multiple hardware UARTs. The mega with the 1280 is great, except the form factor is huge for the application I have. Are there any other options for either different form or maybe something else that runs arduino code and gives me at least 3 hardware UARTS?

Thanks!

The mega with the 1280 is great, except the form factor is huge for the application I have.

The Seeeduino mega board has the same form factor as the standard Arduino board.

http://www.seeedstudio.com/depot/seeeduino-mega-fully-assembled-p-438.html?cPath=79_80&zenid=9f6118c193cee9f8b7337d4df91a2eca

Lefty

By using NewSoftSerial (i.e. software serial port) you can have as many serial ports as you have digital pins (in theory). The main issue with software serial port is that the uP has to sample every single bit that the other end is sending, thus it can receive only one byte at a time. If you read NewSoftSerial docs you'll also notice that the library itself must be used carefully when you have multiple instances of it.

HTH