Questions tagged [software-serial]

54 questions
1
vote
1 answer

Two xbees ( Router At) connected to Xbee(coordinator)

I have been working on a project which involves xbees. My set-up is simply one Xbee ( coordinator Api mode ) connected to an Arduino as a master unit. This master unit recieves data from multiple Xbees ( slaves ) that are only powered up by a…
1
vote
0 answers

Arduino SoftwareSerial.write hex byte array

I Just want to send hex byte array using arduino to an external device. so at first i tried the device using c# and my pc. here is my sample code that works fine: _serial.BaudRate = 9600; _serial.PortName = "COM2"; _serial.Open(); byte[]…
0
votes
0 answers

Compilation error when trying to transmit and receive data to Dynamixel XL320 motors with esp32 with an active BLE connexion

I am trying to control various Dynamixel XL320 motors (https://emanual.robotis.com/docs/en/dxl/x/xl320/) with an esp32. I want my program to do three things: Transmit data to the motors (control mode, speed goal, ...) Read data from the motors…
0
votes
1 answer

Arduino SoftwareSerial wrong values

The wrong 1 byte values are being sent or received(I don't know) when using SoftwareSerial between Arduino leonardo and Arduino UNO. UNO and Leo are connected via: gnd pin 9 and 8 here is the code that runs on leonardo: //LEO #include…
0
votes
2 answers

Compilation error when trying to use SoftwareSerial and BluetoothSerial on esp32

I need to use SoftwareSerial for a little board I made with an M5Stamp and a LoRa board. I also was planning to use Bluetooth, but it gives me a compilation error if I try to use both libraries. Couldn't find much help…
0
votes
2 answers

Can we use 2 or more SoftwareSerial in Arduino?

So I have a project that need ESP-01 (ESP8266) and Fingerprint Sensor (FM10A), both of it would be connected to Arduino UNO. Both of the component need to communicate from SoftwareSerial. For some project-related reason I can't use the…
Rickyslash
  • 51
  • 1
  • 8
0
votes
0 answers

How to fix error ⸮⸮⸮ when use SoftwareSerial in ESP8266 connect with SIMCom

I am writing code for ESP8266 which connects SIMCom 76xx to get data using HTTP. That's my code: SoftwareSerial gsm(14, 12); // RX, TX void setup() { Serial.begin(115200); //Serial of ESP gsm.begin(115200); //SIMCom's serial,…
0
votes
0 answers

Arduino Nano BLE 33 with DFPlayer not working

I'm pretty new with Arduino circuits and I'm trying to connect a DFPlayer Mini to Arduino Nano BLE 33 Sense. If I understood correctly the library "SoftwareSerial" doesn't work on the BLE Sense and I'm not able to find a way to make the DFPlayer…
0
votes
1 answer

Arduino sequential softwareserial.print() overwrites itself

I am still having problems with writing from HM-11 bluetooth from DSD tech back to a phone app (Serial Bluetooth Terminal 1.35 on play store). My code currently has a large string cut into 2, as per the result of my last post, due to BLE havving a…
Collin
  • 73
  • 8
0
votes
1 answer

Arduino SoftwareSerial Write bluetooth cutting off static text message write back

I am fairly new to Arduino, so this is likely to be some very simple C/C++ issue that I don't know I am working on a RGB LED Cube that I made from parts based off of GreatScott's video. It works fine. I decided to improve wahat can be done with it…
Collin
  • 73
  • 8
0
votes
1 answer

How to connect a YX5300 serial mp3 player module to esp32?

I'm pretty new to IOT and esp32 but so far managed to learn by myself, however, when I tried connecting a YX5300 serial mp3 module to my esp32 I have struggled to even make the #include libraries work. I am using vscode along with platformio and I…
BOG33
  • 1
  • 1
0
votes
0 answers

Struggling with GET request between Arduino and ESP8266

Hello :) I know there are a few threads about the problem I'm going to explain. I've tried to understand similar problems like mine in Stackoverflow and other websites but I haven't succeeded, so please I'd be very thankful if somebody could help…
DaniM
  • 1
  • 1
0
votes
0 answers

Using/Manipulate String Variable in Arduino SoftwareSerial (iSerial.println(String_Variable))

As per subject, how do I to manipulate the string passed through SoftwareSerial Print/Println function? The reason why is I tried to make the URL parameter dynamic in order to access different webpages. *Note: The code snippet below are working fine…
Caey
  • 1
  • 2
0
votes
1 answer

Software serial using ESP8266

I am transmitting the CSV file saved on SD card using STM32F103 on UART line to ESP8266, The file reading and UART transmission snippet is as below. While loop of the STM32f103 for read/transmit file. Using the Software Serial code on ESP8266 code I…
0
votes
0 answers

How does my ESP8266/NodeMCU communicate with my GSM Module SIM800L?

so I want to connect my SIM800L GSM Module to my NodeMCU. I bought a LM2596 DC-DC voltage regulator to convert the output voltage to ~4V for the SIM800L. Input voltage for the regulator is 9V/1A. Everything is connected: RX from GSM to D5 (GPIO14),…
kfar3991
  • 1
  • 1
  • 1