1,927 questions
3
votes
0
answers
67
views
Communicating with two devices over BLE UART in python using bleak
Unfortunately, I don't have any experience with async programming, so it took me quite some time to get my code running on a Raspberry Pi 5 4GB (with bookworm 2025-05-13 OS) to communicate with one ...
0
votes
0
answers
31
views
Unable to transmit data with USART2 in STM32 NUCLEO-F072RB board
I have been trying to transfer data via the USART2 module through the RX/TX (PA2/PA3) pins.
Even though the configs are the same (9600, 8N1), and also the function returns HAL_OK, I still could not ...
0
votes
1
answer
148
views
Embedded Linux Uart to be used as RS485
I have been working on multiple projects of Embedded Linux from last 5 years but there is a small problem when I use UART.
I am using STM32MP13F with MYIR board. The UART is connected to half duplex ...
1
vote
0
answers
55
views
Raspberry Pi + EBYTE E32‑900T30S over UART — AUX=HIGH but no AT response
I’m trying to talk to an EBYTE E32-900T30S LoRa module from a Raspberry Pi 4 using the Pi’s UART and a small Python wrapper. The module’s AUX pin goes HIGH, but I get no response to AT queries (e.g. ...
0
votes
0
answers
47
views
Websocket data limitation in lte modem Simcom A7672s
I am using SIMCOM A7672S module for Websocket communication for OCPP, whilw doing this I need to tx/rx data more than 1500 bytes for few commands but as per documentation of the module the max limit ...
2
votes
1
answer
219
views
Getting garbled data from UART on ESP32 from DSMR5 meter
I'm trying to read out my DSMR5 electricity meter on an ESP-WROOM-32. I've connected the 3.3v from the ESP to the RTS on the meter, and connected the ground and TXD from the meter to the ground and ...
-2
votes
1
answer
182
views
What's blocking me from writing / reading from serial port in Ubuntu Linux? [closed]
I've created this Python script to distill the problem down to its most fundamental.
This works on Windows against COM3 (my Arduino programmed to return data via serial).
Why doesn't this work on ...
0
votes
1
answer
71
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 ...
0
votes
1
answer
103
views
Trying to connect to a UART CO2 sensor to to get readings using a python script but I can't get any responses following command
I'm using this specific CO2 sensor:
https://www.co2meter.com/products/sprintir6s-100-co2-smart-sensor?variant=43960919195846
for a school project and ultimately I'm trying get it connected to a ...
2
votes
2
answers
182
views
UART times out writing data
I have built a custom yocto image for my BBB and I'm having trouble with the UART. I have two uarts mapped ttyS1 and ttyS4. But for some reason I'm having trouble with ttyS1 timing out writing data, ...
2
votes
1
answer
143
views
Problem with jumping to application - STM32 Bootloader
I am making software bootloader for my STM32F407, and i managed to successfully write firmware in flash, starting at address 0x08004000 and I want to jump to it so my board can start executing that ...
0
votes
0
answers
205
views
Difficulty receiving response on RS485 UART with STM32
I am sending RS485 signals from a master (STM32 Nucleo board with a Waveshare - CAN RS485 shield) to a slave (custom PCB). The PCB then responds. I am switching the DE pin in the meantime and I can ...
1
vote
1
answer
175
views
I am getting DMA Transfer error interrupt every time I try to send a byte through PC COM Port to STM32F446RE
I am trying register level programming for STM32F446RE Nucleo-64 board. I want to receive data through UART in circular mode using DMA. I am getting DMA Transfer error interrupt every time I try to ...
1
vote
0
answers
83
views
LPC43xx UART configuration using libopencm3
I'm stuck with establishing communication between LPC43xx MCU and ESP32. I have wiring checked (RX to TX and vice versa) ESP32 to ESP32 and everything is OK, but with LPC I feel that missing some ...
0
votes
0
answers
61
views
Serial/uart configuration on RPi 4
Quick question
I'm recovering from breakdown on my RPi 4. Old RPi was scrapped and copying all setup on new RPi. Unfortunatelly setap which use to work now does not respond. I have noticed settings of ...
1
vote
1
answer
60
views
When data arrives before calling the STM32G4 UART receive function
Data reception is locked if data arrives before the STM32 UART reception function is called.
I simulated this in the code example given below.
I send a data packet and receive an immediate response ...
0
votes
1
answer
249
views
ESP32-H2 supermini Serial Class methods not working PIO or Arduino IDE
So I am running an esp32-H2 Supermini on Platform IO and I need to use some method from Serial. initially, I had a problem with the monitor where Serial.println() was not working but that was fine as ...
2
votes
0
answers
217
views
STM32 basic UART bare metal setup issue
I am new here, first post, so thanks in advance for being gentle with me :)
After spending weeks trying to make this work and searching examples/education/forum, i now reach out and hope someone is ...
0
votes
1
answer
46
views
xv6 uartinit: set baud rate
I'm confused about how the baud rate 38.4K is calculated in xv6.
Here is the UART documentation.
void
uartinit(void)
{
// disable interrupts.
WriteReg(IER, 0x00);
// special mode to set baud ...
1
vote
1
answer
142
views
Virtual UART device in linux
I'm trying to implement a virtual UART using socat command for send and receive a string that is encrypted using XOR cipher on sending and decrypted while receiving using C program.
#include <stdio....
0
votes
1
answer
84
views
Why does AT command don't work with ESP8266-01?
i have a problem with my new ESP01. I tried using AT commands with the baud rate of 115200, but don't receive OK answer. I also tried to flash it and didn't quite succeed as it's just flashing that ...
0
votes
0
answers
438
views
How to resolve CMakeLists.txt error in visual studio (ninja build error)
I am working on a project with an ESP32 WROOM32 and trying to use two UARTS, we can get the first one to work and output data, but the second one not so much. I am currently trying to compile my code ...
2
votes
1
answer
134
views
Read lines from UART using fgets and select
I'm trying to use fgets in esp-idf to read a whole line from UART.
The basic reference code is the select example.
So far, here my code:
#define DLP_RFID2_BUF_SIZE 256
static char buffer[...
1
vote
1
answer
139
views
Using the DY-HV20T module with rp pico in UART
I'm trying to make this little MP3 player (dy-HV20T) work.
The module works in autonomous mode, but impossible to communicate with it in UART.
Here is the test code:
from machine import UART, Pin
from ...
0
votes
1
answer
116
views
Is DateTime.Now inconsistent over time?
My Application logs Telegrams via UART from a Bus. For each Telegram I add an Timestamp with DateTime.Now at reception. Now I have the phenomena, that sometimes the next telegrams timestamp is up to ...