I know there are a few serial libraries available. I have a specific task in mind that needs to talk to 2 serial devices.
I am hoping I can use the hardware+usb serial on the computer side and a software serial on a pair of pins for the other device.
Anyone try this before? Did it work ok? No lost characters due to interrupts or some other issue?
The computer might run at 38400 but the TTL device runs at 9600 baud.
I have many different types of arduino boards that I could use.
Any particular pins that work better than others for the serial library?
Any serial library that works better than the others for this?
Many applications with the Arduino use the USB port for communication to A PC application and use a software serial library for a external sensor or device. I think the Newsoftserial library has had the most attention and development lately.
http://arduiniana.org/
Both of these utilize interrupts and buffering of received characters so as long as your main sketch is properly done I don't think it would have any problems supporting your two serial link requirment.
Of course the new Arduino Mega board has 4 hardware serial ports and is supported by the Arduino core library. Also the Sanguino board has two hardware serial ports available but requires a modified IDE.
http://sanguino.cc/
Lefty