Questions tagged [softwareserial]

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

2
votes
0answers
91 views

How do I Continuity Test/Troubleshoot a Linksprite RS232 V2 Shield?

I have a Linksprite RS232 v2 adapter (which uses a MAX232 chip), as per this image. I have soldered on the headers and tested the pins to make sure there are no solder bridges. I have set the jumpers ...
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 ...
2
votes
0answers
779 views

Hiduino as a Serial-USB midi coverter

I have an Arduino Mega2560 configured to Hiduino, which makes the Arduino a driverless class-compliant MIDI interface. I am currently converting RS232 serial I/O data to midi data using the 'hairless ...
1
vote
0answers
71 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 ...
1
vote
0answers
846 views

Reading +IPD response from serial.read() using Arduino UNO and ESP8266

I have a python server running on my PC and I am using an Arduino Uno (wifi enabled by a ESP8266 chip) as the client. I can make the the server and client communicate using AT commands as shown below: ...
1
vote
0answers
246 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 ...
1
vote
0answers
209 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
190 views

ESP8266 sometimes stuck on AT+CIPSEND with “busy s…”

I'm using an ESP8266-01S Wi-Fi module on an Arduino UNO. When I use AT+CIPSEND=4 and then type test it successfully sends that message to my laptop. However, sometimes the module returns a busy s... ...
1
vote
0answers
789 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
0answers
83 views

How can I use delimiter/split serial input in a loop function?

How can I use delimiter/split serial input in a loop function? I want to use each word from the input and check a database, to check availability. #include SoftwareSerial.h> #define ...
1
vote
0answers
706 views

'SoftwareSerial' does not name a type in Adafruit Feather M0 Bluefruit LE

I am trying to create a software serial connection between Arduino Uno & Adafruit Feather M0 Bluefruit LE. I am getting the following error in the M0 sketch: Arduino: 1.8.1 (Windows 10), Board: ...
1
vote
0answers
2k views

How to define SoftwareSerial pins on ESP8266

I'am new to arduino yun and ESP. In fact, i have an arduino yun which has a sim808 dfrobot shield on it which uploads GPS data online at a regular time interval. I want to connect the dfrobot sim808 ...
1
vote
0answers
243 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
241 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
61 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
vote
0answers
172 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
0answers
506 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!...
1
vote
0answers
108 views

Encoding clock signal into linear block codes

In the VirtualWire library, it is possible to encode the clock signal as the library is doing with 4b/6b coding. This is possible because VirtualWire uses convolutinal coding, where the information is ...
1
vote
0answers
183 views

Trying to pass a single char to a serial device

Good day, I have a serial device that when connected via hyper terminal gives me a status report when I press the letter 'd' no enter key or anything required just the letter d. Also Ctrl-t will give ...
1
vote
0answers
151 views

Why After instancing TinyGPS , serial stop working?

I have GSM shield (and Arduino UNO) works fine with this code : #include <GPRS_Shield_Arduino.h> #include <SoftwareSerial.h> #include <Wire.h> #include <Suli.h> #define ...
1
vote
0answers
639 views

Is replacing USB serial WITH ESP8266+ESP link feasible?

ESP8266 (01-512k,) Arduino Uno (clone), Arduino IDE, Python 2.7.6 on Macbook pro running OSX 10.10.4 64-bit. Hello! I'm using a motion sensor with the following setup: Arduino Uno+motion sensor >>>...
1
vote
0answers
32 views

Get the last piece of data received on a serial port

I'm using software serial to use multiple ports as serial in an arduino UNO and each of those is constantly receiving data. I want to know a way to get just the "newest" data each time I listen to one ...
1
vote
0answers
961 views

Why the serial connection only work when Tx and Rx are shorted?

I have a Arduino Pro Mini 3.3V connected to a sim800l chip using a serial connection of 9600bps. When I connect the Arduino to the device, it seems I don't receive anything on the Arduino Rx pin. I ...
1
vote
0answers
466 views

Teensy 2.0++ SDA SCL pins not accesible using ARDUINO software

Hi I was looking to interface Teensy++ 2.0 with MPU6050 for a simple IMU project. I have done this previously using Teensy 3.1 by trying the project of kriswiner however I also wanted to try it out on ...
1
vote
0answers
475 views

How to read all avaiable data from a Serial stream and then stop

I am trying to read data from the Serial port in my Arduino, store it in a buffer and when all the data has been read stop reading and then start using the data (the talkMIDI() function). The Arduino ...
1
vote
0answers
549 views

ATtiny85 + HC-05 + Oled = smart watch

I am using an ATtiny85 for making a smart watch. Bluetooth module HC-05 with ATtiny85 pins PB3->TX, PB4->RX and it works. Secondly I have connected a 0.96" OLED on PB0 (SDA) and PB2 (SCL) and this is ...
1
vote
0answers
1k views

Arduino code issue (using Bluetooth and Rfid technology)

I am building a device that communicates with my Android phone. I know that my App works but my Arduino code seems to have a problem. So I have made a smaller programm and everything works fine there. ...
1
vote
0answers
830 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 ...
1
vote
0answers
924 views

Multiple SoftwareSerial ports - how to handle the limitations

I am building an access control project which uses two SoftwareSerial ports. One will be used for communication with an RFID reader and another one to receive serial messages via an Xbee (e.g. remote ...
1
vote
0answers
276 views

How to do Serial monitor with Arduino Yun?

I'm trying to read some values from a TCS3200 colorsensor using Arduino Yun. I have some code, which you can see below, that I used when I tested on the Uno. With the Uno everything worked fine and I ...
1
vote
0answers
523 views

Arduino GSM Shield web server hangs

I use official Arduino GSM Shield with Uno R3. I uploaded web server examples from official GSM library. I use a simple python script to make TCP/IP connections to my GSM Shield web server. I send ...
1
vote
0answers
551 views

How to serial read from a TM-88 printer for status

I am working off of my own fork of the TM-88 printer library by signalwerk It can be found here ( https://github.com/docwisdom/thermalprinter ) With this I am trying to get a printer status before I ...
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
25 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
19 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
0answers
25 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
62 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
0answers
21 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 ...
0
votes
0answers
30 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
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 ...
0
votes
0answers
17 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
0answers
97 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 ...
0
votes
0answers
58 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 ...
0
votes
0answers
30 views

Problem: char string not working with SoftwareSerial.h

I am creating a program to display text on an OLED display and then have it sent to a thermal printer. The issue is my second char string: word_buffer When I try to use word_buffer for any reason it ...
0
votes
0answers
45 views

SerializeJson not working when using softserial

IDE:1.8.8 Board:Arduino UNO When I use the code below, I get result of print like this. { "result": [ { "ID": "01", "Value": [ "2", "1", "13" ] } ] } But when I use SoftwareSerial and in the setup ...
0
votes
0answers
39 views

Is it possible to make an HTTP get request using AT Commands without knowing the IP address of the web server?

I have the following code that can read a web page using HTTP get but I can only do it because the website I am doing it to has a static IP address, but in my project I am just hosting it on a free ...
0
votes
0answers
54 views

Arduino ESP8266 ESP-01S GET command

Looking for some help on this please. It is a little long winded, but the point of it is I cannot retrieve a string response via my ESP8266 ESP-01S. I connect my ESP to my Ardiuno using ...
0
votes
0answers
32 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 ...
0
votes
0answers
238 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, ...