Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Serial communication is the standard USB connection between the Arduino and a computer with a standard USB A to B cable or through the TX/RX pins using a USB to serial converter. It can also refer to the serial library.
6
votes
2
answers
3k
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 use SoftwareSerial for the communication between PC and Arduino, and Serial for a device? …
2
votes
1
answer
842
views
arduino EM408 GPS problem
I have written this little snippet of code to interface with EM408 GPS.
#include <SoftwareSerial.h>
SoftwareSerial GPS = SoftwareSerial(2,3); //rx,tx
void setup()
{
GPS.begin(4800);
Serial.begin …
2
votes
1
answer
2k
views
Serial.write() prints a variable twice
}
} while (isGpsLocationValid == false);
Serial.write(clat);
Serial.println();
Serial.write(clng);
}
Now when all is done, the clng value is printed twice in the serial …
1
vote
2
answers
8k
views
SoftwareSerial together with AltSoftSerial and HardwareSerial
I want to use all Hardware serial, SoftwareSerial and AltSoftSerial on Arduino Duemilanove with At328.
Is it possible? …
1
vote
0
answers
1k
views
Cannot upload to Due
I cannot upload my sketch to my arduino DUE.
I get this error:
Send auto-baud
No device found on COM8
Set binary mode
An error occurred while uploading the sketch
The IDE recognizes thought that p …
1
vote
1
answer
316
views
Duemilanove serial TX/RX: which is what?
I want to use the GSM shield. For my project, I will hook it up directly to pins 0 and 1 (TX/RX). Will it work right away? Do I have to know which is TX and which RX and declare it?
I will not be usi …
1
vote
2
answers
213
views
Purpose of LED indicator
I am developing a python based, tkinter application that will receive the serial data that arduino sends.
However, i am witnessing some behavior that i cannot explain and i am trying to debug. … When i open a serial connection this is lighted up and it stays ON.
However sometimes, when i send a string to the arduino, in order to trigger some data exchange, this button is switched off. …
0
votes
0
answers
35
views
Sending serial data to arduino, while an operation triggered from serial data is underway
So what i am asking is:
Is there a way to stop an operation triggered frmo serial that is underway?
And by stopping it, i mean from serial as well. … Perhaps, when an operation is uderway taht is triggered from serial, it cannot be stopped until the operation is finished? …
0
votes
1
answer
90
views
Send a 2d PROGMEM array over SoftwareSerial
messages_for_measurement[2][8] PROGMEM =
{
{ 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08 },
{ 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 },
};
I want to send one of these sub-array over software serial … swSerial.write(char(pgm_read_byte_near(pgm_read_word(&messages_for_measurement[0])))), sizeof(char(pgm_read_byte_near(pgm_read_word(&messages_for_measurement[0]))));
How can I send the sub-array over serial …