Questions tagged [uart]

A UART (Universal Asynchronous Receiver Transmitter) is a piece of logic that sends and receives data on a serial port.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
53 views

How can we use TCP for sending realtime data sampled at 10kHz? [closed]

My system samples vibration data at 10kHz frequency. These realtime samples are sent to the server using an ESP8266 with UDP communication. An ATmega328P is interfaced with the ESP8266. Sampled data ...
user avatar
  • 13
1 vote
1 answer
53 views

Please help identify these 2.0mm pitch wafer wire to board connectors

Please help me find these 2.0mm pitched 6 pin connectors. They are used in this application for UART communication between a wifi module and the main board. The closest thing I found was YYECOM ...
user avatar
0 votes
0 answers
28 views

5v ALDL 8192 Baud to esp32

I've been working on a diagnostics program for my old diesel, I need the TX/RX pins of my esp32 to connect to the 1 wire ALDL port. I believe I've found a suitable way using the following circuit Im ...
user avatar
2 votes
1 answer
32 views

USART stop bit not pulled high during nRF update

I am using an STM32L4 chip that sends an update to the nRF52832 on a ublox module over USART. I assume the nordic chip is in the bootloader during the update. We get a UART error: 4 and when we ...
user avatar
0 votes
1 answer
36 views

Data transfer FPGA To PC via UART

I have implemented a TDC and an 8-bit encoder in my Artix-7 FPGA board and I want to transfer this data from FPGA to PC via UART protocol! I don't know if I should save this data in FIFO memory or ...
user avatar
1 vote
1 answer
87 views

>1Mbps UART core on Lattice's ICE40UP-5k FPGA?

I need a UART core able to receive in the ~4-5Mbauds range (the transmitter is able to transmit up to 30Mbauds, over RS422 upstream of the FPGA), but Lattice's 16550 IP core only allows me to ...
user avatar
  • 1,080
0 votes
0 answers
28 views

NRF51822 UART with ArduinoIDE

When using UART in ArduinoIDE, ArduinoIDE uses a preset pin number for RX and TX for UART, and when using a board like ESP32 which has RX/TX pins preset it's fine. What do you do when a board does not ...
user avatar
0 votes
1 answer
116 views

How to avoid noise on serial connection?

tldr: How can I prevent noise on a short (30cm) serial line? I'm trying to connect a Jetson Nano to a Sabertooth motor driver via UART (I'm using their "packetized serial" mode, but I don't ...
user avatar
  • 113
1 vote
1 answer
94 views

Gardena Battery Rain Water Tank Pump 2000/2 - UART Interface

I have a garden and would like to water it automatically with rain. For this i buy a «Gardena Battery Rain Water Tank Pump 2000/2» and would like to control via an ESP8266. After opening the control ...
user avatar
  • 11
2 votes
3 answers
118 views

Unidirectional level shifter 1.8-5V -> 3.3V

I'm looking for a circuit/IC to shift logic levels between 1.8/3.3/5V and 3.3V. This is to connect various devices via UART to the ESP8266. As such, I only need unidirectional translation - the ...
user avatar
  • 23
1 vote
2 answers
113 views

How can I pass serial data through a Raspberry Pi Pico from USB to GPIO pins to be read in another Pi Pico? [closed]

I read that the Pi Pico/RP2040 has 2 UARTs. If I want to send data from a computer to a Pi Pico, how should I create a UART that uses USB? Micropython expects pin numbers to create a UART. If I use ...
user avatar
10 votes
3 answers
1k views

Microcontroller is being powered by the UART connection

I have a custom ARM Cortex M3 board that communicates with a Raspberry Pi 4 via UART. Only three wires connect the Pi to the MCU: Tx,Rx,GND. When the MCU power supply is turned off the device does not ...
user avatar
  • 461
1 vote
1 answer
73 views

Can I directly connect a 5V DC device to the inputs or outputs of a 3.3V microcontroller that tolerate that voltage level?

I'm doing a project with a PIC32 that works with 3.3V and that has some terminals that are tolerant to 5V levels. I need to manage another device that has a UART at TTL voltage levels (5v). The ...
user avatar
0 votes
0 answers
44 views

Weird Letters in Proteus Virtual Terminal

I'm a newbie to Proteus and electronics world. I have an assignment in which I need to use USART communication. Basically, at the end of the assignment, I should have accomplished that when I enter a ...
user avatar
0 votes
1 answer
36 views

Help in using Teraterm

Greetings electrical engineers, I am an undergraduate electrical engineering student. I was trying to configure Teraterm so that I can use it simultaneously with Proteus for serial communication with ...
user avatar
  • 11
1 vote
1 answer
68 views

COM Port not Detected on Windows for CP2102 on Custom PCB

I am using CP2102N-A02-GQFN24 on my custom PCB to program my ESP32 board. I am not able to see any COM port on my Windows 10 PC. I can connect to an off the shelf CP2102N-A02-GQFN28 USB UART bridge ...
user avatar
  • 21
