Questions tagged [uart]

A UART is a Universal Asynchronous Receiver/Transmitter. This refers to the "hardware" serial port in the processor. Use this tag for questions about hardware serial.

Filter by
Sorted by
Tagged with
2 votes
1 answer
63 views

Best Solution to Parallel UART reads with Arduino Due

I have 4 Arduino boards pushing data over UART to 4 serial ports on the Arduino Due at 115200 baud rate. Data format - <Short URL>,<Number of the Node> Eg: px.ht/d/mCxG,1" Arduino Due ...
Hako's user avatar
  • 23
0 votes
0 answers
119 views

ESP32 S3 Same code works on Serial1 but NOT on Serial0 for RS485 module

I have designed a test board to understand ESP32-S3 working pins. I am using USB interface D+, D- for programing so Serial0 is free to use. This is my test circuit for testing an RS485 converter. For ...
mehmet's user avatar
  • 277
1 vote
1 answer
106 views

Is it possible to use UART0 freely when connecting ESP32 s3 via USB (D+, D-)?

I've designed a test PCB that utilizes an ESP32 S3 and testing pins. During program uploads, I use the USB interface over GPIO20 and GPIO19 as D+ and D-. Everything works fine in this configuration. ...
mehmet's user avatar
  • 277
0 votes
1 answer
2k views

A fatal error occurred: Could not open /dev/ttyUSB0, the port doesn't exist (UART bridge CP2102) [duplicate]

