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
2answers
33 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 ...
0
votes
1answer
50 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 ...
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
44 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
93 views

RS-232 to I2C communication

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 ...
-1
votes
0answers
30 views

MSP432 write data to serial port using CCS

I am trying to to write data to the serial port COM5 but i am not sure how to do it. Using energia/ardunio IDE you could easily type in: Serial.print("EXAMPLE") ...
0
votes
1answer
40 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
28 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
57 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
2answers
224 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
145 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
19 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
70 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
178 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
101 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
45 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
165 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
165 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
93 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
954 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
43 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
222 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
280 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
65 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
37 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
166 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
44 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
41 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 ...
0
votes
1answer
71 views

Serial port reading: data format unclear

I am trying to read serial data from this OEM barcode scanner module: https://www.barcodescannermodule.com/sale-11330019-lv3085-mini-barcode-scanner-module-usb-ttl232-interface-for-pdas-tablets.html ...
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
1answer
58 views

What is the best way to combine multiple batteries (flooded lead acid)?

I wish to know the best way to connect four 12V 150Ah lead acid batteries to make it 24V 150Ah battery bank. I currently have connected 1 and 2 and 3 and 4 serially to make two 24V 150Ah volt banks, ...
0
votes
2answers
114 views

LIN to RS485 and back to LIN

I am currently communicating between two microcontrollers using a single pin and the LIN protocol over a short distance of 0.2m. Now I would like to extend the distance up to 5m by differentially ...
0
votes
2answers
817 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
67 views

MAX485 controlling output voltage

I'm trying to use a MAX485 module to interface a RS-485 domotic bus, when I use the oscilloscope I see that the original bus signals (A and B) are between 1.9 V high and -2.250 V low (4.15 V amplitude,...
3
votes
2answers
1k views

Why do we need bit scrambling when using 8b/10b?

I want to ask the opposite of this question. Here are the purpose of the bit scramblers: Encrypt, but LFSR (and other used) bit-scramblers are breakable. Clock recovery, but it is done by the 8b/ ...
0
votes
3answers
78 views

Proper resistor(s) for limiting LED brightness

I have an LED powered by a serial(Rs-232) port on my PVR. The light is connected to the DTR pin through a 1k\$\Omega\$ resistor. It is set up this way in accordance with the instructions for the ...
1
vote
0answers
71 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 ...
0
votes
1answer
114 views

How to monitor one wire “kind of” protocol

In the current network, there's 1 master device, which gathers data from over 20 devices. Nameplate says the baud rate is 2400. In the bus cable there's one data wire, 12V and GND. A friend of mine ...
2
votes
1answer
748 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 ...
0
votes
1answer
244 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 ...
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 ...