A library for emulating UART functionality in software on any available digital IO pins.

learn more… | top users | synonyms

4
votes
5answers
1k views

Simultanous read and read/write on two serial connections

At the moment I'm using two softserials to connect to a GPS and an GSM module. It seems not possible to have two open software-serials. So I was looking for an solution After the initial-setup, the ...
3
votes
2answers
152 views

Using SoftwareSerial for the serial monitor

Most programs follow this route: They have a Serial.begin() for the serial connection between pc and arduino (the serial monitor) and they use SoftwareSerial for a device. Can you go the other way ...
2
votes
1answer
293 views

Is SoftwareSerial left out for the ATTiny85/84?

I want to use SoftwareSerial with my ATTiny85 and when I google it several projects claim that they are using it... I downloaded the hardware from https://code.google.com/p/arduino-tiny/, but when I ...
2
votes
3answers
217 views

Explanation please, of hardware and software serial links

I am starting to use a Seeeduino GPRS shield (please see note), which is essentially an Arduino Leonardo that, among other things, can be used as a mobile 'phone for sending and receiving texts. I ...
2
votes
1answer
32 views

Passing a long string from SoftwareSerial to Serial

I'm currently playing around with a GPRS shield on an Arduino Uno, for which I have to write raw AT commands over the SoftwareSerial. At the moment, I just want to be able to talk to the GPRS from my ...
2
votes
1answer
222 views

Is there a way to test whether the UART Tx buffer is empty without waiting?

Is there a way to test whether the UART Tx buffer is empty without waiting? serial.flush() waits, so it won't help me. I tried looking into serial.SerialEvent(), but the link was broken on the ...
2
votes
0answers
69 views

Ambiguity in Software Serial

HW: 2 Arduino ProMini 16Mhz, 5V Software serial directly connected using male jumpers on bredboard. I have creates a software serial port for communication between two arduinos, Parent and child as ...
1
vote
2answers
739 views

Error: 'SofwareSerial' does not name a type

I have trouble compiling this sketch. The error I get is 'SoftwareSerial' does not name a type Any ideas how could I fix it? #include SoftwareSerial.h SoftwareSerial mySerial(10, 11); // RX, ...
1
vote
1answer
62 views

Serial Print, String And Variable On Same Line

How can I print to the serial monitor a string or just single character followed by a variable like "L 55"
1
vote
1answer
65 views

Send array of Infrared codes

I'm having a bit of a problem when sending IR Codes stored in variables. I swear I had this convered up already. I don't actually know the reason why I can't use variables in the first place. I ...
1
vote
3answers
3k views

Why am I getting “fatal error: SoftwareSerial.h: No such file or directory”

I downloaded the Adafruit_GPS library from Adafruit and I'm trying to compile the example code (due_parsing) but I can't seem to get past this silly error: In file included from due_parsing.ino:15: ...
1
vote
1answer
153 views

Wired serial connection between two Arduinos - do they need a common Ground (GND)?

I would like to connect two Arduinos by a serial connection. Is it sufficient to connect TX1<-->RX2 and RX1<-->TX2 or do I also need to connect the GND of the two Arduinos?
1
vote
1answer
330 views

SoftwareSerial error

I have arduino , upon arduino I have Arduino GSM shield (Tx-2, Rx-3, Modem reset-7) and upon it, I have the Adafruit GPS Logger shield. I am trying to send sms of Latitude from the GPS Logger shield ...
1
vote
0answers
145 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
63 views

Arduino Software Serial reading a value of zero after several reads?

I am using the ID12-LA RFID reader with an Arduino Pro Mini (5V, 16MHz). I am also using the software serial library to read the serial data form the reader. Initially the serial data is being read ...
0
votes
2answers
1k views

SoftwareSerial together with AltSoftSerial and HardwareSerial

The title says it all. Angone with experience here on this subject? I want to use all Hardware serial, SoftwareSerial and AltSoftSerial on Arduino Duemilanove with At328. Is it possible?
0
votes
1answer
11 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
2answers
71 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 ...
0
votes
2answers
212 views

How can I send serial over RF?

I've got the following: #include <SoftwareSerial.h> const int rx = -1; const int tx = 4; SoftwareSerial mySerial(rx, tx); void setup() { mySerial.begin(2400); pinMode(tx, OUTPUT); } ...
0
votes
0answers
25 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 ...
0
votes
0answers
48 views

Anyone have the Maplin N97DG bluetooth shield working?

I went & impulse-bought a Maplin Bluetooth shield yesterday. It comes with a little tiny book containing examples, and uses the softwareserial library in these; I can load them, and get the ...
0
votes
0answers
162 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 ...
0
votes
0answers
164 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 ...
0
votes
0answers
66 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 ...
-1
votes
2answers
368 views

Arduino SoftwareSerial library basic example not work?

I come to you again because I have a problem with the Arduino library SoftwareSerial. With a basic example I fail to see results in the serial monitor. The basic code example: #include ...