0 votes
1 answer
52 views

ST-Link doesn't show any data on the serial port

I am working on Nucleo board programming circuits. This board programs like an Arduino, you can compile, run and show data on the serial port. Actually, you can do debugging, too. You just need a USB ...
user avatar
0 votes
1 answer
136 views

Why is the Adafruit GPS breakout board no longer receiving after a couple of years?

I attached Adafruit's Ultimate V3 breakout board to my Racpi 3B by using its UART wires. It used to work indoors (I live right under the roof) quite fine for a couple of years when attaching an ...
user avatar
  • 401
0 votes
0 answers
41 views

How to program a Nucleo board (L053R8) using UART?

I went through all possible data sheets I could find did all the required things but my Nucleo still won’t be programmed with uart. I have put boot0 on VDD pin next to it. For confirmation I also put ...
user avatar
1 vote
2 answers
62 views

How do I exit (Microchip Pic18fxxxx rs232 BTFSS PIR1,RCIF) Loop when no data is present (Assembly Mplab Mpasm)

...
user avatar
  • 552
0 votes
2 answers
70 views

Decoding unknown UART

I'm struggling with a project here. I have an Elechomes EC5501 air humidifier that I want to make "smart". When taking it apart, I found out it uses a circuit board similar in most points to ...
user avatar
1 vote
3 answers
152 views

I2C high speed mode

I am working on a project which requires communication from a central controller and multiple peripheral sensors. Each sensor can push out data at a rate of 4-5KB/s(kilobytes/sec). There are 25-30 of ...
user avatar
  • 95
0 votes
2 answers
54 views

How can I handle Overrun and Framing errors in UART transmissions on PIC16 devices?

I am transmitting and receiving data over UART between two PIC16 devices using interrupts, but at random times, one of them seems to block its receiver and it stays stuck in that position permanently. ...
user avatar
  • 55
2 votes
1 answer
74 views

What is this port, 4 holes, 2x1.8v pairs

I am trying to reverse engineer a cheap Chinese Hi3518ev200 based camera for quite some time now. I have successfully located the UART used for the serial console (3 pins lower left on the picture), ...
user avatar
  • 121
0 votes
0 answers
24 views

BLE UART module for music?

I'm pretty sure the answer to this is no but wanted to get some thoughts (particularly the glaringly obvious info I'm missing). My intent was to take a wired over-ear headphone set and make it ...
user avatar
1 vote
1 answer
46 views

Can DTR be replaced with GPIO0 in this USB to UART auto-program circuit?

These auto-program circuits have been popular for a long time. They replace the need to press boot and reset physically to put the MCU into programming mode. Some USB to UART converters do not have a ...
user avatar
3 votes
1 answer
65 views

Extract a 6 pin connector pinout with serial protocol

I have an intercom display, Elvox 5721, and I'd like to program it with its software, called "saveprog". It has a 6 pin programming connector which requires Elvox's cable which is called ...
user avatar
  • 31
7 votes
5 answers
831 views

BJT To Prevent Debug UART Backfeeding PCB?

Question Can a simple NPN BJT transistor prevent a debug UART from backfeeding the MCU on the target PCB? Problem UARTs and associated USB-to-UART dongles (such as an FTDI branded one) are commonly ...
user avatar
  • 377
1 vote
1 answer
66 views

FT231XS FTDI USB UART self-powered circuit

I haven't been able to find a full example of a self-powered FT231XS circuit. I was hoping to get feedback on what I have put together from studying the datasheet (any glaring issues?): 3v3_RUN is my ...
user avatar
  • 235
1 vote
1 answer
60 views

What are the maximum recommended values ​for SPI/UART/USB series resistors?

Almost always in electronic designs resistors are used in series in the SPI/UART/USB connections to avoid overshoot, and they are encountered in values ​​between 10R and 350R. With what criterion ...
user avatar
  • 15
1 vote
1 answer
40 views

When does a USART 'buffer ready' bit turn on?

I have an Atmel328P mini Xplained. The datasheet specifies UCSR0A (1 << UDRE0) as a 'buffer ready' signal. This reads 1 if the receive or transmit buffer is ...
user avatar
-1 votes
1 answer
64 views

Connecting a radio device with controller (+ power supply) [closed]

I have a min knowledge in electronics, so I am sorry if my questions are stupid for you. I am studying how I can connect a radio device with a controller. The radio device is a transmitter/receiver or ...
user avatar
1 vote
0 answers
44 views

Can I Safely Use Serial1 of ESP32 with GPIOMATRIX?

I am trying to use ESP32 with a Lora module and HMI display in a same project. So I need 2 UARTS. I have connected Lora module (e32 900t20d) to RX2 (GPIO16), TX2 (GPIO17). Also I want to connect my ...
user avatar
  • 873
1 vote
0 answers
31 views

ESP-WROOM-02 is not responding to AT commands as expected

