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

0
votes
0answers
2 views

cu port always busy on mac

I'm going bonkers here. I'm using a Macbook Pro with Yosemite. Connected to the MKS Gen-2Z V1.1 reprap board (ATmega 2560) The Arduino IDE only shows the cu port being available and not the tty. ...
0
votes
1answer
6 views

How to communicate from Python to Arduino Softserial

That is driving me nuts so I need your help. Master : PC with Ubuntu, a USB to serial converter (chipset CP2102), connected to Arduino Uno Pin 10, 11 and GND. The Arduino Uno is plugged in the same ...
0
votes
0answers
30 views

Can't select serial port on the IDE (Ubuntu)

I am aware that similar questions have been asked, however I haven't found an answer to my specific question. When I connect my Arduino (Uno) to my USB port, the on light on the board comes on (and ...
0
votes
1answer
18 views

Calibrating ESC and then using it

i have 30Amp ESC which i can move motor by providing values , but i am unable to know what is the minimum and maximum throttle speed of the motor.... how to achieve that level of info through ...
4
votes
2answers
58 views

Bootloader sequence

If I got the picture right(correct me if I'm wrong) the standard bootloader senses the serial comm, and if nothing is read it passes control to the core program, which roughly corresponds to int ...
0
votes
1answer
11 views

serial.write() five sensors and Processing

To all of this, hope to formulate the question right. In my project I have 5 sensors connected to Arduino, which I want to interpret via Seria.write() --> Processing. Arduino: firstSens = 100 + (...
0
votes
1answer
37 views

Standalone Arduino with ATMEGA328P / Serial working, but serial programming not (only once after buning bootloader)

For my master thesis I've designed a board with an ATMEGA328P-AU as micro controller. As I want to use some libraries and I like the simplicity, I want to use "Arduino" to program it. Everything ...
0
votes
1answer
47 views

Code: Switch case and loop problem

Please am working on this automatic drink dispenser, i got a sample code as am still an amature. I seem to be stuck and i please need assistance. Components: I2C, keypad, LCD peristaltic pump. ...
0
votes
3answers
90 views

How to send AT command to sim800l with SoftwareSerial

I have sim800l module connected to arduino and i'm trying to initialize it in my setup function with this code: #include <SoftwareSerial.h> //SIM800 TX is connected to Arduino D8 #define ...
1
vote
0answers
26 views

Two Raspberrys on one Arduino [closed]

I have Arduino Uno with ultrasonic sensor which I want to hook up on two Raspberrys so they can both receive signal from Arduino at the same time and begin with their part of job. How can i make that ...
1
vote
0answers
28 views

Particle Electron to RS232 Serial gibberish

I've spent all day trying to monitor serial console output of a router. I'm using an "ebay" MAX3232 RS232 to TTL converter connecting only GND, TX and RX to the Electron. Trying to simply monitor the ...
0
votes
0answers
17 views

Murata Type ZY BLE

Previously i was using HM-11 ble module with Arduino lilypad in order to communicate Arduino and Android phone. HM-11 was well documented and support At commands so i was able to program it really ...
0
votes
1answer
23 views

Why is there already text in the serial monitor before the Arduino initializes?

I have encountered this several times before and I would like it if someone was able to give an explanation. In almost any sketch that I've ever created with Serial communication involved, I notice ...
0
votes
1answer
27 views

how to send large strings (> 100 characters) from arduino serial monitor

I am a newbie to arduino programming. I wish to send big strings which are in range of 100 to 1000 characters to my arduino uno. I saw that arduino cannot read more than 63 characters at a time. The ...
0
votes
0answers
11 views

Using read() / readBytes() with Max

I am trying to use an Arduino board to monitor the voltage of two MCP 4725 DAC's with different values. I input the value through a Max patcher (Max 6, from https://docs.cycling74.com/max5/tutorials/...
0
votes
0answers
19 views

Serial available doesn't work right after upload

I have 2 programs to test serial communication, an simple arduino program that echoes whatever is on the serial port and a python program that writes to the serial port and prints the reply. I'm ...
0
votes
1answer
30 views

Is it possible to overclock the baudrate from the mega to 230400 bps?

i have a Arduino Mega 2560 and want send data with 230400bps to my laptop without any framingerror. I want send the data over USB with serial.print ist that possible or must i use the ethernet? When ...
1
vote
0answers
26 views

OBD2 VIN issue - Reading multiline response [closed]

I have this AllPro OBD adapter and OBD2 simulator hooked up. And so far everything works great, except for the getting VIN. When I run 0902\r command to get VIN number, I just get one raw as response....
0
votes
0answers
21 views

Modbus Protocol RTU

I have simple code working on Serial Communication asn below. With Same data i would impliment Modbus protocol> I have Used Modbus library for arduino earlier which works fine with 9600 baudrate and ...
1
vote
0answers
36 views

Serial Request error

I am working on arduino Uno board.I am trying to send request Serially from out Side using docklight.I am sending COmmand is request send every 5S to 10S and get response.When i tested this code with ...
1
vote
2answers
19 views

Change timeout of `Serial.parseInt()`?

Serial.parseInt() reads from the serial buffer until it sees a non-numeric character or it's timeout is reached. When I use it, I put a space after the last number to make it return faster. Can I ...
0
votes
1answer
33 views

Storing integer into character buffer

I have my Arduino code as below.I am trying to send Serial request and get response for it. I can able to send request mentioned in Setup function and also able to switch cases. Problem i am facing ...
1
vote
2answers
53 views

What is the sampling-rate of the `analogRead()`?

I am about to Fourier analyse some data I've taken, but i need to know at which sampling rate the data was written to the serial monitor. I've found a lot of threads about how to increase it and such ...
0
votes
1answer
49 views

Does serial communication between PC and Arduino has to be in a loop?

I am trying to send a few variables from my python script to my Arduino. I am using pySerial. I am able to send the variables to the Arduino, but my Arduino sketch runs only for a second and then ...
0
votes
1answer
43 views

Why can't my Arduino IDE recognize serial ports? (Mac El Cap, Ard. UNO)

My Arduino UNO I bought directly from Arduino.cc, so I'm pretty certain it's not a cheap clone. I have a MacBook Pro El Capitan 10.11.5. My Java is 1.8, but I'm pretty sure that doesn't matter. I have ...
1
vote
1answer
27 views

Problems running several arduinos off of one HC-05 Tx pin

TL;DR: Multiple Arduino's listening to single serial rail are burning out my HC-05's TX pin. Arduino's are leaking voltage onto signal rail. How do I stop, or isolate that to keep from burning out ...
1
vote
1answer
23 views

Read int from Serial

with the following sketch I should be able to read and store what is entered in the Serial monitor void setup() { Serial.begin(115200); while(!Serial); } void loop() { Serial.println("Enter ...
0
votes
1answer
31 views

Serial command request

#include <avr/wdt.h> #include "Timer.h" #include"glob.h" int LED = 13; Timer t; String Old_string; String New_String; String Received_String; const byte numChars = 32; char receivedChars[...
0
votes
2answers
86 views

Is it possible to receive a 9 bit protocol on the Arduino Uno with Arduino?

I want send and receive a 9 bit async-serial protocol with 4800 baud on my Arduino Uno, i have read on the specification from the ATmega328P that the uart can do that. My aim is that when my Uart ...
3
votes
1answer
85 views

How do I read from /dev/ttyACM0 in Linux without a terminal emulator?

I just bought an Arduino Due and I'm having trouble reading from a simple serial IO program. I have a SparkFun RedBoard which is like an Uno. With that, I just ran a "stty" command to configure the ...
0
votes
2answers
12 views

Using the Logging library, sometimes doesn't exit setup()

This has been a hard problem to diagnose, so I hope I'm giving enough info here. I'm trying to write a program for the Arduino (a lighting controller) using a bit of OO. There are several classes in ...
0
votes
1answer
17 views

I just bought a TFT screen is it still possible to use the serial port 1 and 0?

so I have a question regarding the TFT touch screen... I would like to use the serial ports 1 and 0 (on my UNO) to transmit data to my mega... however it take up those ports. on the back of it, it ...
0
votes
0answers
12 views

What is the protocol that uses ROS with arduino? [on hold]

I'm trying to know what is the protocol that uses ROS and arduino, Is it Firmata?
0
votes
1answer
54 views

Printing Time to Serial Port

I am reading sensory data that comes from the digital inputs(two DHT11 Humidity sensors using adafruit library.) and I would like to add a hh:mm:ss real time counts next to them. I try to use the time....
0
votes
1answer
30 views

Is it possible to run 2 functions, that communicate with 2 different serial devices, in parallel using FreeRtos library?

This might seem like a very broad question but that's what i want it to be for multiple ways of implementation. I've an Arduino UNO communicating with 2 Serial devices interfaced using SoftwareSerial ...
0
votes
1answer
15 views

Sketch not running as expected

I wrote this sketch along with an HC - SR 04 Ultrasonic transducer and a DC motor. Whenever the HC-SR 04 reads any distance less than 15 cm, the motor stops, otherwise it keeps running. The problem ...
1
vote
0answers
28 views

Customize FTDI driver for custom PID and VID

I have changed PID and VID of my FTDI board for arduino program because i wanted to rename the com port name. The ic is FT232R a USB to serial UART interface IC. I have store new vid and pid to ...
0
votes
1answer
23 views

Arduino: put string through variable in array

I have a problem and I can't fix it. I'm busy with an java to arduino project. Java writes a string using writeString(); Arduino reads the serial monitor and put the incoming string into a function. ...
1
vote
1answer
45 views

How to filter a blank line received over serial - ESP8266

How can I filter a garbage completely blank line over my serial data? It comes from the wifi module ESP8266 How I read data: while (Serial1.available()){ String inData = Serial1....
0
votes
2answers
121 views

Weird characters in Serial Monitor and not functioning ESP8266 ESP-12e

I did a bit of playing with my new ESP-12e, but suddenly it kind of fails on me. It gives me some weird looks it didn't give me (as much) before. This is what the Serial Monitor prints when I try ...
1
vote
1answer
35 views

windows cmd script for uploading hex through AVRDUDE

I writing a windows script to upload a hex file to an Arduino uno. avrdude -v true -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:C:\Users\AMANSR~1\AppData\Local\Temp\...
0
votes
0answers
24 views

Matlab to Arduino data corruption

I am trying to read 4 ADCs and send the data over a serial port to matlab where it gets plotted in real time. I am using the new simblee modules and want to set up two of them - one a wireless remote ...
0
votes
0answers
26 views

Arduino IDE “Tools > Serial Port” grayed out (Ubuntu)

I know this has been asked before, but no one's solutions I've seen have worked so far. I just got started with Arduino and downloaded Arduino IDE from the Software Center. When trying to to set up my ...
0
votes
0answers
36 views

Arduino to Arduino I2C audio signal

I would like to convert audio to digital and then send it over I2C to another Arduino that would convert that digital signal back to normal audio. (PWM - No amp) Would that be even possible? Would ...
0
votes
1answer
35 views

Where could I find the “Serial.find()” source code?

As written in the title, could you tell me where to find the source code of the function "Serial.find()"? I haven' t installed the Arduino IDE, so I'm glad if you could me link a web resource, or if ...
4
votes
2answers
45 views

why are there odd spikes in the USB serial data transfer rates?

I'm trying to use an Arduino for data collection, and hoping to get a consistent sampling rate. I looked into the serial communication using the simplest program I could, but it produces odd results. ...