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
20 views

Does Serial.print introduce something else than Serial Transmission?

I'm using an Arduino UNO to create a scale that can weigh and count items. However, I've come into a weird phenomenon when getting measurements When I boot the scale up to work on it's own, there ...
4
votes
2answers
37 views

What's the difference between all the Software Serial Libraries? Which one is Arduino Nano compatible?

There are so many Software Serial Libraries, what are the differences between them? And which one I can use with my Arduino Nano? For my Arduino Nano I need one Hardware Serial Port and one Software ...
-1
votes
0answers
10 views

How to use custom components in Ardulink?

I am trying to control 3 motors with my computer using Ardulink, but there aren't any tutorials on how to do this for beginners. I don't even know where to start. All help is appreciated, thanks!
0
votes
1answer
16 views

Arduino Mega read data from USB

I´m completely new to the arduino and not used to work with it. Due to an project I need to know the best way to transfer Data to my Arduino Mega. The transferred file will be an sliced 3D object. Is ...
0
votes
1answer
31 views

Serial Connection

I was trying to communicate with my arduino uno over the serial connection from the USB. Connecting to it is usually not a problem, but what buggs me is the first transaction of the data... No matter ...
0
votes
1answer
23 views

Serial parsing strange data

I have a project where I use a software serial connection to read serial data from a barcode scanner. All is good. However from time to time I have some problems with the data that I'm receiving. ...
-1
votes
0answers
28 views

Arduino code for Fingerprint sensor

I am using the Adafruit fingerprint library and I have attached them too. I just want my module to print the template data of the finger ( hex data ) whenever i scan in the serial monitor , I dont ...
0
votes
0answers
41 views

Problem with receiving data from Arduino via HC05 sent by Java

I want to both send some sensor data via Bluetooth (HC05) and Arduino to Java and I also want to send some command data via the same Bluetooth and serial port to Arduino. I've managed to do the first ...
0
votes
1answer
26 views

'value' was not declared in this scope [closed]

#include <ESP8266WiFi.h> #include <WiFiClient.h> #include <ESP8266WebServer.h> #include <ESP8266mDNS.h> const char* ssid = "SpeedTouch841E14"; const char* password = "...
0
votes
1answer
27 views

If-statement gets ignored?

I'm kind of stuck with strange behaviour of my code and I really hope, someone could help me.. Objective I'm trying to build a (multiple) magnetic stirring device with which I can either control the ...
0
votes
0answers
25 views

Programming arduino using esp8266

