Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [softwareserial]

A library for emulating UART functionality in software on any available digital IO pins. Use this tag for questions regarding SoftwareSerial.

5
votes
2answers
2k views

Using SoftwareSerial for the serial monitor

Most programs follow this route: They have a Serial.begin() for the serial connection between PC and Arduino (the serial monitor) and they use SoftwareSerial for a device. Can you go the other way ...
1
vote
2answers
5k views

SoftwareSerial together with AltSoftSerial and HardwareSerial

The title says it all. Angone with experience here on this subject? I want to use all Hardware serial, SoftwareSerial and AltSoftSerial on Arduino Duemilanove with At328. Is it possible?
1
vote
1answer
861 views

Wired serial connection between two Arduinos - do they need a common Ground (GND)?

I would like to connect two Arduinos by a serial connection. Is it sufficient to connect TX1<-->RX2 and RX1<-->TX2 or do I also need to connect the GND of the two Arduinos?
3
votes
1answer
1k views

Is there a way to test whether the UART Tx buffer is empty without waiting?

Is there a way to test whether the UART Tx buffer is empty without waiting? serial.flush() waits, so it won't help me. I tried looking into serial.SerialEvent(), but the link was broken on the ...
1
vote
1answer
1k views

SoftwareSerial error

I have arduino , upon arduino I have Arduino GSM shield (Tx-2, Rx-3, Modem reset-7) and upon it, I have the Adafruit GPS Logger shield. I am trying to send sms of Latitude from the GPS Logger shield ...
6
votes
5answers
9k views

Simultanous read and read/write on two serial connections

At the moment I'm using two softserials to connect to a GPS and an GSM module. It seems not possible to have two open software-serials. So I was looking for an solution After the initial-setup, the ...
3
votes
3answers
16k views

Why am I getting “fatal error: SoftwareSerial.h: No such file or directory”

I downloaded the Adafruit_GPS library from Adafruit and I'm trying to compile the example code (due_parsing) but I can't seem to get past this silly error: In file included from due_parsing.ino:15: /...