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
1 vote
1 answer
116 views

I have 2 Arduino Nano that will communicate in half duplex mode with transceiver using MAX485. But the master has libraries like Wire.h, uses tone() and also receives UART communication. I'm a ...
steve d.'s user avatar
  • 113
0 votes
2 answers
194 views

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 ...
Nathan Marti-Turon's user avatar
1 vote
1 answer
128 views

I'm trying to build my own CNC machine. Since I need to control a large number of motors at the same time, I want to control it via an Arduino master and several slaves with CNC shields. Now I'm ...
Amamaway's user avatar
3 votes
0 answers
108 views

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. ...
Eduardo-bat's user avatar
0 votes
1 answer
184 views

I am trying to hook up to an A9G Pudding GSM board via an Arduino. I intend to use the onboard UART chip to facilitate TTL-UART conversion between PC and A9G. I have initiated a software serial ...
Mwasela's user avatar
  • 19
1 vote
0 answers
189 views

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 ...
Sudras Elagor's user avatar
-1 votes
2 answers
334 views

I have a problem with a project where one servo is resetting (browning out) two Arduino Pro Minis running 3.3v/8mHz. The two Arduinos are connected by SoftwareSerial on pins 9 and 10 and the slave ...
Charlie Nicholson's user avatar
2 votes
2 answers
442 views

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 ...
Semen Shekhovtsov's user avatar
0 votes
2 answers
546 views