So , I try to make a wifi-serial bridge (at least that's what I hope I want) by following this tutorial : http://domoticx.com/esp8266-wifi-esp-link-firmware/ . And I have an WeMos D1 R2 based on the ...
1
vote
2answers
101 views

How to setup HC05 Module to be distinguishable

I'm not sure if this is a dumb question, but here goes 🤞 : I am developing an Android app that uses a custom Bluetooth device as a companion. I'm using an HC05 module to interface the device with my ...
-1
votes
1answer
46 views

Why is integer-to-string not working in this sketch?

I am using a Pro Mini to read analog values and to send them via serial. Goal of the sketch is to stream these values to Serial as fast as possible, to obtain a steady stream of at least 1000 ...
0
votes
0answers
8 views

ESP-01 stop working after AT+IPR command. Blue led is always on

My ESP-01 has a blue led always on since I changed its baud rate with AT+IPR command. I don't understand, reading online, how to reset my module without having a serial usb adapter but using only ...
0
votes
2answers
27 views

Serial.print start prints unreadable character without any reason

I wrote the following code. The idea is to execute some AT command on my ESP-01 module. The problem is that first command is execute without problem, the second sometimes but the reply on AT+GMR is ...
-1
votes
1answer
43 views

Arduino to ESP8266 (SoftwareSerial) communication, does not receive full data

I have an Arduino Uno and an ESP8266, connected over serial through ESP8266 pin GPIO_2 (which is set as RX over espsoftwareserial) and 11 on Uno (which is set as TX over SoftwareSerial). I am trying ...
1
vote
0answers
24 views

How do I fix the serial loader on my Pro Mini?

I have an Arduino Pro Mini, 3v3, 8Mhz. I have in the past successfully programmed it over the serial line. I have two others, I can program them over the serial line. I can program the first one using ...
0
votes
2answers
37 views

Flash an ESC Through Serial USB without Arduino Interrupting the Signal

So I have four Electronic Speed Controllers (ESC's), each connected to a motor. I am building a drone with an Arduino UNO board as my flight controller. For convenience, I have soldered the signal ...
0
votes
1answer
33 views

How To Read Serial Data With NodeMCU

I am trying to change leds status via serial port screen. Here is my code but it's not reading anything from serial port screen. I got leds on D1 and D2 pins. void setup() { pinMode(5,OUTPUT); ...
0
votes
1answer
19 views

Error: Cannot find module 'serialport'. node.js, Arduino Yun

I carefully followed Andy Sigler's tutorial on how to setup node.js on Arduino Yun. But I'm getting this error "Cannot find module 'serialport'". my node.js file is in mnt/sda1/arduino/node folder. ...
1
vote
0answers
32 views

Working on Binary code with arduino

i have a BGM113 bluetooth module that sends messages as binary form. I have to work on each bit separately. i am not sure about Serial.read() gets it as binary but when i am trying to see at on the ...
0
votes
0answers
28 views

Increase Serial Rx buffer

I am working with an Arduino due and I am having some issue with the serial Rx buffers size. I am using a GSM module and some of the replies to the Arduio exceed the number of bytes I can store in the ...
0
votes
1answer
29 views

Serial Getting Garbage Data with real data

I have made an app in VS2015 C#.Net which sends data to Serial port. The data i am sending is: stat>temp:39,38,;load:17,4,42,;fans>50,50,; Where as I am receiving: ððððstat>temp:39,38,;...
0
votes
0answers
13 views

Arduino Yún to Node.js communication

I'm following this tutorial by Tom Igoe Node.js on the Arduino Yún . I'm able to get values from my server using Node.js and successfully pass on those values to the Arduino side. But I'm not able to ...
0
votes
0answers
35 views

Arduino serial working, but not able to upload new program

Yesterday I was able to do some prototyping on my Arduino (Mega 2560). Part of the code involves communicating the with computer across the usb serial line and sending and receiving messages from the ...
0
votes
0answers
13 views

Arduino clone crashes my iMac when plugged in only after downloading CH340 driver [duplicate]

I have some Arduino clones with the CH340 USB chip and they were not being recognized by my iMac, so I downloaded the driver for it. Now whenever I plug in the Arduino clone to my iMac, the screen ...
0
votes
0answers
13 views

Sending information from Simulink to Arduino over Serial

Hope everyone had a great start to the new year! I am writing in this group to seek some help with sending PWM signal to Arudino over serial via Simulink Problem description : I am working on a ...
0
votes
1answer
33 views

UART communication issue on Arduino Mega

I am using an MH-Z19 CO2 sensor with an Arduino Mega using UART. As per the specifications of this sensor, after we send a command, we expect the response in a particular 9 byte format (with starting ...
0
votes
1answer
21 views

Wireless Sensor communication with 100Hz rate

I'm doing my project on haptic feedback systems. I need a 56bits of data transmitted over wirelessly to a computer to process and send the output to another arduino. I tried ESP8266 using TCP/IP ...
0
votes
1answer
34 views

Serial Communication Issue with Telit LE910 LTE Modem

I have a project that uses a Telit LE910 4G LTE Modem to allow me some basic monitoring via SMS and HTTP POST to Exosite. I can connect to a Exosite server with and send a successful HTTP GET request ...
1
vote
1answer
47 views

Peak counting in serial Arduino

I want to count peak of photocell data with serial communication in Arduino. Here is the question. My problem is when I count one of the peaks it continues the counting and doesn't stop counting. My ...
0
votes
1answer
51 views

Serial communication between Arduino and Java NetBeans

I am new to this serial communication between Arduino and Java NetBeans. I am doing some small project and I need to get data from external EEPROM 24LC256 which is connected to Arduino UNO and pass it ...
0
votes
0answers
46 views

Serial Monitor stops printing data

I have an IMU sensor (MPU 6050) connected with arduino UNO. Pin maps are as follows: MPU6050 --> Arduino Vcc --> Vcc Gnd --> Gnd SCL --> A5 SDA --> A4 (Not using any pull up resistors) I am using ...
0
votes
0answers
35 views

rc522 RFID reader will only accept first tag after power up

I have an interesting problem using the Mifare rc522 device similar to http://www.ebay.com/itm/201415107836 I have this device connected to an arduino uno and drawing power from the 5V supply. It ...
1
vote
0answers
83 views

Yet another “Mac cannot find USB serial port” post

I have read about every post about people having issues with their Arduinos on Macs. I have a 100 % authentic Aurdino UNO, that I cannot by any circumstance manage to connect to my late 2009 iMac with ...
0
votes
1answer
21 views

Reading serial buffer taking newline character instead of user input

I am trying to compare whether the user input matches a user ID or not. When I read the input from serial, the program is taking the last character which is newline char '\n' and moving it into the ...
0
votes
2answers
76 views

avrdude: stk500_recv(): programmer is not responding after serial

I have searched but have not found any solution to my problem so I am asking it here. I make a program in python that makes serial communication with the Arduino. I started to upload my Arduino code ...
0
votes
0answers
96 views

HM-10 BLE Arduino bluetooth module does not pair with android

I just bought the BM-10 BLE bluetooth module and connected it to my arduino this way: STATE -> RXD -> TX TXD -> RX GND -> GND VCC -> 5V EN -> I downloaded ...
0
votes
0answers
21 views

Reseting serial connection?

How do you detect when the serial port has been disconnected or interrupted on an Arduino Uno and reset it? I'm trying to diagnose a problem communicating between an Arduino Uno and a Raspberry Pi ...
0
votes
0answers
31 views

Stepper motor moves initially but after idle time, clicks and doesn't move for a while

I am using Accelstepper to control a stepper motor, according to commands input via Serial. It works as expected for the first time when I start serial monitor and send command. When left idle for ...
-1
votes
0answers
31 views

Arduino Ethernet with usb2serial does not connect COM port to PC

I have a problems with connecting my arduino to my PC. I'll try to explain what happened. I was using arduino ethernet with usb2serial to play with servo motor (single) MG996R. My setup was : arduino ...
0
votes
1answer
65 views

ESP8266 Serial Communication with ATMega328P

I am isolating the ATMega328P from the Arduino Uno. I have used it for many other projects, so it does work as intended. Also, I have used my ESP8266-01 for other projects and works great (including ...
1
vote
1answer
41 views

How can I make this code read a page every 10 seconds?

I got problems with the code and I have used most of today, trying to find a solution and it's starting to drive my crazy. I hope one of you guys will be able to help me out. I need the code to check ...
0
votes
1answer
44 views

Need help with the basics on serial control

I am struggling to get my head around why this just won't work. In my simple mind this simple sketch should do as it's told. But I am obviously missing something fundamental. If anyone could shed ...
0
votes
1answer
32 views

RS232-TTL Data Transmission

I'm developing an computacional module to create risk maps in agriculture, I am using one arduino mega as "GreenSeeker", generating "fake" data to transmit via RS232 connection to one Raspberry PI, ...
0
votes
0answers
21 views

use arduino mega program in nano

I'm migrating an arduino mega2560 tested program to arduino nano. I have a "case" based switch for some options. I found a problem with the input through serial. It seems doesn't work as it did in ...
0
votes
1answer
18 views

Wait for serial input otherwise start with preconfigured options

I need to input config parameters from serial input. After a period (1 min) with no input I would like the program to start with preconfigured parameters. Currently in the loop() section I use Serial....
0
votes
1answer
36 views

How to save a hex file into Arduino Flash to send it via Serial?

I have a text file with hex values formatted in the following style: A0 3F 55 01 00 C7 55 01 00 C7 AA 29 71 11 00 0B 00 C7 AA 29 71 1F AA 29 71 11 55 01 A0 3F 55 DC ... How can I save this data into ...
0
votes
1answer
55 views

ESP8266MOD does not respond to my Uno (Custom board) AT+RST command

This is my very first project with a Uno board and ESP module. I have some experience with 8051 uP. I'd like some guidance in addressing my issue. Objective: To connect ESP8266MOD to my wifi network ...
0
votes
1answer
53 views

Can't read two bytes through Serial.read - Arduino

I'm sending via Bluetooth with an Android App two bytes like this: private void _sendCommand(byte command, byte arg) { if (CONNECTED) { try { os.write(new byte[]{...