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
2
votes
1answer
811 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 ...
18
votes
8answers
5k views

Why is serial EEPROM preferred over parallel EEPROM?

In the wikipedia page for EEPROM: http://en.wikipedia.org/wiki/EEPROM it is given that "Parallel EEPROM devices typically have an 8-bit data bus and an address bus wide enough to cover the complete ...
1
vote
2answers
54 views

Simulate Shift Register on AVR (Configurable Logic/Timers?)

Recently I set up two MCUs (ATtiny1616) to perform basic serial communication using shift registers I made myself. simulate this circuit – Schematic created using CircuitLab Here is the logic ...
3
votes
3answers
138 views

How far can 3.3V UART go at 38400 baud?

I'm developing a set of boards that will all be listening to a single 3.3V 38400 baud UART (single TX device, my boards all listen to this line, no "RX" line). They are designed such that there are ...
2
votes
1answer
74 views

Complete synchronous USART implementation [closed]

I've been studying about USARTs and I haven't seen a consensus on synchronous USART implementation among MCU producers. First of all, there are transmit and receiver clock lines on some serial ...
0
votes
2answers
580 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 ...
8
votes
2answers
344 views

Can an SPI slave start a transmission in full-duplex mode?

As far as I know, SPI transmission for an SPI slave works like below: Master selects a slave using SS pin Master and slave send data to each other simultaneously Master starts clock and data ...
0
votes
1answer
1k views

Receive data via USART on Atmel SAMD20

I'm trying to receive some data via USART on Atmel SAMD20. I use usart_read_wait() and usart_read_buffer_wait() but they return ...
0
votes
1answer
55 views

How to do Bidirectional multiplex switch signal over two wires?

I'm trying to remote control the doors in my stand-alone garage over two wires. There's three operate switches in the house, and three SPDT position switches on the doors. I think I want to end up ...
1
vote
1answer
80 views

How to decipher hex code for time data on an older serial port device

I’m using an old Draeger PAC III sensor to measure gas concentrations, with the goal of remotely transmitting the data via Arduino. Accordingly, I cannot use the proprietary software to output the ...
-1
votes
0answers
38 views

Improving rs232 serial quality with switchbox [closed]

I made a system in which the PC communicates to two hardware devices. Here's an image: One hardware device (top) is a special computer I made with a wireless serial connection and a special ...
9
votes
3answers
26k views

Firmware & Circuit of ATtiny45 direct USB 2.0 Connection

I want to make my own modular USB device using an ATtiny45 that simply sends data to the PC over USB. I'm not reading data, so a single way ( ATtiny -> PC ) connection would be completely okay. I am ...
0
votes
2answers
247 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'...
0
votes
1answer
87 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
41 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
2answers
55 views

What are some good replacement ICs for DIP UARTs? [closed]

Recently, I have been developing an SBC based on the Zilog Z80 microprocessor. Since my first design, a serial connection has been essential for the board to communicate with a PC or terminal. For ...
0
votes
2answers
58 views

Can heavy processes running in background cause lag in arduino's serial port communication with a computer?

