Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

3
votes
0answers
497 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
351 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
65 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
0answers
118 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
635 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
556 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
70 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
0answers
336 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
0answers
100 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
194 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
0answers
655 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
80 views

PAC1720 Standby Mode

I am having a hard time putting my PAC1720 into standby mode reliably. Here is the datasheet If I put the device in standby mode, then take it out of standby mode, and then try to put it in standby ...
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
271 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
481 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
415 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 ...
0
votes
0answers
36 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
0answers
42 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
41 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
19 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
44 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
39 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
51 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
32 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
33 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
48 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
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 ...
0
votes
0answers
121 views

How does GSM Module store incoming SMS in its “SM” or “ME” memory?

I am using AI Thinker A7 GSM/GPRS/GPS Module demo v7.1.(The Rx, TX, GND pins of this module are connected to tx, rx, gnd pins of the prolific Rs232-TTL converter and a virtual com port is open in ...
0
votes
0answers
20 views

Checking HM-TRP radio adapter for initial data

I have several HM-TRP radio adapters (consisting of the HM-TRP chip with a female header connected to it) of the same version. I tested it in a mini circuit where the PC does direct I/O with the HM-...
0
votes
0answers
52 views

Serial communication between raspberry and laptop not giving right values

I want to communicate between a Raspberry Pi 3 model B and a laptop using a USB to RS-232 cable and this RS-232 to 3.3V TTL converter via the serial module in Python: GND is connected to board pin #6 ...
0
votes
0answers
56 views

How to use 3.3 V FTDI Serial Cable with LeMaker Hikey 620 which has 1.8v UART signals

I have FTD Serial Cable TTL-232R-3V3 which operates on 3.3V. https://ftdi-uk.shop/collections/usb-cables-ttl/products/ttl-232r-3v3-2mm I was trying to use it on my Hikey LeMaker for an hour with no ...
0
votes
0answers
48 views

minimalist serial port addon to a basic 8052

Currently I have two microcontrollers connected to each other so that I have two serial ports. One to the PC and one to a wireless radio module. Now I'm considering replacing one microcontroller with ...
0
votes
0answers
206 views

stm32f103 - 16 bit mode SPI reading returns 0xFFFF

I am working with a sensor which communicates through SPI. I am trying to read MISO line, but it returns 0xFFFF. first I send 0xC000 on MOSI and the sensor places 0x0032 on MISO. I read MISO using ...
0
votes
0answers
86 views

RS-232 signals on Bluetooth modules like HC-06, HM-10, etc

I would like to access any I/O pins of a bluetooth module of the likes of HC-06, HM-10 or their clones from both a Windows PC and/or Android system connected wirelessly to the module. I need Windows ...
0
votes
0answers
56 views

Serial baud calculation without using serial interrupt - 8051

Here's the situation. I have a project which utilizes multiple sensors and connects to another unit through standard UART (8N1). Because no data needs to be missed from any device, I made the ...
0
votes
0answers
80 views

How to wire RJ12 to db9f modular adaptor?

I have a RJ-12 to DB9f modular adapter. There are 6 wires that come out of the adaptor (White, Black, Red, Green, Yellow Blue) - these, as I gather from pin out diagrams, correspond to the 6 jacks of ...
0
votes
0answers
254 views

How does PC recognizes Attiny85 as “serial device” through USB connection and assign it COM port?

I'm pretty sure my question is not well put so I will try to explain it little bit more. Let's say I have a Attiny85 without any firmware. What kind of firmware do I need to flash Attiny with, in ...
0
votes
0answers
47 views

USB serial enumeration with different power source

I am working on an evaluation board that is powered off of a micro-b USB port. This also serves as a serial port (through an FTDI chip). There is a jumper that allows to choose to power the system ...
0
votes
0answers
210 views

Convert parallel LVDS to csi-2

I have a camera outputing parallel data and I want to interface it with iMX6 module which accepts CSI-2 camera data. Are there any ready & cheap solutions to convert parallel into CSI-2. Lattice ...
0
votes
0answers
42 views

SDI 12 interface

I have a sensor that use SDI-12 communication. I want to connect it to a a µC. I'm looking for something like RS232 <-> SDI-12. Or USB <-> SDI-12 the only schematics I've found use buffer. Do ...
0
votes
0answers
861 views

STM32F4-Discovery reading Serial Data

I have an STM32F4-Discovery Board with an attached STM32F4DIS-BB Base Board attached, giving me access to a Serial Port to use for the Discovery board. I am trying to program the board to read data ...
0
votes
0answers
95 views

ICSP, Debugging, UART and SPI on same pins, dsPIC30F4011

In my project I plan to use SPI1 module of the dsPIC30F4011 (datasheet pdf) micro-controller. The pin-out makes pins 1 and 44 both PGC/PGD and serial COM pins for UART1 and also SPI1 modules. I can ...
0
votes
0answers
247 views

RJ11 pinout (serial) for Amplus AM03128-H11 LED display

I've got an Amplus AM03128-H11 LED display, without the documentation and serial cable. I found the programming manual online, but I have no idea what the pinout on the serial RJ11 connector is ...
0
votes
0answers
184 views

Multiple serial ports to an old 8051 I have numerous of

Ok, I own quite a few of the AT89S52 IC and the AT89C4051. Both have only UART, but my project requires two because the same device will control a radio module that requires a UART for interfacing and ...
0
votes
0answers
411 views

Internet access to LoPy (ESP32) using its GPIO pins

LoPy is a LoRa module which uses ESP32 chipset. It has WiFi and Bluetooth connectivity for Internet. In my setup, I have certain interference issues, so I can't use WiFi nor Bluetooth to connect my ...
0
votes
0answers
143 views

Can't make Wiegand RFID-reader and Odroid C2 work properly

I've got one pretty interesting task. The task is the following: Odroid C2 (Single board computer) running on Android 5.1 has to recieve card id from RFID-reader over ...