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

learn more… | top users | synonyms

2
votes
1answer
17 views

Arduino Leonardo - Using ICSP pins for serial

I'd like to know if it's possible to use the ICSP header pins on the Leonardo as GPIO pins, for example for software serial, and how to address them. I've a project which needs all available I/O pins, ...
0
votes
0answers
7 views

GSM librarys Software Serial conflicts with I2C pins 2 and 3 for Arduino Micro

The GSM library apparently uses the Software Serial library to perform the communication. The Arduino Micro specified pins for the serial connection to the GSM is pin 2 and 3 (doc says, but see def of ...
1
vote
0answers
15 views

ESP-12f SoftwareSerial read fails

I am trying to use esp8266 version of SoftwareSerial, espsoftwareserial, on an esp-12f. If I initialize an object using: SoftwareSerial gpsSer(14,12, false, 256); or SoftwareSerial gpsSer(12,14,...
1
vote
0answers
22 views

Odd symbols in ESP8266 responses to AT commands

I used the code below to control an ESP8266. I am getting some unknown symbols in the responses. #include <SoftwareSerial.h> const byte rxPin=2; const byte txPin=3; SoftwareSerial ESP8266( ...
-1
votes
2answers
34 views

Setup arduino uno with ESP8266 ESP-1

Iam trying to set up the arduino uno with the wifi module ESP8266. I use this schematic setup: I have followed this tutorial: Tutorial ESP8266 Thereby I removed the Mega328P Chip like it says above, ...
0
votes
0answers
17 views

Maplin Bluetooth Shield for Arduino - BAUD rate

I am currently using a Bluetooth shield which i bought from maplin, see: http://www.maplin.co.uk/p/bluetooth-shield-for-arduino-n97dg. I have got it to work perfectly on the default 38400 BAUD , but ...
-1
votes
2answers
72 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 ...
0
votes
1answer
41 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
0answers
19 views

two hc05 communication rc car arduino to arduino(joystick shield)

hi guys i have one servo and one dc motor,joystick sield,l293d motor shield,two hc-05 module for rc car. i want these motors controlled from joystick shield but i didn communicate bluetooth modules. ...
-3
votes
1answer
43 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 ...
-1
votes
1answer
23 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 ...
0
votes
0answers
32 views

How to connect ITEAD 3G Shield to NodeMCU

I will preface this question by stating my experience working with electronics is almost non existent. I have been programming using the Arduino IDE for a couple of weeks as my job has required, but ...
0
votes
2answers
50 views

SoftwareSerial doesn't seem to work with ESP8266

I am trying to issue AT commands to the ESP8266 wi-fi module from Arduino Uno programmatically, but to do that, I can't get SoftwareSerial to work. I've tried multiple ways of identifying the root ...
-1
votes
1answer
31 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 { ...
0
votes
1answer
37 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 send me the same input. I tried to ...
0
votes
1answer
47 views

Using SoftwareSerial to send data to itself

I'm debugging a project which includes SoftwareSerial. I'm not convinced the serial connection behaves as expected, so I came up with the following simple test: #include <SoftwareSerial.h> ...
1
vote
2answers
41 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 Software Serial library. The code is attached. It ...
2
votes
1answer
30 views

ATtiny serial.print() crash with INTs

I'm trying to print some data to and from an ATtiny85 via serial, using the SoftwareSerial library. So far I've tried these setups with no results: 1/8MHz clock baud rates from 9600 to 57600 (...
-1
votes
1answer
65 views

Can I create a serial.read command with the arduino code alone?

I am trying to manipulate a project and the simplest way to do what I am trying to do would be to use the existing code. This code is designed to take an input from the serial monitor using serial....
1
vote
1answer
57 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 ...
1
vote
1answer
28 views

Using softwareserial with a TFT, how can I use a variable to position cursor?

I have tried several different ways to do this, but in the line: myTFT.println("DS32(32,g,'Hello!',4);"); where g is an int, it simply doesn't print. If I just replace the g with a value of any ...
0
votes
0answers
46 views

Cannot understand AT response from BLE HM-10

I am using Arduino Uno with BLE HM-10. #include <SoftwareSerial.h> int led = 13; int bluetoothTx = 2; int bluetoothRx = 3; SoftwareSerial bluetooth(bluetoothTx, bluetoothRx); void ...
0
votes
1answer
122 views

Arduino-Pyserial communication on python3, windows machine: Pyserial.write() doesn't seem to do anything

I've recently gotten my hands on an Arduino (Or rather a Genuino, but the overall architecture should be the same) UNO. I'm now using that Arduino to test how data is transmitted from an USB to Serial ...
0
votes
1answer
37 views

Help understanding SoftwareSerial recv() and PCINT

In the SoftwareSerial library, I see the beginning of recv() as follows void SoftwareSerial::recv() { #if GCC_VERSION < 40302 // Work-around for avr-gcc 4.3.0 OSX version bug // Preserve the ...
0
votes
2answers
76 views

Using two software serial - two UART

I have ATMega328p chip, and I have HC-06 on pin A5, A4 (RX, TX) and I have another device on pin 10, 9 (RX,TX). I want to be able to send some command on BT via Bluetooth Terminal and pass raw (...
0
votes
0answers
51 views

SIM900 GPRS/GSM Shield - Working SMS and Calls, but no internet

I have this shield which I am using my EE SIM card in. I have successfully got texts and calls working fine, but the end goal is to submit HTTP requests. For some reason though, I cannot get the ...
0
votes
1answer
52 views

Interfacing to scale over RS-232

Objective: interface and Arduino MEGA to a Mettler Toledo SB32001 using the RS-232 communication protocol described in the manual. Equipment Used: SB32001 Mettler Toledo 32 kg scale Arduino MEGA ...
1
vote
1answer
38 views

On UNO, when serial.print to UART pin 11, nothing comes out of pin 11

The problem: Message prints only to Ardunio Tools>Serial monitor, not coming out of TX pin 11. Question, please How to get Ardunio uno or mega to send data out of pin 11? #include <...
0
votes
1answer
49 views

Sending data via SoftwareSerial results in garbled reception

My overall goal is to have an Arduino Uno with an Ethernet Shield send a short (5-character) string via a SoftwareSerial connection and a UDP packet when I press a button. The device which is ...
0
votes
2answers
542 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. but AT+CGPSPWR=? ...
1
vote
2answers
63 views

How can I reduce the redundancy of this code, so one function can perform the task of printing on Serial and Softserial?

void Multi_print (String str) { Serial.print(str); mySerial.print(str); } void Multi_println (String str) { Serial.println(str); mySerial.println(str); } void Multi_parse_int (int value) { ...
1
vote
0answers
36 views

How to filter out “jumpy” readings sent using Bluetooth

I'm using App Inventor to continuously send orientation values (as strings) to my Arduino, which are read using Serial.parseInt(). Using simple IF statements (if value > threshold), I'm trying to turn ...
1
vote
1answer
33 views

How to send data from arduino to Temp Controller for setting temp?

I send data from arduino by method following. Configure the value : byte message[ ]; #include <SoftwareSerial.h> #define RX 2 #define TX 3 int incomingByte = 0; SoftwareSerial mySerial(RX, TX);...
1
vote
1answer
67 views

SoftwareSerial error:

Please help me with this library "Softwareserial". The basic sketch does not work. Please look the errors: C:\Program Files (x86)\Arduino\libraries\SoftwareSerial\SoftwareSerial.cpp:128:2: error: ...
0
votes
3answers
1k views

How to send AT command to sim800l with SoftwareSerial

I have sim800l module connected to arduino and i'm trying to initialize it in my setup function with this code: #include <SoftwareSerial.h> //SIM800 TX is connected to Arduino D8 #define ...
0
votes
0answers
20 views

Murata Type ZY BLE

Previously i was using HM-11 ble module with Arduino lilypad in order to communicate Arduino and Android phone. HM-11 was well documented and support At commands so i was able to program it really ...
0
votes
1answer
71 views

Is the a low memory alternative to SoftwareSerial?

I'm running a program on a ATtiny85 and running into problems because of a lack of available RAM. When I ran avr-nm on my ELF file I found that SoftwareSerial was taking up a lot of RAM even though I'...
1
vote
2answers
83 views

Using only Rx pin to receive data from HC 05 and attiny85 (Arduino IDE)

I was building a Bluetooth car with attiny85 (Arduino IDE) and HC05 bluetooth module. I need 4 IO pins to control the car. Since attiny have only 5vIO's, I am left with only 1 pin to connect to HC05. ...
0
votes
1answer
61 views

Arduino OBD library and software serial library

Can I use Arduino OBD library with "custom" software serial or it needs to be used with hardware UART only? For example if I have D5 and D6 pin as RX and TX in my code hooked on OBD board, how do I ...
2
votes
1answer
61 views

Problems running several arduinos off of one HC-05 Tx pin

TL;DR: Multiple Arduino's listening to single serial rail are burning out my HC-05's TX pin. Arduino's are leaking voltage onto signal rail. How do I stop, or isolate that to keep from burning out ...
0
votes
1answer
41 views

Is it possible to run 2 functions, that communicate with 2 different serial devices, in parallel using FreeRtos library?

This might seem like a very broad question but that's what i want it to be for multiple ways of implementation. I've an Arduino UNO communicating with 2 Serial devices interfaced using SoftwareSerial ...
0
votes
1answer
59 views

What is the output of Software Serial .read() function

Hi I am new to arduino development i was using esp8266 using software serial library here is the code #include<stdlib.h> #include <SoftwareSerial.h> SoftwareSerial monitor(2, 3); // ...
0
votes
0answers
104 views

Esp8266 Serial Connection using Arduino showing garbage

I am new to Arduino pro mini (5 V running it at 3.3 V) and esp8266. I am trying to use AT commands using sketch program. Here is reported the code I tried: #include <SoftwareSerial.h> ...
0
votes
1answer
18 views

Power supply change change gps readings?

I was powering a GPS Sensor from the 3v3 pin of a raspberry pi and my reading for my GPS sensor had some strange symbols in the mix, but when i switched to the 3v3 on the arduino, my reading came back ...
0
votes
1answer
559 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() {...
1
vote
0answers
103 views

Controlling dynamixel AX12 by Arduino

Actually, i would like to control 12 motors of AX-12 using Arduino .. I could control just 2 motors. However when i send a command to the 12 motors they don't move and one or 2 of them move randomly!...
0
votes
2answers
342 views

mqtt library which support softwareSerial on arduino uno with ESP8266

I am using ESP8266 and Arduino with SoftwareSerial. My requirement is to use MQTT protocol with it. So I am using an MQTT library named pubSubClient but the problem is it doesn't support ...
0
votes
0answers
650 views

Nextion display message text garbled

I am communicating with my Nextion display using this arduino library. I am following this tutorial which says that the text in the serial monitor should look like 65 0 2 0 ffff ffff ffff. For me, it ...
1
vote
1answer
58 views

No response from device when trying to communicate with it via RS-232

I have an Arduino Uno with an RS-232 shield, and a servo drive that communicates via CAN or RS-232. I'm trying to communicate with this drive using an RS-232 cable, but I'm getting no response. I'm ...
0
votes
0answers
17 views

why does my serial monitor show garbage value when AT commands are run through the code [duplicate]

I have set the Baud Rate as 15200 for ESP8266 to connect. Whenever I run the AT Commands through Serial Monitor manually, it works. But, when I run those same AT Commands through a program, it prints ...