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
3 votes
0 answers
45 views

Incorrect results without printing message

I am trying to make a custom tv remote using an ATmeta328p microcontroller. It contains 28 buttons which are wired in a matrix configuration, resulting in 5 outputs (columns) and 6 inputs (rows). ...
user avatar
-2 votes
0 answers
25 views

Could you recommend USB-Serial Bridge Controller IC for WebSerial? [closed]

I'm looking for new USB-Serial Bridge Controller IC. I was using CP2102, but it cannot be detected by chrome WebSerial API on Windows OS. I think CP2102 driver is too old to give a proper information ...
user avatar
0 votes
0 answers
23 views

AT+CNBP command for SIM8202G-M2 cellular module

I've been trying to setup this module on CM4 rasberry device. So far I managed to get it setup to boot with the system, the main issue here it only finds LTE network. I used AT commands in order to ...
user avatar
-1 votes
1 answer
31 views

Serial2.write not working on ESP32

well I using topway brand HMI display it is very easy to use with Arduino nano or UNO with rs232 converter. this my converter: . for example this code is writing "63" number on display. it ...
user avatar
  • 873
0 votes
2 answers
58 views

Async Serial decoding of underfloor heating bus with Saleae Logic 2

I'm trying to decode a serial protocol from my underfloor heating system (OJ Electronics) Example of bus communication sent every 11s is quite small and looks like: This will need to contain info ...
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
52 views

Raspberry PI4 and RS232 adapter cable: how to send serial commands

