Questions tagged [serial]
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.
2,165 questions
1
vote
1
answer
94
views
Reading JSON from Arduino via Serial Missing Parts of Message
I have a project (Digital Dashboard for a Motorhome) in Pi that reads JSON data from an Arduino board and sends it via Serial.
The Pi gets the JSON data, makes some adjustments and then sends it to an ...
0
votes
1
answer
80
views
Arduino HardwareSerial flow control with handshake XON/XOFF
I am sending large texts from PC to Arduino over Serial and I cannot simply copy-paste it, as Arduino is not fast enough to process it on the fly.
I need some flow control (probabely XON/XOFF) so ...
2
votes
1
answer
82
views
ESP32 and Fingerprint Sensor – Serial Monitor Shows Nothing
I'm trying to connect a fingerprint sensor (Adafruit type) to my ESP32 (DOIT ESP32 Devkit V1), but the Serial Monitor remains completely blank, even though I'm using Serial.begin(9600) and printing ...
1
vote
1
answer
53
views
When I run my for loop the serial monitor is giving very strange results
This is unfinished code for driving a 4 digit 7 segment display. When I run my data function that should output the data to send to the shift register, I get a very weird output.
0 00111111
1 00111111
...
0
votes
3
answers
122
views
How do I read only the first character from serial monitor input and then the second up characters?
So I want to variably set the voltage going to one of RGB_LED's pins . The way I thought of doing it is to write the quantificator into the serial monitor with the first byte representing the variable ...
2
votes
2
answers
121
views
Problem sending serial data between Arduino and ATtiny back and forth
I am working on communication between a Arduino and ATtiny13, and I need to get this bare-bone communication to work. There is a Arduino Nano powered by USB cable from the PC, and there is ATtiny13 ...
-1
votes
1
answer
80
views
Looking for a library to operate LEDs using FastLED via serial communication from another device running Python
I have an LED display connected to a Teensy microcontroller using the FastLED library, which is connected to a Raspberry Pi Zero running Python via a USB hub.
I am looking for an existing library that ...
0
votes
2
answers
74
views
Using TX as gpio, while using RX as serial pin to read data from other uC - Arduino atmega8
I am having a circuit that I am using the RX pin to receive data (int) from other uC (ESP12E) as one way communication, and for the lack of pins I had to use the TX pin as GPIO for a digit of a seven ...
-1
votes
1
answer
153
views
Arduino IDE Serial Monitor is working, but not Putty - esp8266
I have an esp8266 that most often won't work with Putty, but always works with Serial Monitor in Arduino IDE.
Baudrate is set to 115200. Putty fills the terminal window with odd characters and the ...
0
votes
0
answers
93
views
Input/Output error upload with arduino-cli / avrdude
Unpacked my first Arduino today, an Uno. Went to try the instructions from the arduino-cli getting started tutorial.
When I connect the unit with USB, I get three quick flashes, then slow continual ...
2
votes
1
answer
85
views
UART Transmission Incorrect on ATTiny826
I'm currently trying to test an extremely simple circuit where I use an ATTiny86 to output some arbitrary values via serial to an Arduino micro. The problem I am facing is that all of the values being ...
2
votes
2
answers
691
views
Arduino Uno Serial.write() how many bits are actually transmitted at once by UART and effect of baudrate on other interrupts
With Arduino Uno Rev3, I am trying to maintain a delicate timing while handling data transmission. I want to send 6 bytes at a time, which takes around ~44 us when I time Serial.write(). The time it ...
0
votes
1
answer
80
views
Arduino TFT Touch Screen Interface Only Returns One Button Option
I'm trying to create an arduino code that returns a value for the button that was pressed as the user choice. However, whichever button I press the only return is 2. Also, whenever pressing other ...
3
votes
1
answer
259
views
Common Ground Between Arduino and ESP32 - Can I Re-use the ESP32 GND Pin for a Potential Divider
I am trying to connect an ESP32 to an Arduino Mega via Serial Communication using the UART 2 ports on both microcontroller boards.
There needs to be a common ground between the ESP32 and Arduino. ...
1
vote
1
answer
80
views
Interpreting Analog Output from Aalborg Mass Flow Meter GFM
I am attempting to connect this device to my computer via RS232.
I am debating the simplest way of going about this and was inquiring if my Uno R3 could come into use, turning the analog symbols of 0-...