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.

88 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
505 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
717 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
70 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
1answer
863 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
123 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
691 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
559 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
27 views

How to receive multiple RS-422 inputs concurrently and combine their sentences into a single file?

I'm trying to gather RS422 signals at 4800 baud and 9600 baud from 5 different sources. The sources are all constantly streaming, but I want to log all five of them in a single place. What would be ...
1
vote
0answers
39 views

How to transmit and receive analog audio signal using a 433 Mhz Transceiver Module

I am looking at a 433 MHz transceiver module like the following one. Following are some of the key Specs of the module: Operating Voltage(VDC) = 3.3 to 5 Frequency = 433 MHz Serial Baud Rate = 1....
1
vote
0answers
51 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
29 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
72 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
196 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
410 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
195 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
107 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
202 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
797 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
55 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
272 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
483 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
489 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
0answers
43 views

FTDI using non-standard baudrate

I'm doing some testing on a custom made USB to serial convertor based on FTDI232RQ which operates on 3MHz and MAX130 Transceiver IC. I'm using a program using Linux to send ASCII values and files to ...
0
votes
1answer
50 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
14 views

Serially Programming STM32 Using ESP32

I have a PCB on which sits an ESP32 and STM32. I want to use ESP32 to perform OTA on STM32 and for that I would like to serially program the STM32 using ESP32. I have a serial connection between PA9 ...
0
votes
2answers
82 views

Can I use a deserializer without a matching serializer?

I am trying to connect an LVDS output to an 18-bit parallel input. Ser/des ICs like this all state on their datasheets (like on page 12 of the linked datasheet) that before they are able to function ...
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
61 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
43 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
79 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
38 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
80 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
49 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
50 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
23 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
46 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
41 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 ...
0
votes
0answers
53 views

connecting three batteries together

I have a scenario of connecting three batteries together. Two are 12V 80 AH and one is 12V 150AH . All are C20. I wish to make it a 24V system of 150AH by connecting the two 80AHs in parallel which ...
0
votes
0answers
36 views

SMBus Address and BaudRate

Hello I need to communicate with some batteries ( BT-70791CK from BrenTronics). They use SMBus ver 1.1 for communication, but in datasheet of the batteries there is no information about the SMBus ...
0
votes
0answers
39 views

How is it possible to program an ATTiny over USB without a USB to TTL chip?

I have been testing out my Digispark and the board has no USB to TTl converter chip and yet you can program it over USB. Is it possible to do this with an ATmega328p for example?
0
votes
0answers
62 views

16 bit VISA Write in LABView

I am trying to communicate with a LIN sensor device via a PC COM port (I built a board that converts USB to UART and then UART to LIN). The board works and I wrote a simple Matlab script to grab data ...
0
votes
1answer
76 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 ...
0
votes
0answers
5 views

ESP-01 not working correctly when acting as AP as well as station

I am experiencing this potential problem with ESP-01S ESP8266 module. I am controlling it via Atmega328 micro-controller. Issue occurs when it is configured as both soft AP and a station and when ...