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
1answer
47 views

UART permissible cable length

I am communicating between two esp32's. Can the UART at a baudrate of 512000, work fine over a distance of 1 metre? . The data will be sent at 10ms intervals. Wires are standard 24 awg.
0
votes
0answers
30 views

How to count number of bytes appearing in the Arduino serial?

I need to count the number of bytes appearing in the serial (UART bus) bus, how to count bytes in Arduino with Arduino Serial functions? is this possible? Application - RS485 communication with ...
0
votes
1answer
118 views

What Is The Correct Way To Recombine A Split Serial Signal?

I am trying to replace the lamp and ballast assembly in an Acer P1500 DLP projector. The ballast is an OSRAM PT-VIP-05 COMPACT. It features a UART control scheme that allows the motherboard to query ...
1
vote
0answers
32 views

MDB Protocol - Communication between a PC and a payment terminal

I'm working on a project where I need to create a communication channel between a standard PC (running Windows) and a payment terminal (a NFC credit card reader, an Ingenico iUC 180B). I'm a junior ...
0
votes
1answer
164 views

Trying to read the data from an ASK RF transmitter

I'm trying to duplicate the operation of a simple RF remote control (for some remote power outlets). In the remote control there is an unmarked 8-pin microcontroller. I've worked out which pins are ...
1
vote
1answer
84 views

Is it better to use USB A or USB B or RS232 to communicate over long distances?

Similar post As per the previous post (which was 5 years ago), I have a device that has three forms of serial communication. One is an RS232, the other is USB A and finally a USB B. So I have three ...
1
vote
1answer
49 views

How to communicate over long distances (60 m) using serial communication from multiple serial devices connected to my PC

Previous post As per my previous post which involved determining which type of serial connection is appropriate i.e. RS232, or USB. This was clearly RS232. As a follow on post to that question. I have ...
2
votes
0answers
37 views

CAN Frame Malforming on Oscilloscope

I have a working 500kbps CAN bus between an Arduino Uno and a RaspberryPi. Both are connected to MCP2515/TJA1050 boards from Amazon and communicating over SPI. The RaspberryPi dumps the CAN data via ...
1
vote
2answers
340 views

6Mbaud UART with Bus Pirate V4

I would like to sniff data on an SPI bus running at a clock rate of 6 MHz. I would like to use the Bus Pirate V4 for this task. The sniffing itself is supported up to 10 MHz, the problem is getting ...
2
votes
0answers
42 views

Opto-isolated RS232 signal capture

I have a problem in which I need to capture (spy on) an RS232 signal through an opto-isolator. This isolator needs to be high speed since the RS232 signal can reach up to 115200 baud. The main problem ...
0
votes
0answers
40 views

Serial Communications delay

Hopefully this is more of an electrical engineering question than a MATLAB question, but I don't understand a system response I'm getting. I recently got 2 Arduino Due's and configured 1 in MATLAB ...
1
vote
1answer
2k views

stm32f0 uart1 rx interrupt [closed]

I have stm32f030f4p6 Microcontroller and using iar Compiler , library cmsis , After confige Uart1 the RXNE , FE and CMF bits return 1 whereas not recieve or send was done if I dont set RXNE bit to 0 ...
2
votes
2answers
62 views

How to connect to service pads without soldering

I am trying to connect to service pads like the these (the golden, round connectors) my soldering skills are good enough to solder some wire onto these, but I have to check a lot of different pads ...
0
votes
0answers
22 views

UART2 in esp32 won't work after booting up

I have been trying to establish communication between DOIT ESP32-devkit V1 and arduino uno using the uart. I have used the software serial in the arduino uno and hardware serial in the esp32. The ...
0
votes
1answer
355 views

Simpler code than bit banging to get multiple serial hardware working with 8051

I created a circuit like the following: I have sub-circuits that all take serial data as input and do miscellaneous processing with it. Most of the sub-circuits are just light displays. I want to ...
0
votes
2answers
1k views

Serial bi-directional (one-wire half-duplex) digispark device works however answers itselfs

I followed this guide to create an one wire bi-directional (debug) device for a Digispark (Attiny85): https://digistump.com/wiki/digispark/tutorials/debugging (see section Bi-directional Serial ...
0
votes
1answer
191 views

4-bit memory serial to parallel memory register circuit question

