Skip to main content

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.

Filter by
Sorted by
Tagged with
1 vote
0 answers
8 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)...
MathijssY Klaver's user avatar
0 votes
2 answers
48 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 ...
Sebastian Medina's user avatar
0 votes
1 answer
53 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: ...
brigadir's user avatar
  • 273
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 ...
hdaniu's user avatar
  • 31
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 ...
NoobPointerException's user avatar
0 votes
2 answers
118 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 ...
spyduck's user avatar
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 ...
Ben Leatherman's user avatar
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 ...
Soham2001's user avatar
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 ...
AKTanara's user avatar
  • 291
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 ...
AAS's user avatar
  • 21
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 ...
haifisch123's user avatar
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 ...
EmilEmilchen's user avatar
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 ...
paraparabolic's user avatar
1 vote
1 answer
93 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 ...
user1129682's user avatar
0 votes
2 answers
102 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 ...
jouell's user avatar
  • 117
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 ...
Wyufiyra's user avatar
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 ...
Daniel Melendrez's user avatar
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 ...
Milind R's user avatar
  • 212
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 ...
First User's user avatar
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 ...
Pontis's user avatar
  • 101
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 ...
Jamesfo's user avatar
  • 256
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 ...
missedSemiColon's user avatar
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 ...
Sachin 's user avatar
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 ...
vona's user avatar
  • 1
0 votes
1 answer
53 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. ...
Sener's user avatar
  • 273
0 votes
2 answers
201 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?
Dark-Matt19's user avatar
0 votes
3 answers
126 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 ...
AirCraft Lover's user avatar
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 ...
DaveInPA's user avatar
0 votes
2 answers
215 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 ...
Eric14003's user avatar
0 votes
2 answers
114 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 ...
Somanna's user avatar
  • 335
0 votes
1 answer
49 views

Reducing EMI caused by unterminated serial TX line

I have a PCB with a serial TX UART used for programming & logs. Most of the time nothing is connected & the ~50mm TX trace is unconnected - basically an antenna. Are there any best practices ...
randyrand's user avatar
  • 113
0 votes
0 answers
43 views

How to use nRF24L01 on ATTiny85 and together with serial TX?

I am using ATTiny85 + nRF24L01 to receive radio messages. After connecting nRF24L01 to ATTiny85 I don't have much PINs left, as I use all pins except PB5=RST: ...
PanJanek's user avatar
  • 279
0 votes
1 answer
60 views

CAN BUS Termination resistor sizing

I am using ISO1042 CAN Transceiver to establish communication between my board micro-controller with other board controller separated by 0.5m distance. I am using standard 120 ohm termination ...
Embedded Enthusiast's user avatar
0 votes
1 answer
347 views

ESP32-CAM flash via UART

I'm looking for help to upload from Arduino IDE into an ESP32-CAM module, without an FTDI programmer or shield. Context I've got a couple of ESP32-CAM modules with an associated ESP32-CAM-MB shield ...
djee's user avatar
  • 3
0 votes
1 answer
134 views

max3232 disconnection suddenly - problem

Hi I use a Max3232 chip to connect the RS232 between the microcontroller(STM32F103) and an HMI, the problem is that sometimes this connection will be disconnected and no longer work, this may happen ...
Ashkan Khajeh's user avatar
2 votes
1 answer
97 views

What size should I select for the resistor? I have led and SSR and 24VDC source [closed]

Could you please clarify this circuit with me? I have selected 90 ohms. Please let me know if I need to do something differently here. R=(24-30.3)/20mA= 1035ohm and I select 1Kohm I appreciate any ...
AAS's user avatar
  • 21
0 votes
0 answers
271 views

ESP32-S3 USB Serial is read-only

I have a ESP32-S3-DevKitC-1 board. It has two USB ports, one connected to a USB to UART chip (brigde), the other connected to SoC directly (USB Serial). The USB Serial is much faster than bridge for ...
AmirSina Mashayekh's user avatar
0 votes
0 answers
44 views