I would like to use a Raspberry Pi4 to control a syringe pump [(see datasheet here and in particular the quick start manual on page1)][1] The connector cables I used are RJ11 from the Pump to RS232 (...
user avatar
0 votes
2 answers
83 views

Send float with Serial Port

I'm trying to send float temperature data from stm32f103c8t6 to qt application. When I try tosee value with Keil I can. But When I try to transmit to App I got some error about convering uint8_t to ...
user avatar
  • 3
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
1 vote
1 answer
55 views

ESP32-S3 Mini OTG not recognized serial port

I am working on a new iteration of a project I have been working on for awhile and recently upgraded to the ESP32-S3-MINI from ESP32-S2-WROVER-N4R2. For the esp32-s2-wrover I was able to simply put ...
user avatar
  • 133
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
67 views

CH340G set of chip partially working

I bought quite a number of these CH340G USB-to-UART chips for a project. I initially mounted them on PCB and soon discovered some of them are working and others don't. To help me testing each ...
user avatar
1 vote
1 answer
110 views

How to tell what serial protocol is used on a DB9 connector?

I'm trying to reverse engineer communication between a host and client device that uses a DB9 connector. I'm able to measure voltage between the devices with a breakout board and multimeter. The pin-...
user avatar
  • 115
0 votes
1 answer
36 views

RGB LED simulation with Arduino code

In this Arduino code, I want to when press numbers from 0 to 8, my LED s respond to it. Everything is working fine from 1 to 6 and 8. But when I select 7 and my code doesn't run well and Red and Green ...
user avatar
  • 53
1 vote
2 answers
85 views

Identification - 3-pin 3.3V serial port?

I'm trying to identify this port and read data off it. It's 1cm across, including a small square on the lower left. 3 pins, leftmost near square seems to be GND and rightmost reads 3.3V+ w. respect ...
user avatar
1 vote
3 answers
146 views

Using a LED as a debug serial port

I want to add a debug serial output port to a device that's sealed in epoxy. I plan to use one of three existing 3mm LEDs (red 617nm, green 568nm, or yellow 588nm), ±30° angle, that emerge from the ...
user avatar
  • 1,002
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
0 votes
0 answers
26 views

esp8266 reading from envir current cost monitor seeing garbage characters on serial port (rpi reads without the unknown characters)

I'm trying to read the output of a current cost Envi-R monitor which outputs well spec'd xml over serial. I have connected the Envi-R TX and GND to my esp8266 (a nodemcu dev board) and the xml can be ...
user avatar
0 votes
1 answer
79 views

ADC sampling and serial communication

Probably a rookie question and I'm overthinking it. If I have an 8 bit ADC on a microcontroller sampling at 20 MHz, and the ADC operates at a 132 MHz clock, the voltage isn't communicated every period ...
user avatar
2 votes
2 answers
111 views

Why is my serial connection transmitting slightly incorrect characters?

I have four configurations I'm testing, and one of those configurations is showing symptoms of incorrect transmission in one direction only (from my laptop terminal to the server). Direct connection ...
user avatar
  • 145
1 vote
2 answers
120 views

Programing the ESP32 with FTDI cable

I bought FTDI’s TTL-232R-3V3 to USB Serial Converter cable to program my ESP32 board When I decided to put the flip flop circuit to connect ESP32 reset & boot0 pins to DTR & RTS pin, I ...
user avatar
  • 129
1 vote
0 answers
67 views

Is USB serial from PC to Arduino basically error-free?

Suppose a random Arduino board has its serial pins connected to a random USB-serial bridge (like, but not necessarily, a CP2102). Assume further that the PC at the other end of the USB cable is using ...
user avatar
  • 129
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
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
125 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
4 answers
262 views

How are "async/sync" and "serial/parallel" communications related?

I think "async/sync" and "serial/parallel" are orthogonal concepts. There can be 4 combinations of communication types: async serial sync serial async parallel sync parallel From ...
user avatar
0 votes
6 answers
262 views

How are the bits transmitted over the wire?

This should be a basic but fundamental question. Suppose I have a source and destination communicating over a wire. Source wants to send bit stream 01101 to ...
user avatar
0 votes
0 answers
38 views

Find Bps given a star graph

Today I wrote finals for the semester in the subject "Introduction to Telecommunications".1 question was like this: Suppose we have a star graph with 64 dots in it.That would mean we are ...
user avatar
0 votes
0 answers
59 views

Why use pseudoternary here?

Suppose we have this series of bits: 000000100 We use pseudoternary encoding in order to find if the clocks of the sender and receiver are in sync and to correct these mistakes, correct? Can we also ...
user avatar
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
0 votes
0 answers
35 views

RP Pico SPI MicoPython write order confusion

I'm using an RP Pico to program the FT8113 Video Processor, I have written the following code and the device boots up but does not return the expected 0x7C as stated in the datasheet. The programming ...
user avatar
0 votes
0 answers
61 views

Can an LTC4311 I2C amplifier be used along with PCA9515A I2C repeater

Can the LTC4311 (click for datasheet) be used along with the PCA9515A (click for datasheet) I2C bus repeater? EDIT to describe my goal: I am using a RaspberryPi4 with around 1m long cables and the ...
user avatar
0 votes
0 answers
54 views

Use USB-C breakout board to connect TOF-sensor to an Arduino

I need some help with connecting my VL53L0X - TOF sensor to my Arduino Nano Every. I already connected it and am reading three sensors successfully over the I2C bus. I now want every sensor to be ...
user avatar
1 vote
1 answer
90 views

Is it possible to individually control each LED the way this schematic is designed?

I'm currently researching a design which includes the below schematic : This is supposed to be an array of LEDs which are attached to the front panel of the device for indicator lights. However, I am ...
user avatar
  • 145
0 votes
2 answers
118 views

Digital high-speed serial synchronization

How do high speed digital transceivers which do not share a common clock synchronize? Particularly ones which do not have an ADC front end? Would you just oversample the signal using a digital input, ...
user avatar
0 votes
1 answer
58 views

Serial TX and RX requirements

I am building a custom ESP32 PCB. What do I need to take into account to route the serial tracks (Rx Tx)? Are they differential pairs? Can they be routed under an SMD resistor? Is 0.250mm (9.8 mil) ...
user avatar
1 vote
1 answer
109 views

Interfacing CH376s with Arduino Nano Every

I am trying to interface CH376S with Arduino to send the data to USB connected to CH376S module I am using a USB 2.0 with storage capacity of 16GB , I have also formatted the USB to FAT32 . I am using ...
user avatar
1 vote
0 answers
81 views

What trouble will I get into if I use a headphone jack for serial communication between two arduinos?

I have a project that requires two arduinos to exchange some information when connected together via wire. When the connection is made, Arduino A should start sending a message. When Arduino B has ...
user avatar
  • 463
1 vote
3 answers
79 views

Bandwidth of signal

What exactly do we mean the signal bandwidth is the range of frequencies the signal is made of?Is this referring to the Fourier transform of the signal in the frequency domain?
user avatar
2 votes
1 answer
122 views

How decode serial data stream

I am trying to decode a data stream. This signal comes out of an STC 8H1K16 micro-controller. It is from the pin labeled TxD is the picture. When I trigger the signal I am trying to understand I get ...
user avatar
  • 121
0 votes
0 answers
39 views

I2C Communication for Mbed Program between Two NUCLEO-WB55RG Boards Fail

Really hope if there is someone have a quick look and give out a solution as soon as possible as the project is going to due very soon. Through the following code, I can allow sender board sending ...
user avatar
  • 23
2 votes
2 answers
112 views

Modelling I2C capacitance for cables under water

My setup works fine with following combination of hardware: Raspberry Pi4 connected to a TCA9548A I2C Multiplexer from Texas Instruments, whereas each channel is connected over 4wires (GND, VCC, SDA, ...
user avatar
3 votes
5 answers
1k views

Ways to send data with CRC validation

The data frames that are always sent using CRC are as follows: a CRC calculated for each byte (DATA) But to make the connection faster, could you send a single CRC for a whole frame of data? the ...
user avatar
0 votes
2 answers
101 views

CS5530 - Read serial data through SPI [closed]

I am trying to read data from a CS5530 using SPI. I have gone through the complete datasheet but I don't understand what is missing. I am getting the same value every time even after changing the load ...
user avatar
0 votes
2 answers
93 views

When buying parts with serial interfaces is it useful to check timing requirements?

When buying parts with serial interfaces is it useful to check timing requirements? I'm especially curious about something like I2C; is it generally enough to see that a component is capable of ...
user avatar
-2 votes
1 answer
72 views

MISO MOSI not moving in SPI [closed]

I am not able to communicate using SPI with between 2 devices. Below are oscilloscope plots. I want to ask possible problems or errors that might have made in FW. I need to understand the general ...
user avatar
0 votes
0 answers
44 views

Serial comunication between Arduino and STM32 F401RE with Arduino IDE

How can I pass through the serial port a number from an Arduino to the STM32 F401RE? Using the Arduino IDE? For now I have done this: (I should do all this using just the Arduino IDE) Code Arduino (TX)...
user avatar
  • 1
0 votes
0 answers
46 views

Serial flash programmer, how to update only part of the data in SPI Flash

I have SP8-A serial flash programmer and Winbond 25Q32BVSIG chip. I want to update only specific part of the data in SPI Flash, not touching the rest data on the chip. The programmer Manual does not ...
user avatar
  • 171

1
2 3 4 5
27