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.

learn more… | top users | synonyms

-2
votes
1answer
17 views

Fading RGB LED between 10 and 60 cm

What I want to achieve is that between 10 and 60 cm of my HCSR04 sensor the color fades from red to blue on my RGB LED in steps of 1 cm between 10 and 60 cm. I have tried creating some own functions ...
1
vote
1answer
29 views

Controlling Relay Using Serial Monitor

I tried to make a program that can control a 4 channel relay (with LEDs as indicators) with a serial monitor. First time I tried to program it using a char command to make it turn on only, it worked. ...
0
votes
2answers
44 views

Sending Large Packets and Reassembling over Serial

I'm trying to send info of about 30-40kB over the Serial ports on an Arduino Due. But I'm running into a few problems. First, before we get into the actual transfer over the Serial, I want to try ...
1
vote
0answers
21 views

Arduino only accepts one programming update per laptop boot

I am only able to upload the code to my Arduino Uno once, and then I have to restart my laptop to do it again. I am using Ubuntu. What could be causing an issue like this?
-3
votes
0answers
14 views

Arduino Uno after using with Yun Shield?

Will my Uno still work after using it with the Yun shield? The board seems unresponsive to me pressing the reset button and I can't find its old serial port - any help? Cheers. EDIT - Pin 13 is HIGH ...
1
vote
2answers
54 views

Does serial speed affect performance of other tasks?

I have explored Google and the Arduino site and this site and cannot find a mention of this, so my guess is that serial is handled by a separate component to the core processing and so different ...
0
votes
1answer
29 views

My computer dose not recognise my arduino Uno

I had never used Arduino before. When i tried to interface my new Arduino Uno board to my computer, the computer failed to recognize the board. Why isn't the board interfaced successfully? How should ...
1
vote
1answer
27 views

ESP8266 12e Arduino IDE outputs garbage values on serial monitor