I have a Ubuntu 16.04 machine talking to a Uno board. This arduino board is sending 100 chars of line at baud rate of 115200 as fast as possible. Usually I get a line every 7ms to 10 ms (I am going to ...
2
votes
5answers
3k views

USB to TTL communication problem

I'm trying to connect a device to my laptop using a TTL to USB converter like this one but it doesn't works so I tried the following configuration (USB to Serial, RS232 to TTL and then to the ...
0
votes
1answer
50 views

Will SN74HC245N transceiver support TTL RX when blocked?

I'm actually designing a system with: ~10 "Master" boards that transmit data from slaves boards to a RS485 network 4 "Slave" boards per master one, connected trough a 3 pin jack (5V, GND and half-...
1
vote
1answer
73 views

What type of printer port is this?

I just got a currency discriminator (Carnation CR1500) that can be connected to a receipt printer. There is a modular jack on the back of the machine, but I don't know what kind of cable it needs. It ...
0
votes
2answers
108 views

RS-232 to I2C communication [closed]

I'm trying to establish communication between two boards, one of which has an RS232 output and the other with an I2C input. I've looked for adapters online and the only ones I've found seem to be ...
0
votes
1answer
48 views

Comparing MAX3232 vs MAX232 for line length

Which parameter in the datasheets of the line drivers MAX3232 and MAX232 can tell about the maximum length of the line for their correct operation if all else is same for the two circuits, that is ...
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 ...
0
votes
3answers
2k views

Finding serial port on generic IP Camera PCB

Background story is that during firmware update of a generic IP Camera, with great wisdom, I managed to wipe part of the embedded Linux files, and in order to recover it, I need to access the ...
0
votes
2answers
60 views

In serial communication, is the RX pin pulled high by default?

I would like to establish one way uart serial communication between an Arduino 5V and an ESP32 3.3V module. The communication would be ESP32 TX pin ---> Arduino RX pin I wouldn't use the second serial ...
0
votes
1answer
147 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 ...
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
76 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 ...
1
vote
1answer
189 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 ...
0
votes
1answer
102 views

Connector Identification on Instrument

I have a piece of instrument made around 2000 with a connector to computer that I cannot recognize. Can someone help me out? It is a 20-pin connector, with 10 pins on each row. Pictures are here: ...
0
votes
0answers
37 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
1answer
47 views

USB to Serial Disappears from Windows 7 Device Manager when Tx of board connects to Rx of usb-to-serial converter

I have two different usb to serial converters. Both have 5 pins with 3v3, txd, rxd, gnd, 5v. In the past I have used them to connect to raspberry pis and arduinos successfully. I have a board ...
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 ...
1
vote
1answer
185 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 ...
4
votes
2answers
170 views

RS232 Unusual “Framing Error”

I have an old piece of instrument that suppose to connect with a Windows XP machine. I keep getting "Framing Error" messages on the instrument panel while the PC side shows that the instrument could ...
0
votes
3answers
77 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 ...
1
vote
4answers
109 views

Is it possible to use a DPDT switch to swap 2 inputs and 2 outputs?

I want to create a passive device with two MIDI inputs and two MIDI outputs, with a switch that has two states. In the first state, input 1 is connected to output 1, and input 2 is connected to output ...
0
votes
1answer
961 views

PIC16F1619 curiosity- UART communication

I am using the PIC16F1619 microcontroller within the curiosity board, MPLAB IDE x and XC8 compiler. I am currently trying to get my board to read an analog value and then to transmit this value ...
0
votes
0answers
44 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
1answer
226 views

Unexpectedly drawing power over serial tx/rx? What to do?

I have this TTL-to-USB-serial device (supposedly from WINGONEER, who doesn't seem to have any documentation on how to use it): https://www.amazon.com/gp/product/B06XY18XLL I'm using it to hook up ...
1
vote
2answers
314 views

FT232HL FTDI consecutive SPI bytes delay problem

I have a problem with the FT232HL FTDI ic. Windows application send data to the chip via USB and the chip send the data out with one SPI channel. I did check with a logic analyser, the bytes are ...
0
votes
1answer
67 views

Duplicate a FTDI FT232R usb->serial cable

I communicate with a serial device using a FTDI FT232R usb -> serial cable created by the manufacturer of the device. Everything is ok I can communicate with the device. Now I have another cable, ...
9
votes
1answer
5k views

MIDI IN : many circuits

I'm building a MIDI IN to serial port RX cicruit (for Raspberry Pi, or Arduino, or anything else...) using a 6N138 optoisolator. But I find many different circuits, I don't know why there are so ...
0
votes
0answers
38 views

Multiple sensors on a single serial port [duplicate]

I want to use a single serial UART port on an mcu to communicate with two different sensors. I have connected both the sensors' TX lines together to mcu's RX line and vice versa. I am switching the ...
0
votes
2answers
38 views

1-wire differentiate read from write

I've been reading documentation on 1-wire and I think I'm having a brainfart. How does the slave differentiate a read slot from a write slot? reference: https://www.maximintegrated.com/en/app-notes/...
4
votes
5answers
4k views

USART transmit problems on a PIC

I'm trying to send data to an SD card from a PIC18f4580, but the PIC is not sending what it should be. related global variables: ...
2
votes
1answer
1k views

RFID Reader UART

Was wondering if someone could give me a hand with a project that I am undertaking. I have searched forums high and low and am yet to find the information to solve my problems. Basically I have an ...
3
votes
1answer
168 views

Reverse-engineering RS-485 communication

I've been trying to reverse engineer the communications protocol used by my home domotics, which I was able to determine uses a RS-485 implementation. I'm using a USB RS-485 serial dongle and an ...
0
votes
0answers
48 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
1answer
42 views

Serial Communication Between Android and Attiny85

I am planning to build a sensor module for smartphone using Attiny 85 as its microcontroller. The sensor module will have a USB type A and to connect to the smartphone, OTG is required. Serial ...