Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
0
votes
1answer
37 views

Maximum voltage in series circuit

I have a set of laser-modules with integrated drivers that I want to setup in series. The datasheet says the maximum voltage for a module is 3.3V. Two run two modules in series I doubled the voltage ...
1
vote
1answer
94 views

USB Serial Adapter Unintentionally Powering RS232 TTL Converter

I have a programming setup where I plug in a GoldX USB cable plugged into my programming laptop (in this case a MacBook Pro). Cable picture: This is plugged into an eBay sourced RS232 TTL converter: ...
1
vote
1answer
95 views

About Microcontroller having many SPI controllers

I would like to ask if anyone had an experience of using more than 1 SPI controller/channel on a project? I had this pyboard where it has up to 3 SPI controllers though i think only 2 SPI controllers ...
0
votes
1answer
123 views

PIC18F4550 and Sparkfun RFID Starter Kit with ID-12LA RFID Module, TAG Reading Problem

Recently I bought a SparkFun RFID Starter Kit with ID-12LA RFID Module. Similar to the one in the following Link: https://learn.sparkfun.com/tutorials/sparkfun-rfid-starter-kit-hookup-guide. I tried ...
0
votes
1answer
55 views

convert from serial modbus to ethernet through plc?

can I use a plc as a converter to convert from serial modbus(RS485) to either ethernet or usb using code ? , the plc is modicon m340 without communication module but the cpu has serial port , ethernet ...
1
vote
2answers
2k views

USART interrupt not working as expected [STM32 Nucleo]

could someone explain why i can only receive 13 chars with USART interrupt? I use '\n' to detect the end of string. ...
1
vote
1answer
246 views

How to program/configure ADF5356 with out using the evaluation board?

I understand how to program ADF5356 on the evaluation board http://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/EVAL-ADF5356.html Using http://www.analog....
0
votes
1answer
279 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 ...
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
1answer
250 views

Asynchronous serial inversion logic

I am using Saleae logic analyzer to reverse a console port. Saleae is able to successfully decode the signal (asynchronous serial) after performing an "invert" operation on the received signals. I ...
3
votes
2answers
698 views

shift by 1 bit error in SPI

I am trying to implement the SPI communication on TM4C123. I have 1 board and try to send data from SSI1(master) to SSI0(slave) but i observe that the received value is always shifted to left by 1 ...
0
votes
1answer
488 views

Use RS232 - RS422 Converter with Encoder

Problem I am trying to communicate an incremental encoder (TTL/422) with a PC, however, the PC is modern (correct me if I am wrong, It is a Sabertooth Z77) and doesn't have parallel ports... I found ...
0
votes
2answers
1k views

How to Make DB9 F/F serial RS232 mini gender changer?

I want to connect My "USB to RS232(Male end)" to my NanoVolt Meter having RS232 male port. To make both communicate i need to make DB9 F/F serial RS232 mini gender changer. Any Circuit or suggestion ...
1
vote
0answers
111 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 ...
8
votes
2answers
1k views

Does a baudrate in serial communication (USB or RS232) need to be exact?

In serial communication, does the baudrate mean we have to use the exact clock speed or is it a range of speeds that we can use? and if it's an exact value, how exact should it be ? for example, can ...
1
vote
1answer
152 views

Memory dump size does not match size of MTD partition

Device with Linux embedded system on NAND flash memory. I did memory dump of some MTD devices partitions use serial console, from U-boot bootloader use available commands. First I read MTD partition ...
0
votes
1answer
544 views

DALI Protocol: Is it valid to include this for manchester decoding convenience?

