Serial Port

Hi,

Is it possible use serial ports with Arduino UNO? Is it cause any problem if I use different software serial port with different baud rate?

SoftwareSerial SIM900(7,8
SoftwareSerial mySerial(10,11);

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

  mySerial.begin(9600);
  SIM900.begin(19200);
}

void loop ()
{
{doSomething};
SIM900.begin(19200);
{doSomething2}
mySerial.begin(9600);
{doSomething3};
}

I confess I haven't looked VERY closely at your code, but in general, I can't see any problem with what I think you want to do.

See...

(Yes, I know that talks about things you aren't interested in. But it talks about USING what I think you want to use, just with different devices than you have in mind.)

I half remember something from some work a few months ago... the page is from YEARS ago, that since Arduino 1.0, you access SoftwareSerial slightly differently, but it IS still there, under some name or other. Perhaps just part of the "basic" environment these days, not needing an #include? Something like that.

Thank you for your answer. The code is working now :slight_smile:

I'll also try this way what you suggested