Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [softwareserial]

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

-1
votes
2answers
23 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
1answer
1k 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
1answer
104 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
vote
0answers
774 views

Arduino Mega 2560 SoftwareSerial Not Working

We have an xBee Pro S2C that is using this library (https://github.com/andrewrapp/xbee-arduino) very well on a Software Serial connection to ports 2 and 3 on an Arduino Uno. However, when we take the ...
1
vote
2answers
94 views

Two serials can't work on the same speed

I have a device which sits on pins 10/11 of Arduino UNO. I am trying to send commands from my PC using Arduino to relay my commands to the device via Serial. The problem is that if I use speed 9600 ...
0
votes
0answers
20 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
24 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
18 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
18 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+=...
1
vote
2answers
832 views

Arduino reads hc-05 device connecting status

Hello I want to get an arduino get status of bluetooth hc 05 if connect with device or not . I'm trying by myself and search on internet website but I can't find useful things.
1
vote
1answer
51 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 ...
1
vote
0answers
206 views

Trouble in acquiring NEO6M GPS data through S-Function builder at Matlab simulink using Arduino libraries

I have connected a NEO6M GPS module to an Arduino Mega 2560 and programmed using TinyGPS++ library's "Device Example". I am getting proper data at serial port. NEO6MGPS to ArduinoMega2560 Vcc ...
1
vote
0answers
244 views

Arduino hardwareSerial Bluetooth.println not sending string over 310 chars

Hey all I am wondering if my code below can be modified in order for the Arduino to send more than 300 chars to a HM-10 bluetooth 4.0 le module? #include <SoftwareSerial.h> #define ...
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 ...
1
vote
2answers
1k views

GSM and GPS module don't work together

I am trying to create a project which involves getting latitude and longitude via GPS Module and send it via GSM Module. My problem here is that individual code is working perfectly. However, if am to ...
2
votes
0answers
1k views

Sending binary data to Matlab via serial

I would like to exchange data via Xbee. I've set up a communication based on strings between the Arduino and a Matlab software. Unfortunately this kind of communication isn't enough robust and ...
0
votes
0answers
24 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
56 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
1answer
22 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
131 views

vk2828u7g5lf GPS module over SoftwareSerial

So my goal was simple. Trying to get a GPS speed, and show it on a display (later use it to control a stepper motor). I am using the vk2828u7g5lf GPS module from Banggood, which after days of ...
1
vote
1answer
986 views

Sending PUBX commands to GPS Board (Ublox NEO-6M) through SoftwareSerial

I am having trouble parsing NMEA sentences coming from a GY-NEO6MV2 board (https://www.cytron.io/p-gps-neo6mv2), using the TinyGPS (https://github.com/mikalhart/TinyGPS) library. The GPS board itself ...
2
votes
1answer
1k views

Laser emitter + receiver for Arduino (Arduino to Arduino communication)

I'm working on a project using 2 Arduinos connected to 2 computers to demo Serial to Serial communication. We're using Arduino Uno connected to the computer via Serial and software serial for inter-...
0
votes
0answers
20 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 ...
1
vote
2answers
708 views

How will Arduino communicate wirelessly through XBee?

I am using one XBee S2 configured as coordinator API attached to my laptop and one XBee S2 attached to an Arduino Uno that is configured as a router AT. I want to generate an alarm on LabVIEW as I ...
0
votes
0answers
29 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 ...
0
votes
2answers
753 views

how to make GPRS/GSM SIM900 shield work with gps neo-6M module using Arduino UNO board

I'm a beginer to arduino program.i will like to make a program that will send latitude and longitude on my mysql database.so since 3 days i try to learn how to use all this material(GPRS/GSM SIM900 ...
1
vote
1answer
240 views

Cannot receive data from GPS SD Shield V2-B

I am attempting to receive GPS data from a GPS SD Shield V2-B purchased from maplin. I have attempted the very simple sketch they provide on their website linksprite.com. I have also tried following a ...
0
votes
1answer
597 views

How to communicate with GPS SIM900a without Serial Monitor

I am fairly new to Arduino. I was working on a project where I use a GSM SIM900a modem interfaced with an Arduino. The AT commands are sent via the Arduino to the GSM Modem. The problem, however, is ...
-1
votes
1answer
38 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 ...
1
vote
3answers
432 views

Garbled serial from GPS device

I'm using an Arduino Uno. "Regular" serial is plugged into my computer, and I can receive just fine. I'm using AltSoftSerial (tried SoftwareSerial, same results) with RX and TX on pins 8 and 9 to ...
0
votes
1answer
69 views

Not able to control digital pins using commands sent via HC-05 module

I am trying to control the LED on pin13 using the below code but it's not working. With this code I am able to print to the Serial Monitor but the code has no effect on the any of the digital pins. I ...
2
votes
1answer
113 views

Accelerometer (I2C) and Fona Shield (software serial) won't work together

I am using a Fona 808 shield with an Arduino Uno and the LSM303 accelerometer. The accelerometer is connected via I2C and the Fona uses software serial. My project requires the accelerometer to be ...
0
votes
1answer
37 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. ...
-1
votes
1answer
117 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
16 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
45 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
27 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
16 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
1answer
415 views

Bluetooth OBD2 ELM327 connectivity issues

I made a little project using an Arduino UNO, a 3.5" display, a HC-05 bluetooth module and an ELM327 (cheap ebay clone). I managed to establish communication, read the data, interpret and display it, ...
0
votes
0answers
22 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
74 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
37 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
69 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
2k views

SoftwareSerial data not available

Second time I'm asking the same question with no solution, let me elaborate in other way for clarity. I wrote an Arduino program which uses two serial ports, one is hardware serial port and other is ...
0
votes
1answer
342 views

Passing HardwareSerial and SoftwareSerial as a Class Property

I wish to know if there is a way to use a single property Serial0 to hold a HardwareSerial or a SoftwareSerial or other class instances supporting basic methods such as available(), read() and write(),...
1
vote
2answers
6k views

SIM800L not registering to network

I am using SIM800L module. I am new to GSM modules. I have searched in many web sites about SIM800L, every where they mentioned baud rate 9600 for SoftwareSerial but it is not working at all in my ...
0
votes
1answer
44 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 ...
0
votes
0answers
54 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 ...
-1
votes
3answers
1k views

Arduino Problem with using SoftwareSerial and SPI

I am using an external ADC (via SPI) and also a GPS receiver (Software Serial). I tried each one of them and it's working fine. Now, when I try to integrate both of them in one sketch, I can only make ...