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.

92 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
506 views

clocking MSP430 UART from DCO

I'm designing a simple remote-controlled sensor. It's going to be connected with others and a master device using RS485. All it's going to be doing is transmitting the status of a few digital lines ...
2
votes
0answers
1k 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 ...
2
votes
0answers
80 views

Offset QPSK Frame sync markers

What actual protocols exist out there that employ Offset Quadrature Phase-Shift Keying (OQPSK)? What do they use for the frame synchronization marker (or "preamble" or "sync word" or "flag")? Do ...
2
votes
2answers
1k 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 ...
2
votes
0answers
127 views

Sending Serial Data Over FTDI causes loop

I'm trying to send and receive serial data from an atmega328 (using the arduino library) over an FTDI (FT232R) chip. I can send data to my pc and view it in a serial monitor. I can send data from my ...
2
votes
0answers
728 views

How to figure out the correct serial port parameters?

I am trying to listen to a device which communicates via a serial port. I've built a monitoring adapter and set up a python script, which works really well. I just don't know the exact length and ...
2
votes
0answers
567 views

Which serial protocol or encoding scheme does this scoreboard use?

I am trying to decode a signal stream coming from a Nevco scoreboard controller: Packets like this are sent every ~2.7 ms. I suspect it is some sort of UART signal because it is on the RX line of a ...
1
vote
0answers
52 views

Serial.println using Registers in ATMEGA328P

I have worked with ATMEGA328P using Arduino libraries, but new to actual register level coding. To start with that, I have written code for basic Serial.print in ...
1
vote
0answers
32 views

PCBA Upgrade help - best route for processor upgrade

I have a PCBA currently which: Runs a Linux Kernel Communicates through 4 RS232 serial poets Communicates through Ethernet port It currently uses an AM335x processor, which I am finding is not ...
1
vote
0answers
76 views

How can I estimate the minimum baudrate for a given bitrate?

My circuit performs data acquisition at 250 samples/s, 24 bits/sample and transmit this information to the local host (PC) through a bluetooth module that implements the UART protocol. As far as I ...
1
vote
1answer
242 views

PIC32MX UART Interrupt Not working

I am writing a program to send data from one microcontroller and receive the data using on another PIC32 microcontroller and display the received data on LCD. I am using UART2 of both PIC32MX to send ...
1
vote
0answers
479 views

Custom Arduino powered board (CH340C) Serial Problem

I made this custom board that contains a complete arduino nano on it. I soldered every component with extreme care and already check all the connections and they all go according to the designed ...
1
vote
1answer
228 views

Transmitting through IRDA as if its a native serial port. Possible?

I'm currently making a lazertag project that utilizes the standard UART data format for data I/O. Before I go make up another circuit board that connects a photo-transistor that senses a laser beam ...
1
vote
0answers
114 views

Shift Register with non sensical output

So I have two daisychained 74HC595 Shift Registers driving 16 low current LEDs, and the shift registers are wired to an Arduino Mega. Initially the ciruit worked perfectly, the test code scanned left ...
1
vote
0answers
207 views

Problem with Pyserial read time

I'm building a RS485 network with rpi3 as master and a bunch of c51 mcu as slaves. After sending an address, the master waits for the slave to respond and then starts to send data. I'm using Pyserial ...
1
vote
1answer
1k views

stm32f0 uart1 rx interrupt

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 ...
1
vote
0answers
896 views

Serializing and Deserializing data

I am trying to develop a data link on FPGA. The transmitter combines 8 channel input to single output. The Rx has to de multiplex the single channel to 8 bit parallel output. presently the system is ...
1
vote
0answers
56 views

Best way to examine the values of a pin?

New to Pic and microcontrollers in general. I have a PIC16f1779 chip and I want to read the values of an ADC pin (RD1) that is hooked up to a potentiometer. I was wondering how I can see the values of ...
1
vote
0answers
1k views

How to troubleshoot serial communication?

