I'm unsure of a point regarding serial comms on an Arduino UNO. My Arduino hasn't arrived yet, so I can't do any experimenting to find out the hard way.
I need to receive serial raw data from one remote device, process it, then send the processed data on to another remote device, again using serial comms.
There's a built-in UART connected to pins 0 and 1, which I can use for one serial stream.
For the second, is it possible to use the Arduino Software Serial Library, utilising whichever pins I want, or is that library only for the Mega?
Or am I out of luck? If it is impossible with a UNO, I can use a PIC with PICBasic Pro and set up software serial on any (or all) pins, but I'd prefer to use the Arduino for this.
Thanks in advance.
Edit: Like so:-
I need to receive serial raw data from one remote device, process it, then send the processed data on to another remote device, again using serial comms.
There's a built-in UART connected to pins 0 and 1, which I can use for one serial stream.
For the second, is it possible to use the Arduino Software Serial Library, utilising whichever pins I want, or is that library only for the Mega?
Or am I out of luck? If it is impossible with a UNO, I can use a PIC with PICBasic Pro and set up software serial on any (or all) pins, but I'd prefer to use the Arduino for this.
Thanks in advance.
Edit: Like so:-
Code:
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup()
{
// put your setup code here, to run once:
Serial.begin(9600);
mySerial.begin(19200);
}
Last edited: