Skip to main content

Questions tagged [softwareserial]

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

Filter by
Sorted by
Tagged with
5 votes
2 answers
19k views

I would like to read data from a rs232 device (SL-5868P Sound Level Meter). protocol and more : https://sigrok.org/wiki/Colead_SL-5868P. I already have a Python script to read the data with a TTL to ...
Joost's user avatar
  • 75
0 votes
2 answers
100 views

I'm trying to send data from Arduino Mega to UNO. The master code sends characters 'x' and 'a' every half second to the slave Arduino UNO. Slave receives the characters and switches the state of the ...
Shyam3089's user avatar
  • 165
1 vote
1 answer
156 views

I have one external sensor and I want it to be connected with Arduino. The sensor came up with a usb cable and the pin out diagram is also given in the data sheet . When I simply connect the the cabe ...
Lawliet's user avatar
  • 183
1 vote
0 answers
201 views

Board: ESP32 Development Board I am trying to get the adafruit soundboard code to work on my ESP32. I have installed espSoftwareSerial but I keep getting errors with their sample code. I receive ...
James's user avatar
  • 111
0 votes
2 answers
2k views

I wish to connect an Arduino ( any of 328P family ) which its 5v, with ESP8266 (ESP-01, or even NodeMCU or Wemos D1 mini ) which is 3v3 logic. My goal is that ESP8266 will be in-charge of MQTT ...
guyd's user avatar
  • 1,049
2 votes
1 answer
235 views

Here's a schematic of my project: The purpose is to make laptop work as keyboard for desktop PC. Nano uses Serial.read() to get keystrokes from laptop and forwards key press and release data to ...
chocolate's user avatar
1 vote
1 answer
270 views

I do not know much electronics. I have Nano v3 as I2C master, it reads 5-byte packets (of delimtted data) from PC's USB port, processes it and forwards it. I now need to implement a way to signal PC ...
chocolate's user avatar
1 vote
0 answers
133 views

I want the number from an RFID tag read by a reader connected to an Arduino Mega to end up as a string on a NodeMCU connected to the Mega. I am trying to confirm that the string is on the NodeMCU ...
Jonathan Talbot's user avatar
1 vote
0 answers
171 views

I am trying to use an ESP32-S2 feather board with a separate bluetooth module, the Adafruit BLuefruit LE UART Friend. I previously used this bluetooth module with the Feather M0 Adalogger through UART ...
Cem Adatepe's user avatar
1 vote
1 answer
477 views

Am using SIM7600X 4G HAT module (GSM) and Arduino Uno after I start the module and Arduino, I receive data from Gsm module but I can't send any command to it. On my Arduino board when I get data RX ...
Tanatorn Boonprasert's user avatar
1 vote
1 answer
111 views

I have Arduino Uno (sender) and Arduino Uno Wifi rev 2 (receiver). I want to send the ping value to the other one via serial - jumper wires. Arduino Uno is using the newping example, and I want the ...
foxtrot22's user avatar
  • 121
0 votes
1 answer
337 views

today I connected the SDS011 to NodeMCU. I noticed that this only works when the sensor is connected to the voltage VU. If I connect the sensor to another pin for the voltage, it does not respond. Why ...
TrompetenTom's user avatar
1 vote
0 answers
431 views

I am trying to read data from a Blynk widget via ESP8266 and Arduino UNO and trying to send it to another slave Arduino UNO. But, the problem is the data is taking some time to reach to the slave ...
coder-ari's user avatar
1 vote
1 answer
1k views

I originally was only going to make my program work on an ESP until I needed it on an Arduino UNO (because I suspect my ESP is broken). I had to add SoftwareSerial support but because I didn't ...
DreamingInsanity's user avatar
4 votes
1 answer
1k views

How to use SoftwareSerial.Write without blocking if buffer is full? Serial.write blocks if the buffer is full. So I need to check Serial.availableforwrite before calling write to prevent blocking. But ...
firendlyQuestion's user avatar
1 vote
1 answer
2k views

I am trying to get Arduino nano and SIM800L module working together. I provided the module with the recommended external voltage of 4.0V (documentation states 3.6V - 4.2V) transformed via LM2596. The ...
user avatar
1 vote
2 answers
733 views