I connected my computer to a RM-BR300 controller to read its data, to try and mimic its functionality in the future. I'm using RealTerm and a USB to RS422 converter for the job - here's the result: ...
1
vote
0answers
2k views

How do I connect a photodiode to a GPIO?

I'm trying to read serial data emitted through an IR led with a Raspberry Pi using an IR photodiode, but I'm not sure about the correct way to hook it up. Unfortunately I don't have a part number for ...
1
vote
0answers
336 views

Using nRF8001 as a master with an FPGA

I would like to use Nordic's nRF8001 modules in Master and Slave modes and also would like to connect it with Spartan-3E FPGAs using SPI. I am considering buying the nRF8001 DevKit. I believe it is ...
1
vote
0answers
275 views

Searching a connector for a test port on a router

I have a bunch of Teltonika RUT500 Routers which have a test connector on board which expose a serial console. While I has able to access the serial port by soldering a connector to the contacts, I ...
1
vote
0answers
486 views

Arduino to Serial Cable Encoding Error

I am trying to send data between an Arduino Uno and a Mac. The Arduino Uno is running this simple sketch to print data to serial: ...
1
vote
0answers
2k views

XMega waveform generation with DMA and USART

I'm using an Atmel XMEGA128A4U. I need to generate a high speed digital waveform with minimal CPU overhead, and have set up a USART to output the waveform and DMA to transfer data from a table to the ...
1
vote
0answers
417 views

Why there is no respond on rs232 port

We are working on communication between AVR and a Crous PTZ. We can see some details about Crous communication ports on page 15 of its guide : We found Crous protocol doc (Got it here) and now we ...
1
vote
1answer
500 views

Why there are AC timing characteristics but not DC in I2C interfaced chip?

I'm quite newbie in electronics, and I'd like to learn why there are AC timing characteristics to this particular EEPROM (24LC512) that I'm using but none for DC? Does AC timing constraints apply to ...
0
votes
1answer
36 views

RS232 Modbus to USB wiring

I have a RS232 device that sends data following the modbus protocol. I have problems communicating with it and I think my wiring is wrong. Since most modbus devices work over RS485 it is hard to find ...
0
votes
1answer
44 views

Serial TX/RX pins same on receiver and transmitter using usb/serial converter to computer

I just bought a small form factor computer (Dell Optiplex 9020) that has a serial port and Linux installed but when I boot up the machine I can't monitor data on the serial port. On another machine (a ...
0
votes
1answer
34 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 ...
0
votes
0answers
23 views

Determining the Directionality of Communication when Reverse-Engineering an Unknown One-Wire Interface

I have an automatic digital control system that collects information from a sensor, but with an unknown and proprietary one-wire host-device protocol, both sides are driven by a microcontroller. I'd ...
0
votes
0answers
77 views

Scrambled Data on a RS232 port

I currently face a problem of scrambled data on one of our RS232 connections to a serial terminal and would like to request some help, if possible. Sent: Received: First of all some information ...
0
votes
0answers
21 views

Segmented LCD Driver HT1622/HT1621 interface type unclear

I've been leaning working on using and interfacing a microcontroller with an HT1622 + a custom segmented LCD. IMO the datasheet of the IC is very small and left me confused ; is the interface SPI ? ...
0
votes
0answers
56 views

Trouble connecting to temperature controller using MODBUS,RS485 and MATLAB

I am trying to communicate with a temperaturature controller ATR-401 using MATLAB but i am having trouble just connecting to it and reading temperature data.I have set baud rate, data bits, parity and ...
0
votes
0answers
63 views

Make MIDI messages and audio signal transit in the same jack cable

