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
1answer
626 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
0answers
412 views

Problem with receiving data from Arduino via HC05 sent by Java

I want to both send some sensor data via Bluetooth (HC05) and Arduino to Java and I also want to send some command data via the same Bluetooth and serial port to Arduino. I've managed to do the first ...
0
votes
2answers
5k views

Arduino to ESP8266 SoftwareSerial communication

I have an Arduino Uno and an ESP8266, connected over serial through ESP8266 pin GPIO_2 (which is set as RX over espsoftwareserial) and 11 on Uno (which is set as TX over SoftwareSerial). I am trying ...
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
4k views

How to Capture Data from a Webpage in Arduino and Display it over Serial Monitor of ESP8266?

My Code is as follows-> #include <SoftwareSerial.h> SoftwareSerial ESP8266(8,9); String inData; void setup() { ESP8266.println("AT"); delay(1000); ESP8266.println("AT+RST"); } void loop() {...
0
votes
2answers
635 views

Connection bluetooth master and slave with Android

I send a date from my android to arduino without problem, but also i want send date from arduino to android later of received the date from android. I have time trying it, but i can not yet, help me. ...
0
votes
1answer
75 views

Are INTx pins the only ones eligible for Software Serial?

As opposed to PCINT (Atmel's Pin Change INTerrupt, INTx is arduino-compatible interupt) In other words, does Software Serial use atmel's pin change or arduino falling interrupt?
0
votes
2answers
494 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 ...
0
votes
1answer
690 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
2answers
947 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 ...
0
votes
2answers
577 views

SoftwareSerial Struggles

Just trying to understand and use the SoftwareSerial I want to connect a WiFi Module (ESP8266) If I send an AT command to the module I would like to print a response on my pc screen in the serial ...
0
votes
1answer
179 views

send more than one integer on serial between Mega and nodeMcu

i have 2 integers i want to send them from Mega to nodeMcu i get them to talk to each other by this one on Mega :- #include <DHT.h> #define DHTPIN 2 // Selecting the pin at which ...
0
votes
3answers
330 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,...
-1
votes
1answer
89 views

Arduino char showing as 2 characters

I'm writing the character 1 from a node.js XBee using the code sp.write("1"); to my Arduino's XBee. Then on my Arduino's XBee I read it like this (inside a loop): if (XBee.available()) { do { ...
-1
votes
1answer
1k views

A SoftwareSerial library for SAMD boards

So I've got three boards that I'm using to test this (modified) code: int sensor1Pin = A0; int sensor2Pin = A1; int sensor3Pin = A2; float sensors[] = {0,0,0}; void setup(){ Serial.begin(9600); } ...
-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 ...
-1
votes
2answers
388 views

RFID Reader ID12-LA reads every card as ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ

My new RFID reader ID12-LA by SparkFun can recognise an RFID tag, but it can't read its tag number - the Arduino IDE outputs the tag as ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Any help on how to convert this into a proper ...
-1
votes
1answer
59 views

Replacing stock String.cpp with smaller version

Hey all I am wondering if it's possible to modify the WString.cpp file to only include the commands that I need for my project since that file is so large. I am using a Digispark arduino that is ...
-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 ...
-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.
-1
votes
1answer
79 views

HC-05 modules with joystick driven platform [closed]

I am working to create a joystick controlled platform using bluetooth to communicate, but am having several problems. The platform https://www.dfrobot.com/wiki/index.php/Cherokey_4WD_Mobile_Platform_(...
-1
votes
1answer
97 views

i uploaded the code but when i open the serial monitor, but the 'sendCommand' isn't working in serial monitor…plzz help

#include <SoftwareSerial.h> #define DEBUG true SoftwareSerial esp8266(2, 3); // RX, TX void setup() { // Open serial communications and wait for port to open: Serial.begin(9600); //for ...
-1
votes
1answer
210 views

Serial communication with more than two Arduinos [duplicate]

Is my syntax "SoftwareSerial uno1(0,1); // RX, TX" is right to communicate with more than two Arduinos?. How can I communicate with three Unos via single Mega? #include <SoftwareSerial.h> ...
-1
votes
2answers
1k views

GSM GPRS module not getting any output from Rx , Tx

I am using a SIM800 GSM/GPRS module. I connected it using 4 wires: Vcc 3.7 volt (2 amp supply), RX and TX and GND. Whenever I try to send a command it shows me nothing. Here is my code. //Serial ...
-1
votes
1answer
545 views

Arduino Software serial not showing the received data

I get the data from a sensor which is in RS485. I am using RS485-RS232 Converter. Then its given to uart usb converter and I get the data in TTL. I am able to receive the data in uart (hyperterminal). ...
-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 ...
-1
votes
1answer
1k views

Unable to convert string read from bluetooth to int [closed]

I am using a HC-06 and i want to read a number ending with f as a delimiter, the first three numbers as my servo position, however converting the string into int is giving an endless series of 0s. I ...
-1
votes
1answer
287 views

Solution for two software serials

I've been working a while on a project using 3 Arduino Nanos, linked together using this tutorial Nick Gammon. As I am not experienced with Arduino programming, I was making it step by step. First I ...
-1
votes
1answer
927 views

Arduino to ESP8266 (SoftwareSerial) communication, does not receive full data

I have an Arduino Uno and an ESP8266, connected over serial through ESP8266 pin GPIO_2 (which is set as RX over espsoftwareserial) and 11 on Uno (which is set as TX over SoftwareSerial). I am trying ...
-1
votes
1answer
672 views

Unable to read the Serial Port through Arduino the way Serial Port Monitor softwares read it

I have a device feeding Rx Tx data every minute. I connected it to the computer. I downloaded a Serial Port Monitor Software, and here is the data I captured using that software. Now when I try to ...
-1
votes
2answers
2k 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 ...
-2
votes
1answer
61 views

Strange binary number representation

I have a very simple sketch, something like this: int aFour = 4; softwareSerial.print(4,BIN); softwareSerial.print(aFour,BIN); Which gives the following output: 1001 0011 Why don't they print ...
-2
votes
1answer
1k views

How to work with arduino softwareserial communication using HC-05?

This is my first project using bluetooth module HC-05.i am using two of this module.one is with arduino nano(slave) and another one is with arduino uno(master).I have paired them through AT commands . ...
-3
votes
1answer
53 views

Create an a message from two inputs[Programming Help] [closed]

I'm a bit new to this and I have the following function that I'm having trouble getting it to compile. The intent is to create a message to write out to a software serial port. Inputs are two int ...