Title question. I do not need any receive communication pins, only transmission. Actually, I need as many transmission pins as possible on any Arduino besides a Mega2560 (to re/write the EEPROM of ...
Adamelli's user avatar
1 vote
1 answer
367 views

My two arduino communicating serially with XBee. The receiver arduino also controls the servo motor. Servo works stably when there is no xBee connection. But when Arduino's serial communication, there ...
Enes Orhan's user avatar
1 vote
0 answers
140 views

I have ZEDF9P AND ARDUINO and connected them Via UART. I have written program which is showing that NMEA strings are coming in arduino and arduino is filtering out if GPS jamming is taking place. Now ...
Aroo's user avatar
  • 43
1 vote
0 answers
69 views

My arduino mega should be communicating with another card (ANET8) and also with a DC resistance meter (with python code) using 2 serial ports, one using the USB(resistance meter) and the other one ...
TESLA's user avatar
  • 31
1 vote
1 answer
608 views

I'm using Arduino Uno as my microcontroller, but I got a strange behavior. I need to run several function at the same time. One to get GPS and temperature value then send every value to user's phone ...
Nebula Shade's user avatar
0 votes
1 answer
425 views

I am sending data from an ESP8266 to an Uno (I need to use the Uno because it has more inputs than the ESP and I need those for my project.) The ESP8266 is connected to the Uno's Serial pins 0/1 RX/TX ...
garson's user avatar
  • 159
1 vote
1 answer
538 views

For the last days, I am trying to establish serial communication between nodemcu and Arduino Uno but I failed to do this. Currently, I am working on a Home Automation project. I receive data from ...
Nishant Srivastava's user avatar
2 votes
1 answer
65 views

I'm wondering if it would be somehow possibly to have easy communication with a computer for Arduinos that don't have USB like the pro mini. That would make an easy way of having two-way communication ...
Karmanyaahm's user avatar
2 votes
2 answers
846 views

I get two 10-bit values from analog pins. These two values in a string, ";" combine with. for ex: 515; 510 I am sending it to another arduino via Serial.print. I cannot display this string ...
Enes Orhan's user avatar
2 votes
0 answers
105 views

I am sending a list of joystick positions via the serial connection to the arduino in the following format 515;520 Which would be parsed as: x=515 y=520 How would I split these values up, and convert ...
Enes Orhan's user avatar
2 votes
0 answers
179 views

When I separate fingerprint code and LCD code it works fine. sensor read 6 templates which I already stored 6 fingers ID. When I combine the code it read 0 templates. #include <Adafruit_Fingerprint....
SASHA SYAZANA 's user avatar
1 vote
0 answers
602 views

I know this is Arduino Forum but I think this question is related to programming, I am using ESP8266 for the project. I need to convert the string incoming on the serial through UART lines and ...
Naren2312's user avatar
1 vote
1 answer
999 views

Below is the code that I have done on Lolin Wemos D1 R2 and mini it works fine but it throws exceptions every time, I tried understanding my problem by reading this: NodeMCU 1.0 - Exception 9 `Fatal ...
Somasundharam Sampath's user avatar
1 vote
0 answers
907 views

I am using ESP01 as a microcontroller that retrieves information from Firebase and sends them over serial to an Arduino Uno for other uses. I am not using NODEMcu since it has few analog pins and ...
k.h's user avatar
  • 11
2 votes
2 answers
291 views

I've been trying to turn off an MHZ19B (datasheet and teardown photos: revspace.nl/MH-Z19B). I've used an Arduino, NPN, PNP transistors and mosfets as well as the diagram below for connecting the ...
Constantin's user avatar
1 vote
0 answers
224 views

I am working on a bluetooth HID device. There are libraries which make HID devices a cake walk if you are making a wired version of your HID device. I managed to configure my bluetooth module to ...
REVOLUTION's user avatar
-1 votes
1 answer
2k views

I have a RDM6300 RFID module which I am trying to connect to an ESP8266 by using rdm6300.h library. I had it all up an running all along with other components but we had connected to the ESP8266 but ...
user2128702's user avatar
0 votes
1 answer
496 views

#include <SoftwareSerial.h> SoftwareSerial my (D6,D7); //(Rx,Tx) String msg; void setup() { Serial.begin(115200); my.begin(9600); } void gas() { Serial.println(msg); if (msg == "0&...
Syed Abubakar's user avatar
0 votes
0 answers
755 views

Well I am trying make language page with Nextion display and Arduino Mega. If user enter the language page Nextion display is sending page name with this commend to Arduino for which is current page. ...
mehmet's user avatar
  • 297
1 vote
0 answers
281 views

I'm using SoftwareSerial with a SIM808 GSM modulde to detect incoming SMS messages. The problem I'm currently having is that I need to access the phone number from the received SMS so I can send a ...
connersz's user avatar
  • 266
0 votes
3 answers
4k views

I'm using software serial on my weather station. The way it's supposed to work is that you send an SMS to the device and it replies with the wind speed, etc. At the moment, The wind speed is detected, ...
connersz's user avatar
  • 266
1 vote
1 answer
449 views

I need to send gyroscope values and a voice command flag and counter with a start and end marker through serial in the format <2,4,5,6> through Arduino Software serial using the HC05 Bluetooth ...
Nahian Rifaat's user avatar
1 vote
0 answers
174 views

I have an Arduino Mega 2560 with an ESP8266 built into it, and a SIM900 shield, which I am building a project with. The shield is powered by an external adjustable 3-12V, 2A supply set at 6V so power ...
VictorySpecificationII's user avatar
1 vote
0 answers
547 views

I'm new here, so I hope my question is not naive. I'm using Arduino mega connected with a pulse sensor and a GPS (and other things that are not related to our problem), pulse sensor and GPS data are ...
Aidakf's user avatar
  • 11
1 vote
0 answers
181 views

I'm using a sim800C module and an Arduino Uno. I want the code to send back an SMS to a number which sends it the password. So, if the sim module receives 'abcd' I want it to send back an SMS, saying '...
Pransy Pansy's user avatar
0 votes
1 answer
4k views

I have two boards, Uno and ESP32 and my goal is to send data from the Uno to the ESP. I made a voltage divider so my ESP doesn't get fried and I use the communication only in ONE way, strictly UNO -&...
Anthino Russo's user avatar
1 vote
0 answers
195 views

I have the following code, which allows me by scanning a typical 128 barcode to write this code in SD card under the Header "FA" as well as the time and date of scanner under the Header &...
Maximilian1988's user avatar
1 vote
1 answer
311 views

For one of my projects, I need to transmit data from NodeMCU to my Arduino Nano, in real time, I used S-Bus, but it quite unsatisfies me, as, slight latency is taking place. I am transmitting a JSON ...
prikarsartam's user avatar
0 votes
2 answers
619 views

I am using software serials on my Arduino nano to read data from my esp01 in functionality testing for the software serial. I simply make the esp01 to send a string "OK" to an Arduino's ...
Boris Sukpholtham's user avatar
0 votes
0 answers
431 views

I can't read data using SoftwareSerial library, because SoftwareSerial.available() is always 0, no matter what I do. I'm trying to communicate 2 Arduinos Uno, the 1 Serial (name of the first Arduino ...
AndBraz's user avatar
1 vote
2 answers
2k views

I am learning how the Arduino and GPS module work so I can apply it to another project. My components are an Arduino Uno, NEO-6M GPS module, and a Adafruit 1.8" TFT display. The code did not work ...
Tvr4's user avatar
  • 11
2 votes
1 answer
222 views

I am using the mega 2560. When I just use .ino and .h files, if I use Serial, it works fine, without even using: #include <SoftwareSerial.h> However, when I add a .cpp file I start getting 2 ...
Bbit's user avatar
  • 123
2 votes
1 answer
274 views

I'm trying to use the RN 42 and Arduino Uno to control a bluetooth mouse. I configured the RN 42 with the commands S~,6 and SH,0220 and R,1 to put the device in HID mouse mode. Is there anything I ...
ponderosa's user avatar
1 vote
0 answers
321 views

My purpose was to send SMS using GSM SIM800L coreboard and Arduino UNO. Here is the code #include <SoftwareSerial.h> //Create a software serial object to communicate with SIM800L ...
Udara Sampath's user avatar

1
2
3 4 5
10