I know it's a crazy (bad) idea, but still: I hate having many cables attached to a music instrument when I move in the room. Let's take the example of a Akai MPC500 sampler: it is battery powered (so ...
0
votes
0answers
42 views

Using a BeagleBone board as a serial terminal server

I am trying to use a BeagleBone Green Wireless board as a serial terminal server. That is, connect USB-UART cables to the USB ports to control other serial devices when I log into it over the ...
0
votes
0answers
25 views

issues with serial printing with broken stlink using arduino ide for nucleo f411re

I am using stm32 nucleo f411re for a project. I have separated the stlink from the board, and I am using arduino ide extension in vscode to program the nucleo f411re. The issue is I am not receiving ...
0
votes
0answers
22 views

Does anyone know connection points for Speakercraft MZC-64 3.5mm (TRRS) to DB9 transfer cable?

I am looking for Speaker craft MZC-64 transfer cable, 3.5mm (4conductor)plug to DB9 serial adapter, for firmware upgrade and programming MZC 64 through EZ tools. I am unable to find it online. Does ...
0
votes
1answer
76 views

STM32: Interrupt latency for serial protocol implementation

I am implementing a synchronous serial interface (SDLC) using an STM32. My original implementation for the RX side is running on a ARM7 which uses the FIQ to set an interrupt on the clock line, in ...
0
votes
0answers
40 views

Two-way communication between esp32s

I am planning a circuit that requires two-way communication between one esp32 and 3 others. I want to use a master/slave architecture as shown here: They need to be able to communicated via hardware, ...
0
votes
1answer
63 views

Do UART RX interrupts require support from the transmitter?

I'm trying to understand why I am seeing RX interrupts when tying RX to TX of my SAMR34 but not when I connect it to the transmitting device. The transmitting device notes the following restrictions: ...
0
votes
0answers
46 views

Writing Flash Memory Serially

I am looking into writing data onto some Flash memory serially, the requirement is to replace the old parallel programmer with a serial based programmer example Cheetah SPI Host Adapter. The Flash ...
0
votes
0answers
20 views

How to use SPI serial interface with ATSAMD21G18?

Like the title suggests, I have a ATSAMD21G18 microcontroller that I want to interface with a LTC6803-4 chip, but I'm not sure how to set up the SPI bus on the microcontroller, and the datasheet ...
0
votes
1answer
96 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
40 views

MEGA2560 only starts program after pressing RESET button multiple times

I am working on a program where I am controlling an MP3 player by using UART between my MEGA2560 and the MP3 player. The MEGA2560 sends serial commands to the MP3 player when external interrupts are ...
0
votes
3answers
82 views

Implementing Honeywell IMU

Want to start by saying I'm a mechanical/aerospace engineer, and I'm fairly out of my depth here. My current project is on a load-testing rig. Ultimately, it will use a Honeywell HG1120 IMU to give ...
0
votes
0answers
72 views

Long-Distance Multi-Slave Communication

I am currently trying to connect many serial slave devices to my Arduino device over a 14 meter distance. I am looking to have slave-to-master communication. These devices include: 3 BME280 ...
0
votes
0answers
57 views

CORTEX-M LPCOPEN USB-VCOM basics - proper way to build a simple FSM

I'm working on a project involving the LPC4370 mcu (LPC link 2 eval board) and Matlab. I need my embedded code to be user-reconfigurable from matlab: the user sends a command, the mcu replies. I'm ...
0
votes
0answers
24 views

Smart Charger (Tenergy TB-6AC) UART/USB interface

I have an old smart charger (Tenergy TB-6AC) which boasts the ability to interface with my computer. Upon further research, I have found that the software is no longer supported and no where to be ...
0
votes
0answers
47 views

Bonding DC Minus to Ground with Resistor for Remote Power?

Layout: I have a system that has 3 serial networks that run a variable length with one central processor talking to multiple endpoints via Modbus RTU, Canbus, and another rs485 that talks a protocol ...
0
votes
0answers
42 views

No data being displayed from ADC0804 in program using FT232RL

I'm attempting to read analogue voltage from a potentiometer by converting it into digital using ADC0804 and then passing the data onto y pc using FT232RL. As it stands the ADC0804 circuit is working ...