Softwareserial Library Download

Posted on  by admin

Implementation of the Arduino software serial for ESP8266/ESP32.

Softwareserial Library Download

Libraries provide extra functionality for use in sketches, e.g. Working with hardware or manipulating data. To use a library in a sketch, select it from Sketch Import Library. A number of libraries come installed with the IDE, but you can also download or create your own. See these instructions for details on installing libraries. SoftwareSerial Library. The Arduino hardware has built-in support for serial communication on pins 0 and 1 (which also goes to the computer via the USB connection). The native serial support happens via a piece of hardware (built into the chip) called a UART. This hardware allows the Atmega chip to receive serial communication even while. Using SoftwareSerial library with EnableInterrupt. Uno - ESP32 SoftwareSerial communication won't work. Hot Network Questions Three, Three, No Translation lengths in CAT(0) spaces weird usage of 'dran' Is there a word or phrase for an election candidate who wants to win an office to prevent its role being done at all? A New Software Serial Library for Arduino. News: NewSoftSerial is in the core! Starting with Arduino 1.0 (December, 2011), NewSoftSerial has replaced the old SoftwareSerial library as the officially supported software serial library. This means that if you have 1.0 or later, you should not download this library.

Download
Author
Dirk Kaar, Peter Lerup
Maintainer
Dirk Kaar
Website
https://github.com/plerup/espsoftwareserial/
Github
https://github.com/plerup/espsoftwareserial
Category
Signal Input/Output
License
LGPL 2.1
Library Type
Contributed
Architectures
esp8266, esp32

Downloads

FilenameRelease DateFile Size
EspSoftwareSerial-6.11.7.zip45.43 KiB
EspSoftwareSerial-6.11.6.zip2021-02-2145.35 KiB
EspSoftwareSerial-6.11.4.zip2021-01-3045.02 KiB
EspSoftwareSerial-6.11.3.zip2021-01-2545.16 KiB
EspSoftwareSerial-6.11.2.zip2021-01-0645.15 KiB
EspSoftwareSerial-6.11.1.zip2020-12-3145.00 KiB
EspSoftwareSerial-6.11.0.zip2020-12-3144.99 KiB
EspSoftwareSerial-6.10.1.zip2020-12-1244.91 KiB
EspSoftwareSerial-6.10.0.zip2020-11-1544.84 KiB
EspSoftwareSerial-6.9.0.zip2020-09-1544.76 KiB
EspSoftwareSerial-6.8.5.zip2020-06-2344.61 KiB
EspSoftwareSerial-6.8.4.zip2020-06-2244.51 KiB
EspSoftwareSerial-6.8.3.zip2020-06-1144.48 KiB
EspSoftwareSerial-6.8.2.zip2020-06-0744.46 KiB
EspSoftwareSerial-6.8.1.zip2020-04-1044.51 KiB
EspSoftwareSerial-6.8.0.zip2020-03-0744.48 KiB
EspSoftwareSerial-6.7.2.zip2020-03-0444.46 KiB
EspSoftwareSerial-6.7.1.zip2020-01-2543.54 KiB
EspSoftwareSerial-6.6.4.zip2020-01-2243.48 KiB
EspSoftwareSerial-6.6.1.zip2019-12-2543.31 KiB
EspSoftwareSerial-6.6.0.zip2019-12-2443.32 KiB
EspSoftwareSerial-6.5.4.zip2019-12-2134.04 KiB
EspSoftwareSerial-6.5.3.zip2019-12-2034.01 KiB
EspSoftwareSerial-6.5.2.zip2019-12-2033.94 KiB
EspSoftwareSerial-6.5.1.zip2019-12-1933.93 KiB
EspSoftwareSerial-6.5.0.zip2019-12-1933.78 KiB
EspSoftwareSerial-6.4.0.zip28.74 KiB
EspSoftwareSerial-6.3.0.zip26.52 KiB
EspSoftwareSerial-6.2.2.zip26.80 KiB
EspSoftwareSerial-6.2.0.zip26.76 KiB
EspSoftwareSerial-6.1.1.zip26.72 KiB
EspSoftwareSerial-6.1.0.zip26.72 KiB
EspSoftwareSerial-6.0.0.zip24.92 KiB
EspSoftwareSerial-5.4.0.zip24.67 KiB
EspSoftwareSerial-5.3.6.zip24.78 KiB
EspSoftwareSerial-5.3.4.zip24.40 KiB
EspSoftwareSerial-5.3.3.zip24.23 KiB
EspSoftwareSerial-5.3.2.zip24.22 KiB
EspSoftwareSerial-5.3.1.zip24.21 KiB
EspSoftwareSerial-5.3.0.zip23.99 KiB
EspSoftwareSerial-5.2.9.zip22.51 KiB
EspSoftwareSerial-5.2.8.zip22.41 KiB
EspSoftwareSerial-5.2.6.zip22.13 KiB
EspSoftwareSerial-5.2.5.zip22.13 KiB
EspSoftwareSerial-5.2.3.zip22.13 KiB
EspSoftwareSerial-5.2.2.zip20.54 KiB
EspSoftwareSerial-5.2.1.zip20.51 KiB
EspSoftwareSerial-5.2.0.zip20.54 KiB
EspSoftwareSerial-5.0.4.zip17.09 KiB
EspSoftwareSerial-5.0.3.zip17.10 KiB
EspSoftwareSerial-5.0.2.zip17.10 KiB
EspSoftwareSerial-5.0.0.zip16.98 KiB
EspSoftwareSerial-5.0.0-rc1.zip16.00 KiB

