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
0
votes
0answers
28 views

Are there any transmission guarantees with the HC-06's bluetooth protocol?

I'm wanting to send serial data from multiple Arduinos to a Raspberry Pi using the HC-06 module. The connection will be delivering sensor data from the Arduino to the Pi for a smart home setup and it'...
1
vote
1answer
25 views

Using SoftwareSerial.h in .cpp file

I am trying to modularize the different components in my arduino build by using objects, but am having trouble with the one controlling a wireless transceiver, which uses SoftwareSerial.h I believe I ...
0
votes
0answers
41 views

Using the YS-IRTM with an Arduino Uno

Picked up a YS-IRTM IR Transmitter/Receiver module to do some testing for a project. There's not a lot of details on it but eventually came across two very important sources: Translated Module ...
0
votes
1answer
36 views

From Strings to int problem

I create applications for a computer that is to be used to control the robot arm. I wanted to make the first attempt to run the application not on the motor, but on the diode and check if it will ...
0
votes
2answers
43 views

Why the SoftwareSerial is not working properly on Arduino Pro Mini 3v3?

I uploaded regular pass through code for Serial and SoftwareSerial to communicate with my AT command based module. Writing to SoftwareSerial seems to be working but reading not. As I write "AT", the ...
0
votes
0answers
19 views

Serial Communication between arduino uno and esp8266-01 [on hold]