I am building a 4-bit serial to parallel memory register and I feel like so far I have gotten things right, but I'm unsure of where to connect the CLR connections. Could someone have a look at my ...
2
votes
3answers
2k views

Can I program a QUAD SPI Chip with a standard SPI microcontroller?

I have to program a MX25L12835 Quad SPI chip. This is a Quad SPI serial flash. Is it possible to program this using an arduino? Can this be used as a simple 1 channel SPI or can quad SPI interface ...
0
votes
0answers
38 views

Data boundries in SPI serial interface

I am trying to understand the SPI serial interface between a Master MCU and a (Single) Slave ADC. Do we have 8-bits or 16-bits data word communication in SPI? Or is it un-bounded and I can send any ...
3
votes
2answers
3k views

Add serial interface to ST-link clone

I recently started studying STM32 microcontrollers (BluePill STM32F103 dev board + ST-link V2 clone). I was wondering if it is possible to add serial communication to ST-Link clone? From what I ...
0
votes
2answers
285 views

LIN to RS485 and back to LIN

I am currently communicating between two microcontrollers using a single pin and the LIN protocol over a short distance of 0.2m. Now I would like to extend the distance up to 5m by differentially ...
0
votes
1answer
26 views

How to connect a micro controller to a CDC device?

I have a device that exposes a USB port recognized by a PC as a virtual com port. I need to connect a micro controller to this device through its USB port. How should I do? I'm looking for a kind of ...
1
vote
3answers
78 views

USB to Serial (RS-232) cable not displaying data on Arduino serial monitor

My previous post (Pictures from the previous post as well) So far all of the answers and comments yielded no solution to my problem. This post offers a different method to communicate serially with ...
0
votes
0answers
50 views

Slow down rs232, 9600 (locked) to 300 for vintage printer

I have an old GE terminal (late 70s) that I'm trying to use and an old serial printer. The RS-232 port is locked at 9600 baud but my TI Silent 700 (late 70s) is 300 baud max. I've tried to Google ...
0
votes
0answers
42 views

Setting up UART with STM32L4RGTx

The prompt here is to debug the issue with UART setup on the STM32 chipset. I've followed a couple of online blogs to understand and setup the UART interface. I want to transmit (only) a dataframe (...
0
votes
2answers
62 views

TF-Mini S lidar not sending any serial data

I have a TF-Mini S Lidar. I have hooked it up to my arduino like so: (Above image from learn.sparkfun.com) And have uploaded this code to the arduino board: ...
2
votes
3answers
2k views

Explain why the NodeMCU auto-program circuit would be useful

I'm looking at the NodeMCU "auto-program" circuit but could not understand why it is there at all. From my point of view, this circuit enables open-collector outputs, but makes programming dependent ...
0
votes
1answer
62 views

Serial Port communication to PC troubleshooting

GOAL The goal is to bridge a serial port measurement device into a USB PL2303 device. Various degrees of success were observed and I hope the community can point me in the right direction in terms of ...
0
votes
0answers
34 views

Help identifying serial communication wiring

I am wanting to view serial data output from a device on a O-scope. This is a serial measurement board from an industrial robot. I have managed this in the past with other devices, but I am having no ...
0
votes
0answers
44 views

How to receive a startup hex string during a debug session?

This is my setup: I have a 'smart display' connected to the serial interface of a PCB with a PIC microcontroller. The PIC powers the smart display. This smart display uses a boot mechanism. When the ...
0
votes
2answers
47 views

What are data available and data required in SSI/SPI

I'm trying to understand SSP/SPI but I'm stuck on the concept of data available and data required. Here's how it explains it in the textbook (Valvano's Introduction to ARM Microcontroller): The key ...
0
votes
1answer
126 views

PIC18F26J50: how to use printf in C18

I'm trying to use the printf family of functions in C18 for a PIC18F26J50. In my system, the output should go through the UART and show up in RealTerm. Here is my ...
0
votes
0answers
29 views

Why isn't my PC recognizing my serial stream from my Arduino Uno?

I installed the instrument control package to Octave and have the Arduino IDE sending a single character to the computer every 100 ms. The device is transmitting on COM3 but the software still doesn't ...
7
votes
5answers
19k views

How do I hook up an LED across the tx pin on my Atmega328?

I've built a standalone Arduino and upload sketches via this method From Arduino to a Microcontroller on a Breadboard. I would like to hook up an LED across TX like on the Arduino board, so I simply ...
0
votes
1answer
60 views

