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
10 views

Debugging RN 42 HID Mouse

I'm trying to use the RN 42 and Arduino Uno to control a bluetooth mouse. I configured the RN 42 with the commands S~,6 and SH,0220 and R,1 to put the device in HID mouse mode. Is there anything I ...
1
vote
2answers
147 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
1answer
631 views

Problem of fetching data from web page using Arduino Uno and ESP8266

Project goal is to control a relay over web. I made a php page that receives the post data from Arduino then store the values sent into a mysql database (which is the relay status now). Now I need to ...
0
votes
2answers
2k 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.
0
votes
0answers
27 views

Program is executing but AT commands not showing in serial monitor

My purpose was to send SMS using GSM SIM800L coreboard and Arduino UNO. Here is the code #include <SoftwareSerial.h> //Create a software serial object to communicate with SIM800L ...
0
votes
1answer
48 views

Serial communication arduino mega and D1 Wemos Mini

Can anyone help me connecting arduino mega to D1 Wemos Mini serially? Please let me know most efficient and easy steps to setup a communication. Using that following tutorial: https://...
0
votes
0answers
30 views

HTTP get with ESP8266 via a SoftwareSerial port

I've Arduino UNO and ESP8266 connected via a SoftwareSerial. Arduino UNO communicates with ESP8266 by sending AT commands. And I need to write a function to fetch HTTP responses and return a response ...
0
votes
1answer
40 views

can we use Software serial and timer one at the same time or this software use also timer one? [duplicate]

i am using timer1 and software serial for gps data i need to see if we have a problem with connection . So i made a timer1 that's start before the loop that will wait the gps sending and after 3s if ...
0
votes
1answer
431 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
1answer
66 views

I2C and softwareserial

Attempting to make gps unit with screen. GPS unit communicates over serial (Adafruit Ultimate GPS Breakout) and I can get GPS data through USB to my pc with Adafruit GPS library softwareserial ...
0
votes
0answers
11 views

Unreliable EspSoftwareSerial Bluetooth transmission for longer read/writes on ESP8266

I have a project which runs on an ESP8266 and one functionality is to do nothing else but to read what comes in from a HC-05 Bluetooth adapter via SoftwareSerial and outputs the read data to the ...
0
votes
1answer
35 views

Receiving garbage value when sending a Json object from Arduino Uno to NodeMCU using SoftwareSerial

I am trying to send a Json Object from Arduino UNO to NodeMCU using SoftwareSerial. I am using Arduino IDE. I am getting garbage value on Serial monitor of NodeMCU. Tried it with different garbage ...
1
vote
1answer
2k 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
2answers
768 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
7answers
13k views

How can I stop SoftwareSerial from receiving data and re-enable it at some other point?

My project involves and RFID reader connected to an Arduino Pro Mini (5V, 16MHz) and an Adafruit CC3000 breakout WiFi chip. The device reads RFID tags and sends them to my web service. I am using ...
1
vote
1answer
39 views

Serial comunication with HC-05 - Arduino UNO

I am new to the site and this is my first question. I'm going to try to describe my issue the best I can. I got the following code for my project which consists basically of getting a car to have 2 ...
0
votes
1answer
859 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 ...
0
votes
1answer
59 views

Reading Buffer from Software-Serial & Writing to Serial

My progress so far: #include <SoftwareSerial.h> SoftwareSerial ttySerial(10, 11); // RX, TX byte buffer; void setup() { // Open serial communications and wait for port to open: Serial....
0
votes
1answer
778 views

Serial communication from Arduino to ESP8266 NodeMCU works, but from NodeMCU to Arduino isn't working

My circuit connection is like: (I am following this tutorial) Code uploaded to Arduino: #include <SoftwareSerial.h> #include <ArduinoJson.h> SoftwareSerial s(5,6); void setup() { s....
0
votes
1answer
114 views

serial 1 was not declared in the scope

#include <LiquidCrystal.h> LiquidCrystal lcd(2, 3, 4, 5, 6, 7); #include <SoftwareSerial.h> char Mob[20]="+923319020922"; String stringGPS = ""; String stringGPS1 = ""; char c=0; int t=0,...
0
votes
2answers
460 views

Sim800 FTP Arduino

I've been unable to FTP anything using an Arduino and SIM800L. I have reduced the code as far as possible: #include <SoftwareSerial.h> //Create software serial object to communicate with ...
0
votes
0answers
23 views

How to send and receive data from serial using analog pins?

I have L293D shield connected to my arduino UNO and it fills nearly all the digital pins including TX(1) and RX(0) pins. I know this function, but as far as I know, it works for digital pins. ...
-1
votes
2answers
3k views

GSM Modem Connection Directly to Rx and Tx

I am using Arduino Uno and using SIM800 GSM GPRS modem. I am connecting Arduino directly with SIM800 GSM/GPRS modem. I already read manually about GSM like how much power supply it needs and what ...
0
votes
2answers
1k 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
27 views

Adafruit thermal printer prints weak

