Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
1answer
44 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
9 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
33 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 ...
0
votes
0answers
20 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 ...
1
vote
1answer
378 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 ...
0
votes
2answers
236 views

Need Basic Help with Software Serial

I am testing the basic Software Serial example on the arduino website, but I cant get the myserial to print #include <SoftwareSerial.h> SoftwareSerial mySerial(10, 11); // RX, TX void setup() ...
0
votes
2answers
433 views

Can't get software serial to work

So I have two Arduinos (Arduino Nano) and I'm trying to get them to communicate via SoftwareSerial. I have the 'sending' Arduino's D10 pin connected to the 'recieving' Arduino's D11 pin, and vice ...
1
vote
2answers
78 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
801 views

SIM800 GSM module with Arduino Uno + SoftwareSerial Library

I am trying to use SIM800 GSM Module with Arduino Uno. ARDUINO DIGITAL PIN 9 is connected to TX of GSM Module ARDUINO DIGITAL PIN 10 is connected to RX of GSM Module ARDUINO is powered by PC USB GSM ...
1
vote
1answer
45 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
1answer
21 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 ...
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-...
1
vote
2answers
658 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
2answers
25 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 ...
0
votes
2answers
263 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 ...
0
votes
2answers
459 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.
3
votes
1answer
77 views

My Arduino freezes if power removed from the HMI

I have an Arduino (Pro Mini) connected to an HMI display over serial. When the user pushes a button on the HMI screen, it activates a relay attached to one of the digital pins on the Arduino. For ...
1
vote
1answer
222 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
465 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
vote
1answer
64 views

Can't send SoftwareSerial to Class Object

