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
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 ...