Understanding: DALI uses Async data decoding using 1 start bit and 2 stop bits. The 1 start bit is logical one (1), also encoded during Manchester encoding and the 2 stop bits(Signal is HIGH for long ...
0
votes
2answers
627 views

How to check receiving 16-bit data using a serial terminal?

I am using an FPGA vhdl UART code to send 16bits of data with a 1 start bit, 1 stop bits and even parity bit. I need to check whether the sent 16bit packets are correctly receiving using a terminal ...
0
votes
1answer
90 views

MCU freezes when power disconnected from attached HMI

I have an Arduino (Pro Mini) connected to an HMI display with a serial interface. When the user pushes a button on the HMI screen, it activates a relay attached to one of the digital pins on the ...
0
votes
0answers
295 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
1answer
2k views

STM32: Manchester coding bit banging implementation problem

I want to use Manchester Coding for my DALI Master-slave project. I am using two boards for this project, one is STM32E407 and the other is STM32F3Discovery. As an initial step, I want to test for ...
0
votes
3answers
1k views

DALI Communication: Is DALI protocol a byte transfer mechanism or packet layer mechanism?

As per the DALI light-control standard protocol, DALI bus communication uses Asynchronous half-duplex(two-wire) serial communication. It uses Manchester coding at 1200 bits per second(baud). A DALI ...
1
vote
0answers
205 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 ...
0
votes
1answer
348 views

Capacitor in RS232 level shifter. Data is strictly half-duplex

I have created a level shifter very similar to the schematic at: http://picprojects.org.uk/projects/simpleSIO/ssio.htm except for the capacitor I use 47nF because the page claims: at high bit rates ...
0
votes
1answer
88 views

Identical CP210X USB-Serial converter conflict? [closed]

I am troubleshooting an Ubuntu 14.04 system that has two serial devices connected to it. They both have identically configured Silabs CP2102 USB-Serial converters. Device #1 reads inputs Device #2 ...
0
votes
2answers
181 views

Serial communication protocol [closed]

I want to learn about the raw serial communication protocol (The one that uses the Rx and Tx pins of a microcontroller). I want to be able to send bits of data without using a microcontroller. How ...
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 ...
0
votes
0answers
218 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 ...
3
votes
2answers
110 views

Serial communication between two devices with seperate logic levels

The question is more about the DC-DC converter and baud rate between two separate logic level UART devices. My master device operates at a 3.3v logic level, while my slave operates at a 1.8v logic ...
0
votes
1answer
395 views

How to implement 8b10b en/decoding protocol between two FPGAs?

I'm using two Xilinx FPGAs (one Kintex 7 and one Artix 7). The Kintex 7 is tied to its own system (OPAL-RT software, it is a simulation software that is an addon to Simulink which lets data be output ...
4
votes
5answers
10k views

Why the start bit and the stop bit(s) are necessary? [duplicate]

I am learning about serial communication, and I just can't understand why the start bit and the stop bit(s) are necessary. I mean say I have two devices connected via serial ports, and the bit ...
1
vote
1answer
681 views

16bit DMA UART w/ STM32F4

How do I transmit 16 bits of data with UART to a 16 bit array? I've got two elements in my array, my UART is set up as 8N1 and my DMA is set to circular. I'm using some HAL stuff, and here's my ...
1
vote
1answer
64 views

What is the name of the syntax standard Keithley is using for remote control over serial?

Keithey (and other manufacturers) have a standard syntax for communicating over serial. Typically, commands look like (source): ...
0
votes
0answers
435 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 ...
1
vote
1answer
410 views

Serial port adapter reads 5V data but not 3V data

Each time I wanted to hook up a micro-controller UART to my computer via serial port, I make an adapter with the following schematic: For the capacitor, I use 47nF and for the diode, I use 1N4001. ...
0
votes
2answers
880 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 ...
1
vote
1answer
118 views

My 3-node serial crossover bus works but I don't understand why

I have a three-node serial bus, wired into what I thought would be a master/slave configuration, but nodes that I didn't think would be able to receive data are receiving data. In other words, it's ...
0
votes
5answers
585 views

Convert an analog voltage into digital and relay it in serial over a single wire

I have Engineering background but not Electrical. I am working on a project where I have to integrate a sensor which has an analog voltage output to a LoPy module for IoT applications. Another person ...
0
votes
1answer
662 views

NRF24L01+ not communication

I have two different types of the NRF24L01+ modules and I'm having difficulties with one of the models. See pictures below for how I have them wired. I'm able to send/receive messages using Model B ...
3
votes
1answer
347 views

Serial Communication 8051

I am working on how 8051 performs serial communication. I couldn't figure out how both transmission and receive operations are performed by same register, SBUF. To make it more clear, I will give an ...
1
vote
2answers
1k views

Serial communication between embedded system and PC with only USB ports available.

I am working on an application where I have part of an embedded linux system transferring some data to a PC utilizing PySerial (a Python module). My question is: is there an alternative to finding a ...
0
votes
1answer
1k views

Checking the voltage of serial port

I'm currently working on a project that requires me to check if a device is still connected on an RS232 port. Since I do not have access to the code on the connected device(it is a fire alarm panel), ...
2
votes
3answers
296 views

How can I get 1-10MB/s of debugging data to and from a dev board?

Here's the fundamental problem I have: I'm looking at a dev board for, say, a TI/AD/Microchip microprocessor or DSP. This is long before a full product design; we're talking proof-of-concept work here....
1
vote
2answers
231 views

Decoding a Two-Wire SPI-esque Serial Protocol

I'm working on a project that involves the optical sensor from a mouse. I've got the original control PCB (still populated, save for the optical sensor itself), and I've got the optical sensor on my ...
0
votes
0answers
158 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 ...
0
votes
1answer
87 views

Is i2c the right protocol for this sensor?

I have a project I'm working on that involves an nrf51822 communicating with the optical sensor from a mouse. The pinout of the opical sensor seems similar to the ADNS2620, but the exact datasheet is ...
-1
votes
2answers
1k views

UART speed limitation factors? [duplicate]

I want to ask about using UART to send data from uC to PC. So I have some questions. I wonder what is the maximum of the UART bit rate? What factors affect the UART speed? For example does using DMA ...
0
votes
2answers
37 views

Multiple small schemes in one [duplicate]

Hello I wanted to build this serial to usb converter with ft323R, but I don't understand the small marked part on the left bottom. I found the same thing in other schematics too. I know where to ...
4
votes
3answers
2k views

ESP8266-12E MicroPython Unable to access REPL (Python prompt)

I am trying to install MIcroPython Firmware on my ESP8266-12E chip. I am using esptool.py to flash the firmware. I have successfully uploaded the firmware ...
0
votes
1answer
920 views

Serial Over USB Reading With GNU Octave Problems

I am having difficulty reading a USB virtual comm port into GNU Octave, and there are some bizarre goings-on that I would like some input on. Currently I have a USB CDC virtual comm port device that ...