I want to communicate over serial to another device (dfplayer) and also set the microcontroller into sleep mode. The ATtiny85 does not have a hardware serial pin so I need to use a virtual serial (...
boop's user avatar
  • 191
0 votes
1 answer
377 views

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 ...
Mohamed Essam's user avatar
1 vote
1 answer
524 views

The HardwareSerial requires to run an interrupt to store received bytes in the buffer. Look at this file from the Arduino Core. If I am now constantly receiving and writing on the Software Serial, the ...
RenX's user avatar
  • 127
-3 votes
1 answer
182 views

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 ...
RenX's user avatar
  • 127
4 votes
2 answers
201 views

Here is my issue: My code successfully recognizes and accepts $1 (0x40) and $20 bills (0x43), but it fails to recognize, display, process, anything for the $5 bill (0x41), and $10 bills (0x42). Also, ...
Mappy Wilks's user avatar
2 votes
0 answers
185 views

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 ...
Mike Oxmall's user avatar
2 votes
1 answer
306 views

This is a basic question, but I really have tried my best to find a solution on the internet to no avail. I have a fairly normal setup. HC05 module connected to an Arduino. The HC05 is also connected ...
iceninja21's user avatar
1 vote
1 answer
418 views

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 ...
BruceWawe's user avatar
2 votes
2 answers
4k views

I have a project that needs 3 serial ports on my ESP32 Dev 38-pin MCU. Two of them are for Nextion touch displays and the other is for a GPS. The problem from what I understand is that the ESP32 has 3 ...
Richard White Building From Sc's user avatar
-1 votes
1 answer
67 views

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 ...
Freddy Mcloughlan's user avatar
0 votes
2 answers
1k views

I have an Arduino UNO and an ESP32 that need to communicate to each other using SoftwareSerial. The problem I am coming across is that when I call readString and print it out using Serial, it will not ...
Primitive's user avatar
1 vote
1 answer
847 views

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 ...
PrinceSalmon's user avatar
0 votes
1 answer
107 views

I have a 2d array: const byte messages_for_measurement[2][8] PROGMEM = { { 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 }, { 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }, }; I want to send ...
user1584421's user avatar
  • 1,435
1 vote
1 answer
976 views

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 ...
obatala's user avatar
  • 11
1 vote
0 answers
155 views

I am currently sending temperature and humidity readings to a Thingspeak channel via a nodemcu esp8266 wifi module using serial communication between the arduino and esp. I have set the time between ...
Adriaan Bergh's user avatar
-1 votes
1 answer
482 views

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, ...
lesath82's user avatar
  • 101
1 vote
1 answer
385 views

I checked several answers for same question but none of them help. I also changed the nano board and GPS module but without luck. I ran it outdoor. This post question had same issue except my date ...
CoffeePlease's user avatar
0 votes
0 answers
194 views

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 ...
CoffeePlease's user avatar
2 votes
1 answer
1k views

I have a micro turbojet engine (JetCat P100-RX) which is operated through an Electronic Control Unit (ECU). The ECU has a lot of information about the engine. I want to access that information and ...
Atharva's user avatar
  • 53
1 vote
2 answers
3k views

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 ...
Aivion2000's user avatar
1 vote
0 answers
3k views

I am using SIM800L module the module. I am new to GSM modules, so I've searched for the basic to use the GSM with the Arduino. this is my code. #include <SoftwareSerial.h> SoftwareSerial ...
Mostafa Radwan's user avatar
1 vote
1 answer
1k views

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 ...
Luca's user avatar
  • 193
1 vote
1 answer
504 views

So I have been stuck with this for quite some days now and am really unable to put my finger on what's wrong here. Any help would be great. Try not to list down the disadvantages of SoftwareSerial, I ...
dravit's user avatar
  • 111
1 vote
0 answers
465 views

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: ...
Stéphane de Luca's user avatar
1 vote
1 answer
647 views

Ussing popular library https://github.com/plerup/espsoftwareserial/ can I have multiple softwareSerial ports (for example 6 ports). I’m the readme say “ several instances can be active at the same ...
Diego Serrano's user avatar
1 vote
0 answers
54 views

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 ...
Ten Bitcomb's user avatar
1 vote
0 answers
53 views

I need to receive some data from USB and send it to the Android device via Bluetooth. The problem is that multiple SoftwareSerials won't connect at the same time. Here is my code: SoftwareSerial ...
Egor Klepikov's user avatar
1 vote
1 answer
245 views

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 ...
Bart De Pauw's user avatar
0 votes
3 answers
1k views

I currently have 2 Arduinos both hooked up to HC-12s and have successfully got them communicating. But I am now trying to be able to process the data sent across and store it as a variable so as to ...
dka13's user avatar
  • 3
2 votes
0 answers
1k views

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 ...
Oscar Espinosa's user avatar
1 vote
2 answers
891 views

Well, I am trying make a library for HMI display. display and Arduino comminicate with Serial. So I will so many times Serial port. Generally I will use Serial.write commend. if I examine other ...
mehmet's user avatar
  • 297
1 vote
0 answers
374 views

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 ...
Bryn Parrott's user avatar
0 votes
1 answer
269 views

I'm trying to use softwareserial to exchange datas with a sensor. After some tries without any answer from the sensor, I checked the arduino TX with my scope and what I've seen is not what I've sended....
Prof_Sims's user avatar
2 votes
2 answers
6k views

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 ...
voticoy's user avatar
  • 21
1 vote
1 answer
399 views

I am trying to figure out how to capture the OK or the ERROR from a SIM800l. I have tried mySerial.println("AT"); while (mySerial.available() > 0 ) { String str = mySerial.readString(); ...
maxum's user avatar
  • 145
1 vote
0 answers
786 views

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....
Nebula Shade's user avatar
1 vote
1 answer
105 views

I am trying to write four values relating to energy (current, power, energy, and peak demand) via a SoftwareSerial connection from my Arduino UNO to my Raspberry Pi 4. However, two things are ...
phosphorescent's user avatar
0 votes
1 answer
138 views

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 ...
A Alptekin's user avatar
0 votes
1 answer
404 views

I am trying to send data between Arduino Nano and D1 Mini (ESP 8266 Module) My Code as below in Nano which will be the transmeting , #include <DES.h> #include <SoftwareSerial.h> ...
VinRocka's user avatar
  • 145
1 vote
0 answers
131 views

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 ...
zRockafellow's user avatar
1 vote
0 answers
57 views

guys. I am workin on a project. I have two channel for Serial RS232 communication. Main and Stand-By channel. If Main channel has some problem and, cannot communicate for 15 seconds then I want to ...
A Alptekin's user avatar
1 vote
0 answers
190 views

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 ...
Dratcher's user avatar

1
2 3 4 5
10