Questions tagged [softwareserial]
A library for emulating UART functionality in software on any available digital IO pins. Use this tag for questions regarding SoftwareSerial.
464 questions
0
votes
2
answers
190
views
SoftwareSerial.h: No such file or directory Arduino Nano + DF player
I'm looking to play songs from a DF Player mini and for that I use the SoftwareSerial.h library but my code keeps compiling an error that it's not there. In addition, the error only appears when I use ...
3
votes
0
answers
107
views
Why RTU bridge timeout even though answer is received?
I'm testing the following code as a bridge between https://sourceforge.net/projects/qmodmaster/ and https://pypi.org/project/pyModSlave/.
As hardware, I'm using a NodeMCU 1.0 and a USB/TTL converter.
...
1
vote
0
answers
187
views
Bluetooth (HC_06) on the Attiny85
I'm trying to make a hc_06 Bluetooth controller work on the attiny85-20pu.
In the end, I want to control a stepper motor through Bluetooth.
But for now to keep it simple I'm searching for a working ...
2
votes
2
answers
442
views
reading device or board specific properties from the Arduino MKR WiFi 1010 device
How to read programmatically the device specific properties from the Arduino MKR WiFi 1010 chip or board?
For example, following properties of the device:
any identification number, that can uniquely ...
0
votes
1
answer
377
views
sim800l gsm module response isn't completed
I am using the sim800l gsm module with nodemcu esp8266 and comunicating with it using AT+ commands. The module is working correctly but I am trying to use the command AT+CLCC to get all the current ...
-3
votes
1
answer
182
views
SoftwareSerial and HardwareSerial lost data
I need two Serial ports. One port is some sort of modified Software Serial, where I have to be listening constantly and send responses immediately if the port requires it. There is no XY problem ...
2
votes
0
answers
185
views
Arduino Uno not interfacing with GSM SIM900A Module
I am using an Arduino Uno with a SIM900A module. I want to send a simple SMS but it is not working, as it either has no response in Serial monitor or there are reversed question marks. I have attached ...
1
vote
1
answer
415
views
Incorrect data received on serial communication
I have two Arduino UNO connected with two wires, and ground, that exchange informations through serial data.
The communication is working with INT, but I am having troubles to receive correct ...
-1
votes
1
answer
67
views
Cannot communicate with software serial on particular devices (SIM7600G-H)
I have 3 devices:
An UNO (non-genuine)
An SMS hat/shield device SIM7600G-H to communicate with via UART
A USB UART controller for debugging purposes
I'm using the UNO to talk to the SMS device via ...
1
vote
1
answer
847
views
Issue communicating with ESP32 (WT32-S1) with my USB FTDI (hw-417-v1.2)
Basically im trying to communicate bewtween my ESP32 (WT32-S1) and my USB FTDI (hw-417-v1.2) when I run it in the Arduino IDE I get the error "Failed to connect to ESP32: Serial data stream ...
1
vote
1
answer
975
views
How to read and parse UART data from human presence radar sensor
I'm working on a project, and I purchased a 24 GHz "Human existence/presence" mm Wave sensor from micradar, the R24DVD1. The output of the module is serial data which varies in length and is ...
-1
votes
1
answer
480
views
Use same pin for two purposes
I have only one pin available and I'd need to use it both for a digitalRead and for sending serial messages (assigning it the Tx role within a SoftwareSerial). I can alternate these two operations, ...
0
votes
0
answers
194
views
Cannot upload sketch to DFRduino nano
I previously succeed in uploading the code to DFRDuino Nano (Arduino Nano Compatible) (with wrong digital pins) but after changing pin I cannot upload it again.
From the document, I changed back the ...
1
vote
2
answers
3k
views
Using Software Serial on Arduino Mega
So Im using this sensor:
https://wiki.dfrobot.com/Serial_6_Axis_Accelerometer_SKU_SEN0386 with this library https://github.com/DFRobotdl/DFRobot_WT61PC
Im using 2 sensors but got poor frequency on ...
1
vote
1
answer
1k
views
MP3-TF-16P only works while connected to serial monitor
I am building a project with Arduino Nano and the component in the subject, which, as far as I understand, can be assimilated to a DFPlayerMini (not sure if it's the same thing or it's just a cheap ...
1
vote
0
answers
463
views
Why do I read my own transferred data during my RS485 serial comms?
I am writing a RS485 serial communication firmware for the ESP32 (the minimal code is at the end of the question you can paste it as an Arduino INO or in platformIO main.cpp file).
It is quite simple: ...
1
vote
0
answers
54
views
SoftwareSerial fails to receive on Nano but works with Uno [duplicate]
I have built a circuit board that includes a BLE module and an oxygen sensor that has a UART. Writing arbitrary data to the BLE works fine, but for some reason every configuration of SoftwareSerial I ...
1
vote
1
answer
245
views
ESP8266 with HC05 : expecting to receive more bytes then the 63 received
I'm trying to read a Ant BMS 32H with a ESP8266 and a HC05 module.
BMS is sending 146 bytes when asking for these by sending DB DB 0 0 0 0 (HEX)
I did test with my android phone and the app 'Serial ...
2
votes
0
answers
994
views
How to know if GPS module is dead?
I can't make function the NEO-6M-0-001 GPS module, this is the third one that already bought! I'm using an ATmega2560 as microcontroller for obtaining the data from the module and seems that the ...
1
vote
0
answers
373
views
Is SoftwareSerial possible for Samd21 boards?
I have a SAMD21G18A-MUT custom board, which has 6 'grove' connectors, of which two are I2C In and out (sharing the same MCU Pins) and also has 2 'special' 8 pin connectors attaching to Particulate ...
2
votes
2
answers
6k
views
Printing the array using print and serial write function in Arduino Uno
I have, one program with only using printing array and other with serial write and print function for the array, while using serial write and print function I get these extra characters between the ...
1
vote
0
answers
786
views
PZEM-004T can't read current
I'm trying to measure the current, voltage, and power of AC load using Peacefair PZEM-004Tv3.0 module. For the serial communication of this module, I'm using SoftwareSerial Pins 2 and 3 on Arduino Uno....
0
votes
1
answer
138
views
Listening Serial Ports
guys. I need your help. I have 6 Serial Channels and I need to listen this channel and be sure which channel is working? How can I do that? Can I listen this channel by using digital inputs? Or Do I ...
1
vote
0
answers
131
views
Question about MIDI library
I'm trying to replace this code with something that uses the Arduino MIDI library:
#include <SoftwareSerial.h>
#define rxPin 2
#define txPin 1
SoftwareSerial midiSerial (rxPin,txPin);
void ...
1
vote
0
answers
190
views
How can I handle six SoftwareSerial ports for six Nova SDS011 Air Quality Sensors on Arduino MEGA?
First of all, thank you in advance.
I'm trying to connect six Nova SDS011 Air Quality Sensor (sensor specifications here) to an Arduino MEGA. I'm using the Nova Fitness Sds dust sensors library which ...