Questions tagged [serial]
In serial communication data is transmitted as a sequence in time. Main advantage: much less wires needed. Main disadvantage: Higher bandwidth for the same throughput.
1,473
questions
1
vote
0
answers
24
views
Why does my W65C51's echomode have weird bit delay?
I've recently bought a new Western Design Company 6551 IC, but after hooking it up I get a weird bit-delay while using the Echomode. When I send a character, for example 'U', it should send (startbit)...
0
votes
2
answers
50
views
CH32V003 MCU max USART baud rate
I will work with the CH32V003A4M6 microcontroller and must configure its USART for serial communication.
My application needs to go up to 460800 baud rate.
Does someone know if this is possible, or ...
0
votes
1
answer
54
views
STLink v3 serial doesn't work
I'm trying without any success to get STLINK-V3MINIE serial to work. It shows up as a serial port on the laptop:
...
0
votes
2
answers
62
views
Do FT232 come pre-programmed out of the package?
I'm working on a board which requires USB serial communication. For this I want to use an FT232RNL, however I'd like to know if I need to program it before I install it on the board. Also, do I need ...
7
votes
1
answer
371
views
Design of very long serial signal systems
In the current case there is a single signal conductor, tens (hundreds?) of meters long, which serially connects door and window sensors for a whole building. The sensors are simplest possible ...
0
votes
2
answers
120
views
Is it normal to get garbage output through UART when resetting the microcontroller?
I have written functioning code for Serial Communication through UART, and when stepping through the code it transmits characters just fine. I have done this using microlib, so I can use printf (I ...
0
votes
1
answer
72
views
Serial Port connected thru HDMI... Kinda works and now I have questions
I want to preface this with the fact that I don't know much on the hardware end of things.
We have a device at work that requires a serial port connection to communicate with the software that ...
0
votes
0
answers
70
views
Decoding unknown serial data from treadmill console board
I have been working on a treadmill project whereby my aim is to manually control the treadmill with an Srduino without using the remote.
Info about the treadmill - The treadmill is just a normal ...
0
votes
0
answers
38
views
Fingerprint sensor module communication (FPM383 R503)
I'm working on a fingerprint sensor that is known as FPM383. It is much like the well known R503 sensor. Their datasheet and serial communication manual are almost identical.
I was trying to control ...
0
votes
0
answers
29
views
ATTINY85-20SUR and serial communication
I am trying to use this chip ATtiny85 for serial communication. So my question is, would you recommend using it for serial communication, such as storing names, IDs, data, and last operations? Should ...
0
votes
1
answer
34
views
Where can I get the virtual port name for a serial monitor in Simulide
I'm trying to set up a Serial Monitor in SimulIDE, so I can keep track of the variables in my Simulation:
However I apparently need a port to open the monitor:
I've seen Youtube videos where they ...
1
vote
0
answers
43
views
ESP32-C3-MINI-1-N4: can't establish Serial connection but can flash code
I've recently build my own dev board utilizing the ESP32-C3-MINI-1-N4 module. Everything works pretty well and just as expected, I can control a few onboard LEDs just fine and upload code and ...
1
vote
2
answers
72
views
Designing a particular clock cycle series with glue logic/CMOS/TTL for serial data without a uP
I am looking to design an interface for serial data that runs for 31 cycles (not 32, I know), but with uneven cycles to transmit serial data. Each cycle is 8 clock pulses (at 7MHz). For the first 20 ...
1
vote
1
answer
94
views
USB to TTL (CH340G) quickly becomes unreadable
I bought a CH340G based USB to TTL converter to interact with a new embedded system I got. The output starts out fine but becomes unreadable after a few lines
...
0
votes
2
answers
105
views
Why does RS-232 Communication fail between these 3 ESP32's?
What's the Goal?
Trying to get two esp32's to communicate over their UART lines using RS-232.
My initial inspiration and idea for the connections was based on
https://esp32io.com/tutorials/esp32-rs232
...
0
votes
0
answers
31
views
Gibberish data with custom Atmega 2560 UARTs
So I have an issue with the UART configuration of my customized uC based on the ATmega2560.
To establish serial communication, I'm using the FT232RL chip and the Arduino IDE.
I don't have any issues ...
4
votes
3
answers
591
views
Custom Arduino MEGA crashes ONLY on a specific command when plugging UART-USB converter before main power. Phantom power leaking through UARTs pins
Disclaimer
Based on multiple attempts to find the cause of the problem, I have determined that I might be facing a hardware issue rather than a programmatic failure, hence why I am posting this here ...
6
votes
4
answers
344
views
Is there a canonical way to signal WS2811/2812 LED strip?
The WS2811/2812 protocol is well-defined and hence the chip now seems to dominate addressable strip lighting products.
People have managed to use SPI and UART to control it, and someone even did it ...
0
votes
2
answers
56
views
Oscilloscope or Logic Analyzer for Studying Serial Communication? [closed]
I have been programming microcontrollers with serial interfaces (the usual: I2C, SPI and UART) mostly for learning purposes and would like to see the signals, if they conform to the timing diagrams in ...
0
votes
3
answers
44
views
Use digital sensor with USB to serial TTL converter?
I have a sensor (HC2A-S3A), which provides analog and digital output signals. The digital interface is UART (19200 baud, protocol RoASCII). Can I use a USB to Serial TTL Converter (chipset: FTDI ...
0
votes
1
answer
91
views
Prolific PL2303 knock-off USB-TTL adapter without timing crystal
I recently got this bare-bones USB-TTL adapter which unsurprisingly contains a knock-off Prolific chip but on top of that it is entirely without the crystal oscillator. It seems to be missing some ...
0
votes
3
answers
97
views
How do I convert a structure's data to the character data type and fill it in an array for UART transmission and reception?
I am trying to solve the following problem where I am supposed to send the data of a structure from one micro-controller to another using UART.
The problem statement is as follows:
Write a sample ...
0
votes
1
answer
42
views
What do the different LED lights indicate on a DB-9 tester and what can I infer from them? [closed]
I have a machine with an RS-232 port. When I power ON the machine and connect the DB-9 tester all the machine's troubleshooting guide requires is to check if the RTS light is green. I see there are ...
0
votes
0
answers
33
views
SCI-TX doesnt work properly (Serial communication)
Part Number: TMS320F280025C,
Other Parts Discussed in Thread: LAUNCHXL-F280025C, C2000WARE,
I have a simulink model for a power electronics project and i want to see detailed data using SCI-TX port in ...
0
votes
1
answer
54
views
WiFi connectivity ceases on ESP32 when MAX3232 is powered on the same board
Since my issue could be lying anywhere, I will explain my design details a bit.
I have a 4-layer PCB. The stackup is Top-GND-PWR-Bottom.
...
0
votes
2
answers
208
views
UART and RS422 Interfacing
Do I have to connect the Logic side of an RS422 transceiver to a UART on my STM32, or can I connect the logic side to any GPIO on the STM32?
0
votes
3
answers
127
views
What is Multiprocessor Communication in 8051, and how to use it?
In 8051, one of the bit, SM2 or the D5 or SCON.5, is about "Used for Multiprocessor Communication." I am not clear about it. I watched quite many tutorials or explanations about 8051 on ...
2
votes
3
answers
1k
views
What causes a digital signal to look like this?
I’m reverse engineering an existing microprocessor to microprocessor serial signal. When I put my scope on the target device I see the clock and data lines just fine on my scope when I connect it to ...
0
votes
2
answers
221
views
STM32 Help receiving serial data sent from python's pyserial
I need some help communicating between python's pyserial and an STM32f030R8 microcontroller. This is for a 2 DOF robot which has a python base GUI. The GUI will send, via serial communication, the ...
0
votes
2
answers
115
views
Why are there two wires connected to each terminal of the RS485 port in energy meters
I want to connect the energy meters of our clients to a gateway so that the gateway can communicate with the meters using Modbus. I have visited several electrical rooms that have gateways installed ...