I am currently hooking up my arduino to an adafruit mini thermal printer. When a button is pressed, some code is executed which then sends some information to the thermal printer. Everything works ...
0
votes
1answer
53 views

How to create a USB CDC device. (I'm using stm32f103c8 black pill board) and I want to read the data through USB in my raspberry pi as a serial port

How to create a USB CDC device. (I'm using stm32f103c8 black pill board) and I want to read the data through USB in my raspberry pi as a serial port. I am using a black pill to read RFID-rf522 to ...
0
votes
2answers
55 views

Reading from 2 serial ports

I have 2 Arduino Nano, they are connected via ports 2 and A2 While I use only one port to receive, it works properly. But if I activate the second port, system crash (and even first port don't work ...
0
votes
1answer
73 views

HC-12 modules stopped receiving, cannot understand why

I've created a simple transmitter with an HC-12 and an Arduino Nano (clone), where I send the values of DHT11 and LM35 sensors to a receiver unit made only of a Wemos D1 and another HC-12. Setup is ...
0
votes
1answer
38 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
1answer
137 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
55 views

Fixing serial communication , condition for serial data available checks out even after reading all the data sent

I have been working on monitoring an aquaculture , where I log the environment variables (temp. , humidity, gas sensor data) to firebase and control feeding mechanism via an app(where data can also be ...
0
votes
1answer
6k 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
46 views

Accessing softwareserial.available in the arduino loop function always return 0 but in the setup function returns the available byte [duplicate]

I am working on an accident detection system using arduino, what i want to do is to store the recipient phonenumber received as an SMS in the arduino EEPROM, using Serial1.available() to check for ...
0
votes
1answer
35 views

Basketball board arduino endlessly transmitting shot scored

I've been working on trying to get this arduino project I found to work but I've been encountering some problems. The project was designed for an Arduino mega 2560 but I've been using my UNO and ...
0
votes
0answers
79 views

ESP8266-01 serial communication with Arduino UNO

I have been looking forever why my serial communication is not working, hopefully someone can help me here. Arduino UNO code: //ARDUINO UNO CODE #include <arduino.h> #include <...
-1
votes
2answers
7k views

HC-05 Bluetooth module doesn't read data correctly from my Android phone

I have made a home automation project where am using an Arduino Uno and HC-05 Bluetooth module and an Android app. I did everything properly but when I send commands from my Android app it works ...
0
votes
1answer
80 views

SoftwareSerial data being corrupted - looking for suggestions

I'm having problems running a serial communication between a NodeMCU ESP8266 and an Arduino Uno. I'm using the "standard" SUART setup, i.e. pins D1&D2 on the ESP are hooked up with GPIOs 2&3 ...
0
votes
1answer
59 views

Arduino GPS Simulator: SoftwareSerial Issues

For my project, i need my Arduino Uno to simulate a GPS. To do this, I need to: Generate a 5V Pulse once a second (no problem) Send a $GPRMC NMEA sentence with the current time over RS-232 (i've got ...
0
votes
0answers
30 views

SoftwareSerial Stopped Working

I have been browsing the internet for about 3 hours now, it appears other people have had the same problem but I can't find a solution for it. Basically yesterday I received my first GSM module and I ...
-1
votes
1answer
36 views

Multiple Serial Ports Stream Switch

I am trying to define multiple serial ports (multiple BMS management boards) and select via a global variable the port which one is active, this is the sketch I am trying to modify. https://github....
1
vote
0answers
136 views

Using XBEE from my laptop, I want to assign multiple values in the Arduino

I'm trying to control motors by Arduino, from my laptop. I'm using MATLAB to send over packets of data, i.e. 'x=100,y=150,z=200' My scheme was to send this packet to Arduino, and have Arduino extract ...
0
votes
1answer
84 views

Serial doesn't initialise on Arduino Mega 2560 when not powered via the USB port

I am working on a project with a Mega 2560 and a Sim800L module. Everything works fine, however if i don't connect the USB port (at least once) and power only externally (either by Vin unregulated 7-...
0
votes
2answers
1k 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 ...
4
votes
5answers
31k views

AT command is not responding on serial monitor

I am trying to send AT commands to ESP8266. I re-flashed ESP8266 http://imgur.com/a/J8Ueh I followed this tutorial http://remotexy.com/en/help/esp8266-firmware-update/ and I hope it re-flashed ...
0
votes
1answer
276 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 ...
-1
votes
1answer
81 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 ...
1
vote
1answer
133 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
65 views

Can I connect a NEO-6M GPS Module and ESP8266 to the same Arduino?

Can I connect a NEO-6M GPS Module and ESP8266 to the same Arduino? I think both modules require the use of the RX and TX pins.
1
vote
0answers
1k 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 ...
0
votes
2answers
99 views

Uno to NodeMCU Serial Connection Problem

This is my first project with any sort of development board and it has been a blast so far. I am running into some issues, however, while trying to send serial data from my Uno to a NodeMCU board. ...

1
2 3 4 5
8