I using the ESP-WROOM-02 (esp8266 core) as WIFI module and the Arduino nano IOT 33 (samd21g18) as main processing unit. I flashed the ESP-WROOM-02 via the ESP flash download tool with the AT Firmware ...
user avatar
  • 143
6 votes
4 answers
1k views

Algorithm for compressing a stream of 12-bit ADC data in a Cortex M0 microcontroller

In my application, a Cortex M0 microcontroller currently samples an ADC signal at 10 kHz and sends the result via a USB serial cable to a computer. I want to now increase the sampling rate to over 100 ...
user avatar
  • 959
6 votes
3 answers
590 views

Who decides the timing in the async serial communication based on UART + RS232?

According to here, UART is a hardware device that implement the asynchronous serial communication protocol. And according to here, RS-232 defines the electrical characteristics and timing of signals, ...
user avatar
0 votes
2 answers
124 views

How to use 8-bit UART to convert a data bus wider than 8-bit into serial?

From here: A UART IC is used for parallel-to-serial conversion. And it looks like below: There are only 8-bits on the parallel side. So what if the data bus is more than 8-bits? Is there any wider ...
user avatar
0 votes
4 answers
130 views

Can serial communication always be encoded with "8-N-1" schema?

According to here, a serial data frame looks like this: 9600 8N1 - 9600 baud, 8 data bits, no parity, and 1 stop bit So it implies the total data bits are always a multiple of 8 bits. What if I have ...
user avatar
0 votes
2 answers
91 views

stm32 reading from SPI and forwarding to USART

I'm reading samples at a fairly high bitrate (820kbps) from an external ADC over SPI. I need to add a CRC byte and then forward each sample to USART. As a consequence of my inexperience, within the ...
user avatar
  • 219
0 votes
1 answer
72 views

PIC18 UART interrupt priority problems

I am completely new to microcontroller programing. Just started my journey with PIC18F24K22 and now I am on the UART interrupt stage. I have been reading the datasheet meticulously and it really took ...
user avatar
0 votes
0 answers
65 views

Tiva C microcontroller to DYNAMIXEL servo (UART to RS485)

I am really struggling to establish communication between Tiva C TM4C123GH6PM microcontroller to use Dynamixel servo. Here is the circuit where MAX485 converts UART TTL signal to RS485. This servo has ...
user avatar
2 votes
0 answers
121 views

UART communication problem between Raspberry Pi 4 and STM32F767ZI

I'm trying to debug a problem with the UART communication between the raspberry pi 4 and an STM32. Indeed, I try to send the number 1 from the raspberry pi to the stm32 but I can't get the right ...
user avatar
1 vote
2 answers
61 views

Which struct variable for UART needed to communicate through ST-LINK module for this STM32 board?

Regarding this STM32 board. I want to send character to it by from a terminal program using ST-LINK module and only USB. I can do that by using USB to TTL converter. For instance I enable the pins of ...
user avatar
  • 1,335
0 votes
1 answer
91 views

STM32 USART Does Interrupt Trigger if TXE was set before TXEIE

STM32F746 Disco, STM32CubeIDE 1.7.0, Win 10, CMSIS-only, C language, on registers. I'm writing a UART transmit driver on interrupts (load data into buffer array, automatically fetch it from there with ...
user avatar
  • 3,276
0 votes
1 answer
101 views

Do high-speed asynchronous to synchronous UART converters exist?

I need to send synchronous serial data with control characters and 8b/10b encoding at about 5Mbaud - and I need to send that from a laptop; I do have UART ports which can keep up with these speeds, ...
user avatar
  • 1,080
1 vote
1 answer
62 views

Why am I having communication issues between ESP12F and ATmega328?

I am working on a PCB to enable an ATmega328 to connect to an MQTT network through an ESP12F. I am using a voltage divider in the TX line from the ATmega to reduce it to 3.3v (using nets SR+ and SR- ...
user avatar
3 votes
1 answer
161 views

STM32 UART Blocking Receiver Not Putting Data In Array, Overrun Flag

STM32F746 Disco, UART1 connected to ST-Link, Win 10, STM32CubeIDE, C, no HAL no other libraries other than CMSIS register definitions. Putty on Windows side to send and receive UART messages to/from ...
user avatar
  • 3,276
0 votes
1 answer
128 views

Interfacing Arduino with USB thermal printer

I want to interface a USB thermal printer with an Arduino. If I use a USB to UART converter so that I can connect the USB thermal printer to TX,RX for Arduino will it work or is there other way I ...
user avatar
0 votes
1 answer
49 views

USB Device Intermittent Disconnects

I have Xilinx Eval Board(SP605) with USB-UART bridge(SI CP210x). The board is connected to Win10 Computer USB port. The USB communication is failing intermittently when running tests. Observation so ...
user avatar
1 vote
0 answers
142 views

Isolated UART communication with optocouplers

I want to create a universal PCB for projects requiring galvanic isolation. I'm not in need of fast baud rates, 9600 should suffice. My most common use will be with Arduino 5V/3V3. I want to ask if ...
user avatar

1
2 3 4 5
29