How to debug serial communication with RealTerm?

I am trying to debug an LCD device with an RS232 UART interface. I am using RealTerm on a Windows 10 machine. The UART interface works properly. I have checked the sending device, using an ...
0
votes
2answers
61 views

Sending serial data over analog TV coaxial cable (RF-band)

TL;DR: I would like to transfer digital serial data over an existing analog TV cable. How do I do that?   Full Question: In order to transfer some data to a device's control lines remotely, I'm ...
0
votes
2answers
54 views

Bi-Directional RS-232 / RS-485 translator using MAX3162 IC [closed]

I'm trying to communicate with an I2C bus using the Serial Card in my PC (NI PCI485/8). I've created a circuit using the MAX3162 to translate from RS485 to RS232. Then I use the MAX3232 as a level ...
0
votes
2answers
108 views

Sending large ammount of data with USB

I'm currently facing a big problem. I've an MCU (STM32L4) connected to an SD card (SDIO) which stores tons of data (5Gb) from a microphone. I need to send this data as fast as possible from SD card to ...
1
vote
3answers
137 views

How would you combine DC power, bi-directional serial data, and an RF signal on a single 50-Ohm coax feedline?

I would like to power a remote device and communicate with it over some serial protocol on the far-end of a 50-Ohm coax feedline (RS232, i2c, SPI, etc), while at the same time sending/receiving an RF ...
0
votes
2answers
360 views

Can you send RS232 messages to yourself in PuTTY?

Say you use PuTTY serial mode and a USB to RS232 cable. Can you send messages to yourself if you wire the TX of the cable back to its RX, not haphazardly, there's probably a bit more set up detail. I'...
1
vote
0answers
23 views

Serial commands not being flushed from Raspberry to Arduino

I have an Arduino Mega controlling a matrix of 4x4 solenoids via the GPIOs opening/closing mosfet gates used as switches. I'm trying to send commands via Serial from a Raspberry Pi 4 to the Arduino ...
0
votes
1answer
156 views

How to Update firmware of microcontroller using DALI lines of a DALI slave module?

I have developed a DALI slave module with PIC 16F18326 microcontroller. Now, I want to make a Bootloader for this PIC. But the problem is, I don't have a serial communication or USB connection with ...
1
vote
1answer
45 views

Different behaviour of FTDI231XS on two PCBs with same circuit

I have designed two PCBs, both using a FTDI231XS USB to serial chip to program an ESP32. Both boards have the same circuit design to control the FTDI231XS chip. One board was hand soldered (board A); ...
1
vote
1answer
43 views

How to handle these inverted duplexed serial protocol in Arduino?

I have a device that communicates with an inverted duplexed serial protocol like the following: I need to communicate with this device with Arduino. I tried to send simply UART serial text to ...
9
votes
3answers
3k views

MSP430 serial communication failing in cold weather

I have a product using the MSP430 microprocessor, which has been selling for a couple years now. One of the MSP430's jobs is to communicate over async serial to a low-power radio. With the onset of ...
0
votes
0answers
40 views

Continuous servo "misbehaving' with arduino uno

I've recently got a TowerPro MG996R 360 degrees Robotic servo and after many tries I still can't get it to work properly. Using the Arduino's Servo library I wrote a simple program that writes a value ...
0
votes
1answer
31 views

USB-3 Type A Connector Current Drain

I have a USB 3 Type A (i.e. 9pin connector) connector on my PC and connected to a USB 3 Type A connector on my PCB with a USB 3.0 Cable. This USB3 A Type connector on my PCB is connected to FT232H ...
2
votes
1answer
56 views

What kind of serial cable do I need? (TTL vs RS232)

So I have a headless NAS that I'm trying to connect to via a serial console so I can install a different OS. It has a 3.5mm jack on the back I/O labeled COM1. I had ...
0
votes
2answers
54 views

Addressable ICs similar to WS2811 for monochrome LED [closed]

For my home decoration, i want to individually address the led strings . Since one string is of a single color, i need an ic with serial communication similar to WS2811 ic but monochrome to control ...
0
votes
1answer
270 views

synchronous serial interface in verilog

i have a ADC (ADS1672 datasheet) (20MHz) with serial interface and xilinx spartan 3 XC3S400-208 (50MHz) in it's datasheet to data retrieval comes this: for that i implemented this code: inputs and ...

1
2 3 4 5
23