i want to send ultrasonic sensor value that connected to arduino uno to esp-01 module for send it to firebase, how can do that with code and connections arduino code void setup() { Serial.begin(...
0
votes
1answer
40 views

Why map Arduino pins 2 and 3 to Rx and Tx instead of using the build in Rx and Tx pins?

In many examples I see the following: #include <SoftwareSerial.h> const byte rxPin = 2; const byte txPin = 3; // set up a new serial object SoftwareSerial mySerial (rxPin, txPin); what is ...
0
votes
0answers
26 views

Hardware/Software Serial communication abruptly stops (HC - 05 bluetooth module)

I'm trying to send the readings of 3 sensors simultaneously to my Android phone on an app I made using MIT App Inventor 2 via the HC-05 bluetooth module. For this, I'm sending a string like "20.067, ...
1
vote
0answers
41 views

Serial Communication between arduino and nodeMCU

I am trying to connect a nodeMCU to arduino mega using serial communication so that i can read data from firebase. I have put the following code on the NODEMCU. #include<SoftwareSerial.h> //...
2
votes
2answers
363 views

What is the best delay to use between characters sent to the serial port

I have an Arduino Uno. It's role is to echo back what it receives. But if I send it a stream of ascii characters it starts to error after the first one. Occasionally it gets the second character ...
-1
votes
2answers
28 views

Send serial data at custom voltage using PWM

The Raspberry Pi has 3.3 V logic level and the Arduino has a 5V logic level. It is warned against connecting the Arduino TX to the Pi RX: Pi is 3.3v and the Arduino is 5v. Connect the two and you ...
0
votes
0answers
21 views

SIM800 Serial Communication Result Not As Expected

SIM800 module and a standard Arduino, I have a function to communicate by software serial with the module: String SIM800_send(String Incomming){ SoftwareSerial SIM800(SIM800_TX_PIN,...
0
votes
0answers
25 views

cant pass any value from serial to function

i'm new here and stuck with my problem so i make my code running stepper motor with verbal speed and its working perfectly then i attended to upgrade my code to change my speed by serial monitor ...
0
votes
0answers
21 views

sim800l only receiving SMS after serial monitor is started otherwise not receiving

I am using SIM800L and Arduino Uno. The programme is working fine when I turn the serial monitor on using Arduino IDE but when I start the Arduino board by using the adapter it is not receiving ...
0
votes
1answer
24 views

GSM incoming bytes from UART not complete

I have used AT commands to read incoming bytes from serial buffer from SIM900A but I cannot get the complete message using the code below: while(ss.available()>0) { inChar=ss.read(); inString+=...
0
votes
0answers
20 views

Only take certain characters from Arduino Serial Output [duplicate]

I am trying to create a ble scanner but only want the device address to be displayed The device address is the 12 characters before the :-0 in the outputs. In my code shown below I have tried to run ...
0
votes
0answers
25 views

Software Serial blocking Wifi Connection

I'm trying to connect my NodeMCU to wifi. It isn't finishing because software serial is interrupting it. Sort of like Software serial conflict with WiFi on ESP8266. Here's my code: #include <...
0
votes
0answers
67 views

how to name master and slave with UART and Serial event

I am trying to implement some small program using below code, now this code works fine and I'm getting data to the slave. But I have more than one slave, so now I'm not sure how to send the Address of ...
0
votes
0answers
23 views

Scanned RFID data is not appearing in the serial monitor

I am attempting to use this code to receive data from 2 ports, alternating between them: /* Software serial multple serial test Receives from the two software serial ports, sends to the ...
0
votes
0answers
30 views

Unable to interface using Softserial with ESP8266 and Arduino uno

I am trying to use a ESP8266 in an Arduino project, but I'm unable to get the basic Software serial interface working with it. I have the ESP connected to a secondary 3.3v power supply. When ...
-1
votes
1answer
47 views

Software and Hardware serial same time [closed]

Im using Arduino MEGA and using Hardware serial 1 and one software serial interface for communicate two different devices Nextion HMI(hardware serial 1) and Modbus temperature controller(software ...
0
votes
1answer
168 views

Send data string from Arduino UNO to ESP8266-01

Is there anyway to send a string from an Arduino UNO to a ESP8266-01 (one with only 8 pins RX, TX, CH-PD, vcc, ground, reset, GPIO0, GPIO2) without using without using AT commands. I've looked ...
-1
votes
1answer
172 views

Send Multiple Value from Arduino uno to nodeMCU using serial [closed]

I want to send 7 sensor data from Arduino uno to nodeMCU. But using serial I can send only one. How to send all 7 at the same time with time sync between the both devices.
0
votes
0answers
17 views

SoftwareSerial HC-05, ASCII “T” to turn on LED, doesn't work [duplicate]

Arduino Uno / HC-05 / ArduinoIDE App on my phone: "Bluetooth Terminal HC-05" I want the program to turn on the native 13th pin LED ON, if incoming text is "T" and turn it OFF if incoming text is "F". ...
0
votes
0answers
29 views

Reading incoming/outgoing bytes from SIM card / ATR

I am trying to read data from a two-way I/O uart pin of a sim card on Arduino. It is attached to the GPRS Arduino shield (with SIM900 modem). I believe I have a baud rate issue. I am supposed to ...
1
vote
1answer
49 views

Is it possible to have two serialEvent() in Arduino code?

I am developing a code on Arduino and need to implement a condition that if data is available form "serial2" then only get the input for "Serial" terminal of Arduino. I have tried with below code, ...
0
votes
1answer
28 views

SIM800l doesn't respond on arduino micro

I want my Arduino Micro to interact with my SIM 800 L module. But unfortunately nothing happens, may you can help me figure out where I made a mistake. Here's my wiring: Summary of my wiring: ...
0
votes
1answer
33 views

Using Arduino Mega with multiple HC05 Modules as masters, communicating to multiple HC05 Modules as slaves, each connected to separate Arduino

So I have not actually experimented with the HC05 Bluetooth Module yet, but I have read up about it and watched some videos. From what I understand, you cannot use one module (master) to communicate ...
0
votes
0answers
19 views

ZS-040 Bluetooth module is undiscoverable

My bluetooth module is connected to arduino nano using voltage delimiter (to get 3.3V) exactly as its said in this article. I connected it to my phone and was able to communicate with it through ...
0
votes
0answers
23 views

Serial Communication between ESP-01 and arduino [duplicate]

I want to send sensor data from arduino to esp-01 and it further goes to firebase. And also wanted to send status of water pump from firebase back to the arduino to control motor manually. So what pin ...
0
votes
0answers
176 views

Using 2 serial ports on NodeMCU

I am using a NodeMCU ESP 12E board which will be programmed using the Arduino IDE. I intend to use it to send GPS data to the Blynk app server. I also want to interface a Bluetooth module HC-05 to the ...
0
votes
0answers
39 views

Arduino serial read data conversion, getting garbage values

I am developing code on Arduino to read 9 bytes of data from other controller. I am getting same arrya elements which is transmitted from controller, but when I convert the same it gives me garbage ...
1
vote
0answers
79 views

RS485 Serial Communication not working with Arduino

I am trying to control 2 devices with my arduino using RS485 communication. Basically switch on device 1 for 5 seconds when I send 'g' to the master. And switch on device 2 for e3 seconds when I send ...
0
votes
1answer
46 views

How to use 2 serial port when WifiEsp library uses one of both

I try without success to receive datas from DataPort and transmit them to my computer via WifiPort, using ESP8266 wifi module. Each second, serial datas income on DataPort from another device. ...
0
votes
0answers
74 views

RS485 Arduino Communication Issue

Friends, I am trying to achieve half duplex communication between two Arduinos using RS485 Protocol. The hardware I am using is a MAX485 module and an Arduino Uno. I am using the SoftwareSerial ...
0
votes
0answers
31 views

Problem: char string not working with SoftwareSerial.h

I am creating a program to display text on an OLED display and then have it sent to a thermal printer. The issue is my second char string: word_buffer When I try to use word_buffer for any reason it ...
0
votes
0answers
50 views

SerializeJson not working when using softserial

IDE:1.8.8 Board:Arduino UNO When I use the code below, I get result of print like this. { "result": [ { "ID": "01", "Value": [ "2", "1", "13" ] } ] } But when I use SoftwareSerial and in the setup ...
0
votes
1answer
57 views

Problems with serial communication from Arduino to ESP8266

I've been trying to get an Arduino and ESP8266 to communicate with each other over serial. The ESP8266 uses the Serial class for communications, while the Arduino uses SoftwareSerial. The problem is ...
1
vote
1answer
225 views

How to chose softserial library use on Arduino project?

I want to do a project that has multiple Arduino communication through UART, that project project one of limit is using Arduino Nano (small and cheap). I need to set 4 serial port instance on Nano to ...
0
votes
0answers
40 views

Is it possible to make an HTTP get request using AT Commands without knowing the IP address of the web server?

I have the following code that can read a web page using HTTP get but I can only do it because the website I am doing it to has a static IP address, but in my project I am just hosting it on a free ...
0
votes
0answers
58 views

Arduino ESP8266 ESP-01S GET command

Looking for some help on this please. It is a little long winded, but the point of it is I cannot retrieve a string response via my ESP8266 ESP-01S. I connect my ESP to my Ardiuno using ...
1
vote
2answers
163 views

Several Software Serial Ports

I am planning to use an Arduino (Nano ideally, or Other) to send and receive information from several software serial ports to other arduinos, over their available pins, ideally 8 ports. I could ...
1
vote
1answer
53 views

Measure Sofware Serial write() time

As you probably know, SoftwareSerial uses Interrupts to do some of the timing stuff of the Serial communication. What I am trying to accomplish is to measure the time that it takes SoftwareSerial....
1
vote
1answer
59 views

Using Arduino as ISP and SoftwareSerial at the same time

I'm trying to use my Arduino Uno as an ISP to program an ATTiny85 and at the same time check my board by using the SoftwareSerial library to output the values I'm getting from my sensor. Is this ...
0
votes
1answer
42 views

ESP-8266 stopped working due to possibly faulty perfboard layout

I have been following this tutorial to set up my ESP8266. I have also recreated on a perfboard the circuit provided in the tutorial, and I intend to use this perfboard circuit in my project. The ...
0
votes
1answer
2k views

Did not find fingerprint sensor :( Arduino Mega 2560 Adafruit Fingerprint Sensor

I'm getting the following error when I try to enroll fingerprints using the Arduino Mega 2560 microcontroller along with a Fingerprint Scanner: Did not find fingerprint sensor :( The exact devices ...
0
votes
0answers
33 views

Making a ATMega328P-PU and computer communicate but not by standard serial communication

So i have been trying to make a ATMega328P-PU using the Arduino bootloader and a computer communicate the same way brands like Logitech and Razer makes their mouse's and keyboard's communicate with ...
0
votes
1answer
95 views

ESP8266 SoftwareSerial not receiving any character

I want to use a ESP8266 (ESP12) to receive data from a counter at 9600 baud via SotwareSerial. But my program does not receive any data. I broke it down to the code i attach here. I tried it using ...
1
vote
1answer
51 views

Why my serial message won't show on another when I try use 2 Arduino communication

I am trying to make a simple chatting program with my 2 arduino uno and 2 PC. But when I tried write a message using PC1 serial monitor the message won't show up on PC2 serial monitor. I can't see the ...
0
votes
2answers
180 views

Software serial conflict with WiFi on ESP8266

I'm trying to use an ESP8266 (Wemos D1 mini) to read from a 19.2K serial port and report the results over WiFi. Programming is via Arduino IDE. The code to read the port works just fine if WiFi is not ...