ReferenceLanguage Libraries Comparison Changes

Softwareserial Library Download

SoftwareSerial Library

The Arduino hardware has built-in support for serial communication on pins 0 and 1 (which also goes to the computer via the USB connection). The native serial support happens via a piece of hardware (built into the chip) called a UART. This hardware allows the Atmega chip to receive serial communication even while working on other tasks, as long as there room in the 64 byte serial buffer.

The SoftwareSerial library has been developed to allow serial communication on other digital pins of the Arduino, using software to replicate the functionality (hence the name 'SoftwareSerial'). It is possible to have multiple software serial ports with speeds up to 115200 bps. A parameter enables inverted signaling for devices which require that protocol.

The version of SoftwareSerial included in 1.0 and later is based on the NewSoftSerial library by Mikal Hart.
To use this library
#include <SoftwareSerial.h>

Limitations

The library has the following known limitations:

  • If using multiple software serial ports, only one can receive data at a time.
  • Not all pins on the Mega and Mega 2560 support change interrupts, so only the following can be used for RX: 10, 11, 12, 13, 14, 15, 50, 51, 52, 53, A8 (62), A9 (63), A10 (64), A11 (65), A12 (66), A13 (67), A14 (68), A15 (69).
  • Not all pins on the Leonardo and Micro support change interrupts, so only the following can be used for RX: 8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).
  • On Arduino or Genuino 101 the current maximum RX speed is 57600bps
  • On Arduino or Genuino 101 RX doesn't work on Pin 13

If your project requires simultaneous data flows, see Paul Stoffregen's AltSoftSerial library. AltSoftSerial overcomes a number of other issues with the core SoftwareSerial, but has it's own limitations. Refer to the AltSoftSerial site for more information.

Examples

  • Software Serial Example: Use this Library... because sometimes one serial port just isn't enough!
  • Two Port Receive: Work with multiple software serial ports.

Last revision 2019/12/24 by SM

Functions

  • SoftwareSerial()
  • available()
  • begin()
  • isListening()
  • overflow()
  • peek()
  • read()
  • print()
  • println()
  • listen()
  • write()

Corrections, suggestions, and new documentation should be posted to the Forum.

New Softwareserial Library Download

Download Softwareserial Library Zip

The text of the Arduino reference is licensed under aCreative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.