SoftwareSerial - Bug

robtillaart:
@oric_dan
Yes worked with Software Serial several times but with restrictions.

  1. Sending works far better than receiving, so I typically used it to connect a serial display (9600/19200)
  2. used it for non standard speeds, see - SoftwareSerial magic numbers - Libraries - Arduino Forum -

in (2) I did several tests which show that software serial fails consequently above ~70K or with normal baud rates above 57K6. Mind you these test were quite clean, so if there is (more) interference of e.g. interrupts etc. these numbers drop.

Also, if one uses both software serial and hardware serial together, watch out for interrupt collision effects. See Hardware Serial buffer issues - Programming Questions - Arduino Forum for one (negative) effect I found limiting the speed on the hardware serial with software serial at 9600.