I have a problem when I try to use SoftwareSerial in a class.. Here my detail My class class MyEsp8266 { protected: SoftwareSerial *esp8266; public: MyEsp8266(SoftwareSerial *...
1
vote
3answers
380 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
0answers
35 views

Ov7670 (without FIFO) captures the images twice at the same time

I recently started working on an security camera system, with an arduino uno and an OV7670 camera without FIFO memory, and an ESP-8266 to transfer the images to a webserver. Everything is working, ...
0
votes
1answer
42 views

Can't replace SoftwareSerial by Serial1 on Mega board

This sketch runs well with SoftwareSerial define and the monitor displays device modbus values. But now, i want to replace SoftwareSerial by Serial1 and i have no data. This is the sketch with ...
0
votes
1answer
63 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 ...
3
votes
1answer
99 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
3answers
273 views

Weird issue with software serial?

Hi i am trying to write a library to communicate between the arduino and the esp 8266. I wrote a command that that sends an AT command to the esp chip. So far I have tested these commands : AT, AT+GMR,...
0
votes
1answer
45 views

mySerial.available() is returning 0

I am using bluetooth hc-05, arduino uno and ap app created by mit app inventor.The problem is myserial.available is returning 0 and hence its loop is not getting executed. I had connected four pins of ...
0
votes
2answers
94 views

ESP8266 ASCII to HEX convertion and checking

I am trying to convert ASCII to hex and check if the hex is equal to that hex that I want. For example: 1B 42 05 it means B in ASCII, I need to check if that hex is equal to 1B 42 05. Here I need ...
1
vote
1answer
955 views

GSM SIM900A SMS content not displaying

I am trying to read messages sent from my mobile to a GSM SIM900A module on my Arduino Serial monitor. Neither does the AT+CMGR command nor does the AT+CMGL command display SMS content. I also tried ...
-1
votes
0answers
16 views

Print request return from ESP8266 using arduino as bridge

I am trying to achieve something that's probably really simple. I have an ESP8266 module connected to an arduino uno board. The ESP rx and tx are connect to two digital pins in the arduino. I'm also ...
0
votes
1answer
594 views

AtTiny44 and AtTiny 85 communication

I'm working on a project where I use two microcontrollers: an AtTiny44 (20MHz ext clock) and an AtTiny85 (8MHz internal). What I'm trying to achieve is an I2C communication between the 85 and the 44, ...
0
votes
3answers
78 views

I can send on software serial, but not read?

I've been cracking my head over this for a long while. Like many before me, I'm trying to send and receive data from a HM-10 bluetooth module, arduino mega adk and the app called BLE Scanner. I've ...
1
vote
1answer
184 views

getting error 'Serial' was not declared in this scope

I am adding Dust Sensor to my particle photon project at home, I got this GitHub project that I want to test before implementing a final code. I am not an expert in cpp, I wanted to modularise the ...
0
votes
2answers
749 views

SIM800L module just repeating data sent via serial

I've got a Teensy 2.0 with simple AltSoftSerial as displayed on image: As you can see, when I send a command (or any other input via serial) the SIM800L module sends me the same input. I tried to ...
1
vote
2answers
125 views

Alternative Rx/Tx Pins for Arduino Uno and Pro Mini

Do they have specific pins that is best to be use as Rx/Tx pins (aside from D0 and D1)? If so, what makes them special? edit: What pin feature i should look out for when choosing the rx/tx pin? Is ...
0
votes
1answer
19 views

Serial data not parsed correctly

The code I have works for the most part but when I send data via bluetooth received over software serial, too quickly, it is not parsed correctly. I'm a bit stuck with what can be done to a void the ...
0
votes
3answers
319 views

Make Arduino send and receive at the same time

I am working on a project where I connect a GPS module and GPRS SIM900 shield. The location will be sent when it recives a certain character. Now my question is, can the Arduino receive from GPRS and ...
0
votes
1answer
50 views

Is two modules using Serial Interface on one Arduino Uno possible?

I was wondering if I have both a Bluetooth HC-05 module and a GPS module (uBlox 7N) is it possible both for both to be using the serial interface? I'm aware they cant be operating simultaneously ...
0
votes
1answer
1k views

serial data transfer on gps shield duinopeak

I'm using an arduino uno r3 with a gps shield duinopeak. The shield is configured using RX pin 3 and Tx pin 2, as image below: I'm using the TinyGPSPlus library to read NMEA data. This is my code: /...
1
vote
1answer
101 views

ESP8266 Software serial to ATmega 328 is not properly working

Thanks in advance.. We are having esp8266-12E chip and Atmega328 connected as follows, ESP 12 pin as Tx,13 pin as Rx && Atmega328 13pin as Rx, 12pin as Tx. Everything works fine, but while ...
1
vote
0answers
772 views

HC-05 and HC-06 Bluetooth not communicating well

Please I am trying to communicate between two arduino UNO. One has a HC-05 which is configured as master, the other arduino has HC-06 which is the slave. What I want to achieve is to be able to print ...
0
votes
1answer
48 views

Accessing one code using another code on RobotDyn Uno+WiFi board [closed]

Ok so I've been trying to do this for quite some time now. Still couldn't get it to work. I am trying to read a ESP8266 WiFi program from a normal Arduino Uno program. I've seen some people do this: #...
0
votes
1answer
62 views

Unexpected result with the GSM module A6

I have a GSM A6 module, like this one. I'm going to use an Arduino Nano as a bridge to communicate with it, I have an external power source (since I read that this module can consume up to 2A at its ...
1
vote
5answers
7k views

SoftwareSerial with ESP8266

I am communicating with ESP8266 using SoftwareSerial of Arduino UNO. I can successfully send AT commands and get response when communicating through the terminal. But if i programmatically send ...
1
vote
3answers
2k views

Problem with Software Serial: no response

I am using an Arduino Uno board with IDE 1.6.7. I have tried to implement a tweaked version of the basic example (SoftwareSerial example) from the Software Serial library. The code is attached. It ...
0
votes
1answer
30 views

Unable to receive data when using multiple SoftSerial on Arduino Nano

I am trying to use several (four) software-based serial ports to talk to different peripheral hardware. However, I am unable to receive data through the SoftSerial when using more than one software ...
1
vote
3answers
7k views

SIM808 module GSM working fine, GPS not working (No GPS ready message on power on)

I powered on my SIM808 module. It showed me following output: RDY +CFUN: 1 +CPIN: READY Call Ready SMS Ready It supposed to show GPS ready also. I sent AT command and return ok. However ...
0
votes
1answer
112 views

array to serial

i want to send an array of int to another arduino by serial. To garantie a better robust during the transmission, i added < and > with endMarker and startMarker. The receiver wait until the ...
0
votes
1answer
131 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
1answer
105 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(),...