AD677JNZ Raspberry Pi Connection

Relatively new to electronics, I would like to connect the AD677JNZ analog-to-digital (ADC) to a Raspberry Pi 4 to monitor the voltage of a potentiometer. However, I am having issues with the ...
user avatar
0 votes
1 answer
67 views

What is this logic gate / electric symbol

I was looking through the MAX3232 datasheet (for a uni project) and I found these strange looking not gates (seen in the below picture) with an s-like symbol inside. I've been trying to find what it ...
GН057 ZЗЯ0's user avatar
0 votes
4 answers
103 views

RS232 connection

The picture in this post is from a Casio XJ-A140 projector. Casio decided to use a proprietary connector for serial communication that is no longer available. I am trying to get this projector to ...
j d's user avatar
  • 15
0 votes
0 answers
46 views

Serial to USB aggregation with Pi

I'd like to aggregate 4 serial devices to a single USB device (a rPi zero with only 2 UART). So far, I've been able to design the following schematic but I'm not sure of the components used nor if the ...
Manitoba's user avatar
  • 223
0 votes
1 answer
74 views

MSSP setup on PIC16F18313

I am new to using PIC16F18313 and having some difficulty setting up the MSSP module. I am using PICKit 3 on Windows 10 with MPLAB X IDE v5.40 and XC8 compiler v2.41. The IC has pullup resistors 4.7k ...
RickyBoy's user avatar
  • 169
1 vote
1 answer
65 views

H11L1M optocoupler is inverting

I'd like to protect a serial connection with a H11L1M (I can easily get some at work and it works from 3 to 16 V). The problem is this optocoupler is inverting and has the following truth table: ...
Manitoba's user avatar
  • 223
0 votes
1 answer
87 views

How to program a new STM32F103C8T6 on custom PCB via USB to serial converter?

I puchased some STM32F103C8T6 from AliExpress which I soldered to my homemade PCB via a reflow oven. But, the problem is my program uploaded, but it did not run. To confirm that it's not the pcbs, I ...
bquark's user avatar
  • 3
-1 votes
1 answer
269 views

Low-Voltage Differential Signalling (LVDS) not working

I have updated the schematic and hopefully included all the suggestions. The problem of the LED strip flickering is still there, however, I have noticed a slight improvement after altering the circuit ...
Nugget's user avatar
  • 1
0 votes
0 answers
140 views

How fast can a Schmitt trigger operate? Can I use it for signal conditioning digital serial data?

I would like to know if I could use a Schmitt trigger chip (e.g., 74HCT14, CD40106B and 74AC14) to clean a 12MHz serial digital signal that has gone through a long cable and will pass through multiple ...
Emerson's user avatar
  • 423
0 votes
0 answers
69 views

Replace photo diode and phototransistor with an IrDA chip

We have a circuit that communicate optically with a symmetrical circuit (exactly the same circuit at the other side). The circuit is based on a phototransistor SFH 320, a photodiode ZTHI55WA-3-SGM, ...
Renaud's user avatar
  • 31
0 votes
3 answers
457 views

Understanding RS422 and choosing drivers

I want to communicate 2 MCUs using RS422. I need to have some isolation, so the driver should have 3.3V side and 5V side, isolated. All I can find in the market are half-duplex drivers, I understand ...
Developing Electronics's user avatar
2 votes
0 answers
49 views

Serial communication between Arduino and computer cuts out after a while and doesn't reconnect. Why?

I've just kept an experiment running the whole weekend. Arduino controlling heat and humidity and sending data over serial to my computer. I had a python program reading Serial data and populating an ...
Popeye's user avatar
  • 339
-1 votes
1 answer
220 views

Which PRBS to use?

How do we know which pseudo-random binary sequences (PRBS) to use for a specific use case? Why is PRBS31 used to test 10G serial transceiver? Does a list of PRBS with characteristics exist? Edit: The ...
None's user avatar
  • 372

1
2 3 4 5
30