Questions tagged [software-serial]
54 questions
3
votes
1 answer
Arduino softwareserial clashing with SPI?
I have an Arduino project that is using an nRF24l01+ radio module over SPI (using this library: http://tmrh20.github.io/RF24/) and an RFID reader over softwareserial. I am sleeping my Arduino and having them wake it up via interrupt when a message…

MaxStrange
- 137
- 1
- 10
2
votes
2 answers
How to use SoftwareSerial with ESP8266
I'm trying to get an ESP8266 to work with Arduino by using PlatformIO. But, I get errors when importing SoftwareSerial.h
Tried: Arduino IDE, PlatformIO, Change baudrate, change port
How can I get SoftwareSerial to work with the ESP8266?
#include…

Bart
- 21
- 1
- 1
- 2
2
votes
0 answers
Conflict between Arduino delay function and SoftwareSerial
It seems that I have a conflict between SoftwareSerial and the delay function on my Arduino (GeekCreit bought on Banggood). I am trying to use SoftwareSerial to send AT commands to an ESP-01.
When I perform:
#include…

David Combaluzier
- 21
- 2
2
votes
2 answers
SoftwareSerial example not working as expected
I recently bought an Arduino UNO to read the data outputted by my Smart Meter. The meter uses serial communication and I would like to see the values being outputted on my laptop screen. I figured I would need to use the SoftwareSerial library to…

Erwin Janssen
- 31
- 1
- 5
2
votes
3 answers
Arduino/c++ using SoftwareSerial class in another class
I'm trying to build some class, it's been a very long time since i've been making OOP, and mostly i've forgot everything ;)
I'm trying to build class inside of wich i read from SoftwareSerial, and make something with that later.
I've made this…

Cheshire Cat
- 49
- 5
2
votes
1 answer
The SoftwareSerial Library of Arduino, why it needs PCINT (pin change inturrupt feature.)?
The SoftwareSerial Library of Arduino don't work with clones made of ATMEGA32 as this do not have PCINT feature. How serial communication is linked with PCINT? can the INT pins of ATMEGA32/16 be someway used by the modification of SoftwareSerial.cpp…

user45603
- 25
- 6
1
vote
0 answers
Rust version of Arduino SoftwareSerial
Is there a Rust alternative to the Arduino library providing the SoftwareSerial type, which allows one to use any two regular pins to do serial communication instead of having to do it through hardware?

weisbrja
- 164
- 10
1
vote
0 answers
EspSoftwareSerial with ESP8266: error no matching function for call to 'SoftwareSerial::SoftwareSerial()'
i am trying to program with Arduino IDE 1.8.13 using EspSoftwareSerial library (target ESP8266).
Whatever example provided that I try to compile, I get an error (for example for the program "servoTester") :
#include
#include…

user2897496
- 19
- 4
1
vote
1 answer
I want to know about Serial Communication in Nodemcu. How we can use more than 2 serials at a time like we use in arduino
I'm new and I just want to know if we can use more than 2 Serial comms in nodemcu by using Software Serial.. I m currently using 3 modules which need serial communication and I want to use them with a single Nodemcu. Is it possible?
I'm trying to…

Zeeshan
- 11
- 2
1
vote
1 answer
ESP8266 - Response from server gets cut
I'm using an ESP8266 connected to an Arduino one via SoftwareSerial to make a post request to a node web server. The ESP8266 sends some data to the server and it should get back other data. The data arrives at the server correctly, but the response…

ElectricPikka
- 47
- 6
1
vote
1 answer
ATTiny85 Serial communication with Bluetooth Module
For a simple project, I would like to use an ATTiny85 connected to an HC-06 Bluetooth module, so it can talk to my Android phone.
I wrote code for my Arduino Uno and it worked as expected. When I changed the code to use on my ATTiny85 I got an error…

João Ghignatti
- 2,281
- 1
- 13
- 25
1
vote
1 answer
Having timer collision issue with using Servo and SoftwareSerial
I'm having timer collision problems with using Servo.h and SoftwareSerial.h on Arduino Nano board. And now I need 2 pairs of Serial pins by using NFC Module and Arduino's Serial Monitor on my laptop.
If the information I got is not wrong, there are…

David Kim
- 23
- 1
- 6
1
vote
2 answers
Arduino SoftwareSerial library doesnt work
I have a very simple piece of code for Arduino Uno. Using SoftwareSerial lib.
#include
#define rxPin 6
#define txPin 7
SoftwareSerial mySerial(rxPin, txPin);
void setup() {
pinMode(rxPin, INPUT);
pinMode(txPin, OUTPUT);
…

RanL
- 139
- 9
1
vote
1 answer
Arduino send ascii chars without carriage return
I am working with a Ciseco srf module trying to send "+++" from an arduino nano. My code is
bool b =false;
void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial…

Flood Gravemind
- 3,773
- 12
- 47
- 79
1
vote
0 answers
Is there a way to pipe all Serial output into a Software Serial?
I've build a micro controller based on the ATmega644 and I'm running an arduino core on it.
Some libs I use have debug output via Serial.
Thing is, I'm using UART for RS485.
Debug output of my code goes out via Software Serial.
Is there a way to…

mrv
- 311
- 1
- 4
- 8