I recently started using the esp8266 12e (amazon link: https://www.amazon.com/gp/product/B010O1G1ES/ref=ask_ql_qh_dp_hza) and hooked the board up to the Arduino IDE. When trying to run any of the ...
1
vote
1answer
36 views

Serial communication with Python

I am trying to send integer from my Python program to Arduino MEGA. If I send 1, the LED should turn on and If I send 0 the LED should turn off. I was able to write Python code correctly as I think. ...
2
votes
1answer
51 views

Check if Arduino is connected to PC

I have been searching around the Internet to find if there is a way to check if an Arduino is connected to a PC or not. For example: if my PC is turned on, the Arduino will listen to any serial ...
-1
votes
1answer
35 views

avrdude: ser_open(): can't open device “/dev/ttyUSB0/”: Not a directory

Good evening! I know this type of question has been asked by Abhay bh but my question is different: I tried to upload my program on my actual Arduino Uno and received the error shown below: I did ...
2
votes
1answer
30 views

Arduino mini pro as ISP for Atmega329P-PU serial monitor failing

After trying a lot of tutorials and manuals around the web including at least 20 solutions here on StackExchange, I don't know what to try anymore. My goal is to write a message in the serial monitor ...
2
votes
0answers
38 views

Serial Communication Between 3 Arduinos Doesn't Work (Daisy-Chain)

In my project, I have to send a string from one arduino to a second arduino, and make it send the same string to a third arduino. I used UART and SoftwareSerial library, and connected the arduinos ...
-1
votes
1answer
41 views

Using MPU9250 with ESP8266 without Arduino [closed]

I have an AI-Thinker ESP8266MOD on Lolin v3 board and a 9-axis sensor, MPU9250. I have seen many examples of using the MPU9250 with Arduino boards, but none with ESP8266. How should I access the MPU ...
2
votes
3answers
42 views

Sending textual and nontextual data simultaneously across a serial port

I am currently using an Arduino Uno and creating an LCD simulator that works by sending LCD data through the hardware UART (serial interface). This LCD data is very short in length; in this case, it's ...
1
vote
1answer
46 views

Atmega328p programming with Arduino libraries

I'm trying to use the serial communication to work between a naked AVR Atmega328p and a computer (OS X and Linux Ubuntu). I can program the atmega (using a pololu programmer), I make it blink a LED ...
1
vote
1answer
46 views

Possibility of installing custom firmware from Arduino Uno R3? [closed]

I've been messing around with installing keyboard firmware onto my Arduino UNO R3 (I used this tutorial) and had an interesting idea: would it be possible to have this install custom firmware, ...
1
vote
1answer
56 views

Serial Communication Not Receiving Entire String

I have an Arduino connected to a pico motor driver that is supposed to take a number of steps for a specific number of triggers that gets from a source (i.e. waveform generator). I've setup the code ...
-3
votes
1answer
19 views

Connecting an optris to an arduino uno to send and receive hex strings

I have an optris CT IR sensor, data sheet below. Is it possible to connect the Uno to the sensor, so I can send a hex string (01) and hopefully receive a hex string from the sensor (04 D3)? https://...
-3
votes
1answer
40 views

Arduino Parse data serially on VB [duplicate]

I am working with Arduino Uno, I have tracker application running on Arduino Uno board. I am sending data in comma separated value. Now I want to view data into Visual Basic. I have code as below. The ...
1
vote
4answers
96 views

External 5V Power and USB Serial

I have a Chinese arduino nano clone, but i dont know if its possible to connect the arduino to external (5v) power and have an usb serial connection ongoing. I'm trying to make a PC controlled LED ...
0
votes
1answer
53 views

Code will not run when serial monitor is not open

I have never seen anything like this. My code runs perfectly as long as the serial port is open. However if I connect it to external power, or even if I just try to run it plugged into my computer ...
0
votes
1answer
25 views

Trying to Serial.write RAW code properly

I have a SIM800L Module connected to my arduino Nano. I want to open a TCP connection from the sim800l module to my own server and send a text string. The connection is working however I am not able ...
0
votes
1answer
40 views

Serial ports(in 1.0.5 & Port in 1.6.11) is greyed out under tools

I am running a linux distro on my pc(Ubuntu 16.04). I have installed Arduino IDE(version 1.0.5 since it's the only one available on the store) from the Ubuntu Software Center and also using the .ZIP ...
-1
votes
1answer
61 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
31 views

Way to use other baud rates in console or different input/output rates

I want to send some test codes to a MIDI synthesizer, so I wrote a program that lets me just type in hex codes on the serial monitor and send it over serial as the byte value. For example typing "90 ...
1
vote
0answers
29 views

ArduinoDue - Matlab: SerialUSB.write() sends ASCII?

I'm trying to get some binary data from an Arduino Due to Matlab. Basically this is the setup: Due: byte usbMsg[33]= {0}; // filled with dummy as example usbMsg[1] = '00000001';// in[3]; usbMsg[2] ...
4
votes
3answers
127 views

Will unnecessary Serial.print() statements slow down my program?

I have lots of Serial.print() and Serial.println() statements throughout my (rather large) program for debugging when things fail. I've commented out the Serial.begin() statement so I don't slow down ...
0
votes
1answer
22 views

Why are my objects losing their member's values?

I have a Channel class which on instantiation receives a _type via new Channel("type", ...). I can read the type back out via channelObject->getType() which returns a string. This has always ...
1
vote
0answers
59 views

Transforming from analog output to speed and acceleration with gy-61

Maybe it's a simple question but I'm unable to get what I need. My task is this: Get the acceleration and speed of each axis of the accelerometer. I thought of something like: const int VCCPin = ...
1
vote
1answer
44 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
votes
2answers
31 views

How can I read Data from 150 Arduino Serially to a Single Arduino to display it via serial port.

I know that Arduino nano/Uno has one Serial port to read serial data. But if I use software serial can i read more than one serial data. I have 150 Arduino's working on a project(Can be reduced to 50 ...
1
vote
0answers
19 views

SIM900 module not responding on hardware COM port

I've got my sim900 module working with arduino by using their software serial library, however, I want to eliminate arduino from the equation and have serial communication directly to sim900 module. ...
2
votes
2answers
51 views

Help with a Memory Issue

Below is some code that I'm writing to concurrently run "animations" on the same strip of NeoPixels. When I try to make use of the Serial monitor to control the program functions, I just get a bunch ...
3
votes
1answer
66 views

Identify connected PC per Arduino

Question: Is there a way to collect any data (e.g. MAC addresses, installed devices, driver versions, etc.) from a PC by simply connecting an Arduino via USB to it, so that this PC can be clearly ...
0
votes
1answer
25 views

How to serially communicate arduino uno to PIC18f4550?

I am new in PIC programming my question is, how can i communicate arduino UNO with PIC18f4550. i am using THIS programmer board for PIC controller and it has a builtin RS232 serial interface. Can ...
0
votes
1answer
28 views

How to use Serial Monitor without Arduino board?

I want to use Arduino(atmega8) on breadboard using USBASP programmer and want to use Serial Monitor without using any Arduino board as ISP programmer. My questions: 1. Is such thing possible? 2. How ...
0
votes
1answer
27 views

Sending LCD commands to a slave micro

I need to split up code which I've already developed for one micro into two different Arduinos connected by serial. The "remote" micro is directly connected to a 20x4 character LCD and the main micro ...
1
vote
2answers
47 views

Arduino nano digital pins not working with external power source

We are using an Arduino Nano for simple serial comms to fire a relay from a Windows 10 PC. Initial issue we had was windows not recognizing the device (COM Port) when the pc is powered off (as per ...
0
votes
2answers
27 views

Interrupt driven serial in Arduino Mega

This is the multi serial example from Arduino IDE void setup() { // initialize both serial ports: Serial.begin(9600); Serial1.begin(9600); } void loop() { // read from port 1, send to port 0:...
0
votes
1answer
26 views

Serial characters are corrupted

I try to send an "a" string via serial with Serial.println("a"); and I receive "Oy=" in Ascii or {4F}{79}{3D} in Hexa. Where should I start investigating? What could be wrong? Baudrate is 9600 on ...
0
votes
0answers
50 views

Control two NeoPixels independently via serial

I'm trying to set up a series of LED status indicators using Arduino and NeoPixels. I'm using a Python script to read an API and send a command over serial to the Arduino. I've figured out how to do ...
0
votes
1answer
35 views

EPS8266 ESP-01 Blue led stays lit unless 3.3v logic divider is bypassed, works when reconnected

I am having a very weird and frustrating issue with this ESP01. I am creating a shield on protoboard, and everything checks out as far as I can tell. I am using a 3.3v voltage divider (1k and 2.2k) ...
0
votes
2answers
72 views

[Arduino UNO]Receive Serial Data from multiple sources

I have the following system: As a master, I have an Arduino UNO Chip, more specifically an Atmel MEGA328P. The important thing is that this microcontroller has only one hardware Serial port, and ...
0
votes
0answers
13 views

Serial port on mac only works after restarting arduino IDE

The port works fine after restarting. But, if I upload a sketch it stops working some of the time until I restart the arudino development environment again. I'm having this issue with multiple ...
0
votes
1answer
85 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 ...
1
vote
0answers
156 views

Serial Port greyed out Ubuntu 16.04

I am running Ubuntu Mate 16.04 LTS, with an Arduino Uno R3 clone. I am having the dreaded serial port graying out problem, and have not found a solution for fixing it. Currently, The serial port will ...
0
votes
1answer
27 views

Arduino 2560 as an Interface to 4 Serial Hardwares

I am writing a software that runs on the PC that has a Arduino 2560 connected to it via USB. This PC needs to communicate with multiple devices through RS232. Is it possible to use the Arduino's 4 ...
0
votes
2answers
62 views

Sending data via bluetooth

I am trying to both send and receive data using bluetooth module. Receiving data works fine with this code: void setup() { Serial1.begin(9600); Serial.begin(9600); } void loop() { if ...
0
votes
1answer
16 views

Controlling an OSX app by Arduino

I am trying to control an app on OSX with an Arduino Uno. Specifically, I would like to start and stop play of an MP3 on iTunes, or a track on Spotify, using an Arduino connected to the Apple ...