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.

2
votes
0answers
73 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
743 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
487 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
182 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
145 views

Trouble in acquiring NEO6M GPS data through S-Function builder at Matlab simulink using Arduino libraries

I have connected NEO6M GPS module to Arduino Mega 2560 and programmed using TinyGPS++ library's "Device Example" and i getting proper data at serial port. NEO6MGPS to ArduinoMega2560 Vcc 3....
1
vote
0answers
158 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
72 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
639 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
201 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
224 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
56 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
156 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
479 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
106 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
149 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
144 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
615 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
867 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
422 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
400 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
505 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
999 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
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 ...
1
vote
0answers
862 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
261 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
518 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
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 ...
1
vote
0answers
519 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
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
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 ...
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
0answers
46 views

Arduino loses communication with bluetooth when sending commands to nodemcu esp8266

i've been working on a project using an Arduino UNO, Bluetooth Module HC-06 and NodeMCU esp8266, the project consists on turning leds on via bluetooth and telling the esp8266 that the leds were turned ...
0
votes
0answers
47 views

Serial communication between GPS and Arduino Ethernet

I'm trying to read out GPS positions from a serial GPS module I have. I'm using an Arduino Ethernet and a Haicom HI-204 III GPS (http://www.haicom.com.tw/driver/hi-204iii_usb.pdf). If I connect the ...
0
votes
0answers
165 views

How to check for valid Serial data, then break?

I'm having trouble completing this code for my university final project. I feel like I'm almost there, but I can't seem to find the final buttons to press. I'm using the Arduino Pro Micro. I have one ...
0
votes
0answers
219 views

Attiny85 & NEO-6 GPS

I've been trying to use an attiny85 to reduce my project footprint, thing is, it looks like something is very wrong. The project works just fine using an Arduino Uno and produces the expected results. ...
0
votes
0answers
50 views

TinyScreen+ coupled with 433MHZ Radio (Setup)

I'm using the following shields: 1. TINYSCREEN+ (PROCESSOR, OLED & USB IN ONE) https://tinycircuits.com/products/tinyscreenplus 2. 433MHZ LONG RANGE RADIO TINYSHIELD https://tinycircuits.com/...
0
votes
0answers
74 views

Issue in transferring the serial communication data over radio using NRF24L01 and Arduino Uno

I am trying to transfer data recorded by one of my Arduino UNO boards (which is recording temperature data using DHT11) to another board that could be UNO or WeMos D1. The problem is that the UNO ...
0
votes
0answers
60 views

Sending data over serial results in garbled text

I am using the ESP8266 WiFi module to receive a string and send it to a Arduino over serial. I am using the SoftwareSerial library to do this. My problem is that the string is sometimes garbled after ...
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 ...
0
votes
0answers
23 views

How do I improve Bluetooth communication?

How do I improve Bluetooth communication? You will see, in this image using the Bluetooth monitor application, in order to receive the "ON" response, I had to repeatedly send the "O" character: The ...
0
votes
0answers
108 views

Is it possible to use XBee with ESP8266?

I've been trying to use the Mini D1 ESP8266 instead of the Arduino, but still in the Arduino language. I want to connect an Xbee to it This code works on my Arduino: #include <SoftwareSerial.h> ...
0
votes
0answers
253 views

SoftwareSerial with ESP8266 not responding

Sorry im really new using arduino, im trying to learn how to connect an arduino to wifi using the ESP8266. Im following a tutorial that provided this code: #include <SoftwareSerial.h> ...
0
votes
0answers
20 views

AT response clean-up

I am trying to get the response from server using AT commands. This is my program #include <SoftwareSerial.h> const byte rxPin = 2; // Wire this to Tx Pin of ESP8266 const byte txPin = 3; // ...
0
votes
0answers
207 views

Getting unknown characters with the actual response when Reading ELM327

i am using arduino uno to read vehicle information from OBD using ELM327 and arduino serial communication, i am able to send the AT commands an get the required response but i'm also getting some ...
0
votes
0answers
42 views

How to save an incoming MESSAGE of SIM900D MODEM?

I can receive a message but I cannot save it in a variable and find strings in it. The question: is it possible to save the text message in a variable? This is my code. #include <SoftwareSerial.h&...
0
votes
0answers
494 views

Arduino Digital Pins Control with ESP8266

I am currently working on my FYP. I need to control 15 servos (13 for x2 Robotic Arms + 2 for Camera) and 4 motors of my Robotic kit via webserver. I have the following options: NodeMCU Arduino Mega ...
0
votes
0answers
58 views

My stepper motor works fine when I turn on, but won't stop when I has send SMS to stop .. please help :(

First of all .. i'm sorry for unclear question .. this is my 1st time using this forum .. i was edit my code to focus only for the problem .. my project used arduino mega, gsm SIM900, and Stepper ...
0
votes
0answers
457 views

Serial port - ESP8288 (TCP/IP) - WiFi - “Virtual serial port on my linux/windows PC” [Solved]

Is there an way to transport a serial port via TCP/IP to a PC. The goal is to have a ESP8266 dongle that I connect to a router, switch or other device with a serial port for configuring. I have ...
0
votes
0answers
385 views

Store response from ESP8266 on Arduino

I have connected esp8266 and Arduino. Rx of esp8266 is connected to Pin3 of Arduino. Tx of esp8266 is connected to PIN2 of Arduino. I have uploaded the following code #include <...