I can't upload my program to ESP32-CAM. It just keeps saying the port doesn't exist. But I can see it in /dev/ttyUSB0 (By the way, I'm on linux, Fedora) The UART bridge is CP2102 Silicon Labs. What I'...
44yu5h's user avatar
  • 109
1 vote
0 answers
108 views

Why are the UART ports not working on my Portenta breakout Board?

I am using a Portenta Arduino Breakout Board (https://store.arduino.cc/products/arduino-portenta-breakout) that is connected to the Portenta H7 (https://store.arduino.cc/products/portenta-h7) for a ...
rcs13's user avatar
  • 11
-2 votes
3 answers
98 views

Using Soft UART - how include library

I want to use the soft serial communication example. But when I compile it, it sais: /home/xxx/Arduino/SoftwareSerialExample/aa/aa.ino:28:28: schwerwiegender Fehler: SoftwareSerial.h: Datei oder ...
jento's user avatar
  • 45
0 votes
1 answer
77 views

A peristaltic pump with pH sensor and web based output project

Good day to you all, I am asking here to confirm that my project is feasible. I have low knowledge of Arduino and other components. Please help me in achieving this project. I already have the ...
Johannes Remotigue's user avatar
1 vote
1 answer
92 views

How to optimize checking for specific string in a UART stream

I want to check for specific string (like "RecordStart") in a UART stream (115 200 baud 8N1) from a camera, to know when it is recording or not/if there is an SD. I am using an ESP32-WROOM-...
AyubowanPro's user avatar
2 votes
1 answer
251 views

Unable to upload sketch to Lolin S3 Pro (ESP32-S3)

I'm trying to upload a simple sketch to the new Wemos Lolin S3 Pro but unfortunately I can't seem to get it to work. I get the following error message: Connecting......................................
shyney's user avatar
  • 73
1 vote
0 answers
48 views

Arduino M0 pro(ATSAMD21G18A-U) to NEO-M8N-0-10 gps interface issue

i trying to interface ATSAMD21G18A-U to NEO-M8N-0-10 gps by using UART. my problem is here, i need to use pin 25(rx) and 26(tx) of arduino to interface. i have tried below. but getting error:C:\Users\...
Anantha Venu's user avatar
1 vote
1 answer
146 views

Arduino Mega Loopback Test with Several TX/RX Ports

I am trying to do a loopback test using an Arduino Mega. What I am looking to do is send a byte over TX and receive said byte back at RX and verify that the byte is unchanged. More or less I just have ...
mnlipps's user avatar
  • 11
0 votes
1 answer
101 views

Troubleshooting UART communication between nano 33 ble sense r2 and Adafruit Feather 32u4 with LoRa Radio Module

I've tried connecting the gnd's for both the boards and have connected rx to tx and vice versa in both the boards. I've powered both by batteries, and I'm trying to get sensor data from the nano, and ...
Y K's user avatar
  • 3
1 vote
2 answers
171 views

Why can't I upload a sketch by connecting directly to the serial pins?

I have an handful of fake arduino nanos. The work fine, but as an experiment, I tried to program them with a usb serial adapter (a real FTDI one). It doesn't work, but also, strangely, it seems to ...
Alex028502's user avatar
1 vote
0 answers
61 views

Communication with scale via rs232

I need help with an Arduino project. I want to read values from a TCS150 scale using the serial port. The hardware I have is an UNO R3 board and a MAX3232 level converter. I have connected: MAX3232 ...
Konrad Morawiec's user avatar
1 vote
0 answers
89 views

UART SERCOM on Pins 11-13 Arduino M0 (SAMD21)

I am a newb at coding. Does anyone have any code laying around or some time to write some to send data over UART SERCOM on pins 11/12/13 on a SAMD21 board like the Arduino M0? I am trying to send a ...
Charlie Nicholson's user avatar
-1 votes
1 answer
126 views

Reply from the SIM800l module is being cut short

I have a sim800l module connected to the Rpi pico hardware UART /* SIM800 RPi Pico 5v *External 2A 5v supply* GND GND VDD 3v3 TXD GP1 RXD GP0 */ ...
DrakeJest's user avatar
  • 229
0 votes
1 answer
112 views

How to reset flow control that prevents me from reading data from ESP8266?

I have a ESP8266 module (like this). I ran a command AT+UART_DEF=115200,8,1,0,3 as mentioned in documentation of ESP8266 SDK to change the baud rate of my ESP8266 module. It seems like by running this ...
g00dds's user avatar
  • 115
1 vote
1 answer
152 views

ESP8266 module doesn't respond to commands and sends garbage to serial on boot

I bought a ESP8266 module (like this). I connected the module like on the following scheme: I use a USB to TTL converter (cp2102) that I've connected to RX&TX pins of the module. It works. It ...
g00dds's user avatar
  • 115
1 vote
1 answer
90 views

Confusion about Oscope reading of Arduino Software Serial

I am trying to troubleshoot a Software Uart Connection from my Arduino Nano, and I do not understand this output. The setup is simple, I have a Software Serial connection on pins 2 and 3. I send 170, ...
user87406's user avatar
1 vote
1 answer
418 views

How to read and parse UART data from human presence radar sensor

I'm working on a project, and I purchased a 24 GHz "Human existence/presence" mm Wave sensor from micradar, the R24DVD1. The output of the module is serial data which varies in length and is ...
obatala's user avatar
  • 11
0 votes
1 answer
80 views

How does a callback function get revoke itself eg. Connect function get revoked when there is new connection

Further to my previous question here Can anyone help me understand how the callback function gets revoked itself? The connect function, disconnect function. BLE custom UUID code source here Another ...
Just doin Gods work's user avatar
-1 votes
1 answer
386 views

Trouble connecting barcode scanner to ESP32 devkit using UART - fails to connect over serial

I'm having trouble connecting a SparkFun 2D Barcode Scanner Breakout (effectively a DE2120) to a 30-pin ESP32 dev kit v1 (marked ESP-WROOM-32) and running the SerialScan sample application for this ...
Tom Hume's user avatar
-1 votes
2 answers
3k views

Send HEX number over serial

I have a RS232 device that I am able to communicate with using RealTerm on a windows PC. The device is expecting a hex string like AA BB 03 01 03 EE How would I send the equivalent string from an ...
spuder's user avatar
  • 111
1 vote
0 answers
170 views

Can read Serial but cannot write - serial communication Arduino Mega 2560 clone

I am having issues using the following USB to UART module. I am using an Arduino 2560 clone. I have two connections with the Arduino: COM7 which consists of the given module, connected to the main ...
BurgerMan's user avatar
1 vote
0 answers
2k views

SIM800L not responding to AT commands

I am using SIM800L module the module. I am new to GSM modules, so I've searched for the basic to use the GSM with the Arduino. this is my code. #include <SoftwareSerial.h> SoftwareSerial ...
Mostafa Radwan's user avatar
1 vote
1 answer
2k views

CH340G based USB to UART adapter - Pinouts - Can't find schematics

This is the board I will be referring to. There are different variations of it (with built in buttons etc.) but they all seem to be based on the CH340 chip. My problem is, that I do not know what the ...
GeorgeWTrump's user avatar
1 vote
1 answer
286 views

Weird SoftwareSerial behaviour with Arduino nano when multiple SoftwareSerial objects are configured

So I have been stuck with this for quite some days now and am really unable to put my finger on what's wrong here. Any help would be great. Try not to list down the disadvantages of SoftwareSerial, I ...
dravit's user avatar
  • 111
2 votes
2 answers
127 views

Trying to understand the bottleneck of sensor sampling rate

Lets say I have a sensor connected to Arduino Uno Rev3's I2C Bus. I am reading the sensor output and using Serial.print() to send the sensor reading back to a my laptop. I am trying to understand the ...
Quazi Irfan's user avatar
1 vote
1 answer
369 views

Using arduino framework how many instances of SoftwareSerial can use simultaneously with esp32

Ussing popular library https://github.com/plerup/espsoftwareserial/ can I have multiple softwareSerial ports (for example 6 ports). I’m the readme say “ several instances can be active at the same ...
Diego Serrano's user avatar
1 vote
0 answers
560 views

Arduino Nano and ESP32 Read Different Values over Serial

I am trying to use the Neato xv11 lidar with an ESP32. This should output packets of 22 bytes with the starting byte 0xFA. The communication is 8N1 and the baud rate is 115200. When I connect the ...
Seth A's user avatar
  • 11
1 vote
2 answers
967 views

Serial communication with 2 Arduinos and one optocoupler

I just started working with Arduinos on Tinkercad in a school assignment and have non preexisting electrical knowledge. Tried to read up on the subject and I think I've gotten some of the facts ...
Funtad's user avatar
  • 11
-1 votes
1 answer
73 views

UART connected device communication only works one way

As the title implies, I have two Arduino devices (Uno and Mega) connected to each other over UART (the Mega is hardware UART, the Uno is software UART); I need the Mega to send a command to the Uno, ...
nerdguy's user avatar
  • 63
1 vote
0 answers
51 views

SoftwareSerial fails to receive on Nano but works with Uno [duplicate]

I have built a circuit board that includes a BLE module and an oxygen sensor that has a UART. Writing arbitrary data to the BLE works fine, but for some reason every configuration of SoftwareSerial I ...
Ten Bitcomb's user avatar
0 votes
2 answers
597 views

Serial comm UART1 works on Arduino but makes ESP32 continuously reboot

This comm sketch simply read incoming bytes from the UART 1 where a device is attached. It works normally on a real Arduino device. But on ESP32, it makes it continuously reboot with the following ...
Stéphane de Luca's user avatar
2 votes
1 answer
135 views

So many missed bytes with serial comm

I have a setup with serial comm from Raspberry Pi to Arduino. It's communicating at baud 9600 on both devices, and from Raspberry Pi 3b+ GPIO-14,UART0,TX0 to Arduino Nano RX0. There's a level shifter ...
errolflynn's user avatar
4 votes
4 answers
2k views

Bi-directional UART communication on single data wire, possible?

The nano is inside of the house, and the pro mini is outside of the house. I want to send/receive text between them. The communication will be always nano sending text to mini, and then mini sending ...
Damn Vegetables's user avatar
2 votes
0 answers
655 views

How to know if GPS module is dead?

I can't make function the NEO-6M-0-001 GPS module, this is the third one that already bought! I'm using an ATmega2560 as microcontroller for obtaining the data from the module and seems that the ...
Oscar Espinosa's user avatar
1 vote
0 answers
87 views

configuring characteristics to communicate data on the Arduino bluetooth low enegy module

I have the HM-10 Arduino BLE module. I am also building an app to send and read characteristics on the BLE module. On the Arduino BLE side of things though, how do I set up which characteristic ...
Ahmed Anwer's user avatar
1 vote
0 answers
53 views

Prevent timeout while exchange data between two stm32

I am trying to exchange data (str data) between two STM32 throughout Lora connectivity. Both STM32 has a lora module and the connection between them is working fine. Based on two functions: ...
falcon_977's user avatar
2 votes
0 answers
47 views

receives 0 0 instead of "hello"

I receive the following: 09:27:10.618 -> 0 0 09:27:12.589 -> 0 0 09:27:14.616 -> 0 0 09:27:16.622 -> 0 0 09:27:18.576 -> 0 0 09:27:20.577 -> 0 0 09:27:22.583 -> 0 0 09:27:...
Robin Svensson's user avatar
1 vote
1 answer
87 views

Need HELP!! Serial communication has a very "Strange Problem"

I am working on building a serial command receiver. The idea is came from the boot loader. However, I got a very strange problem that I have no idea what could cause it. As the first screenshot show, ...
Lu Chih Yuan's user avatar
1 vote
0 answers
34 views

Receiving code between atmega328P (C) and Feather m0 (Arduino)

I've tried to create a receiver code for receiving my data (really only want the ac/gy values and nothing else) and use the following main code for sending via C programming: https://github.com/...
Robin Svensson's user avatar
1 vote
0 answers
280 views

Send Multiple Sensors Data into single Packet in Arduino

I have two sensors data in packet but now I want to send these two sensors data into single packet in which these two sensors data are gathered. I mean I want to have a packet in which I have oxygen, ...
Namra Noor's user avatar
1 vote
1 answer
101 views

Arduino Mega reading from external sensor Issue

I have one external sensor and I want it to be connected with Arduino. The sensor came up with a usb cable and the pin out diagram is also given in the data sheet . When I simply connect the the cabe ...
Lawliet's user avatar
  • 183
1 vote
1 answer
332 views

Arduino , python , pyfirmata , standard firmata

Is there a way to change arduino analog reference to EXTERNAL IN PYTHON using pyfirmata or any other library ? Necessary Links : https://www.arduino.cc/reference/en/language/functions/analog-io/...
Shahan hasan's user avatar
1 vote
2 answers
1k views

ESP8266: Interfacing MAX485 TTL-to-RS485 on serial port

I am using the ESP8266 NODEMCU. I am aware that the CH341 on the NodeMCU is bridged to the serial pins GPIO3(Rx) and GPIO1(Tx). Hence, any data send on Rx and Tx is also visible on the serial monitor. ...
Sandrocottus's user avatar
1 vote
1 answer
1k views

Problems with Hardware Serial (UART) on Nano 33 BLE Sense

my new Nano 33 BLE Sense arrived today. I'm working on a project to send data from the the Nano via an Xbee S2C module to a receiver module connected to a Nano 33 IoT. I had the project working ...
RobM's user avatar
  • 41
4 votes
2 answers
2k views

When it comes to UART to RS485 communication, what is the difference between the 'MAX485' and the 'HW-0519' module?

I recently found this model with the ID 'HW-0519' on it. It can be found online (HW-0519 in Aliexpress) and is sold for the purpose of converting UART to RS485 communication using Arduino devices. The ...
C Vith's user avatar
  • 93
1 vote
0 answers
341 views

HC-05 bluetooth module short range

I have started learning about arduino and just bought a bluetooth module, HC-05. From where i bought, it says it has range of approx.10 meters. I made hc-05 connection with arduino in below described ...
usmandroid's user avatar
1 vote
0 answers
129 views

Trouble using bluetooth module with the ESP32s2 feather board

I am trying to use an ESP32-S2 feather board with a separate bluetooth module, the Adafruit BLuefruit LE UART Friend. I previously used this bluetooth module with the Feather M0 Adalogger through UART ...
Cem Adatepe's user avatar

1
2 3 4 5