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
65 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
76 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
414 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
65 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
32 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
2answers
117 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
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
96 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
40 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
107 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
1answer
49 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 ...
0
votes
3answers
82 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
174 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 ...
4
votes
2answers
191 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
0answers
72 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
94 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, ...
0
votes
0answers
39 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
42 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/...
0
votes
1answer
52 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
84 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
57 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
24 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
68 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, ...
1
vote
1answer
149 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,...
0
votes
3answers
95 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
76 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
0answers
47 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
43 views

generate log .txt file on PC for arduino serial terminal log (send and receive commands) [duplicate]

I am trying to generate a .txt file on my Windows 10 PC of Arduino serial terminal data. I am not using SD card on Arduino Mega board just need to send commands to Arduino baord from serial terminal ...
0
votes
0answers
42 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 ...
6
votes
4answers
2k views

Can a USB port passively 'listen only'?

I have a small dedicated controller built around an Arduino that accepts commands from a PC over USB (serial). The communication is one-way -- the controller never sends data back to the PC. Now I ...
1
vote
1answer
79 views

Protecting RS-232 from overvoltages

I am using Some arduinos (5V Pro-Mini, but planing to move to actual ATMEGA chip) over a distance of few metres. These are connected using standard Alarm cable (I had problems with Ethernet cable and ...
0
votes
1answer
122 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 ...
3
votes
1answer
213 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
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
1answer
79 views

J1708 (open collector RS485) at higher baud rates than 9600 bps?

I have here a PCB which has a kind of "open collector" RS-485, known as J1708 (schematic attached). The default baud rate is 9600 bps and there is no terminators, J1708-TX is a 3.3V signal. I would ...
0
votes
1answer
163 views

Serial line switching through a transistor

I want to switch my RS-232 TX pin.For this I am using NPN transistor in between the TX line in such a way that the collector terminal is connected to controller side and Emitter to external side. ...
0
votes
1answer
53 views

Visualise a bit pattern

My objective is to send a bit pattern of 1000 bits from one microcontroller (PIC or Atmel) to another one using the SPI method. How can I visualize the bit pattern so I can find the errors of ...
0
votes
0answers
41 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
1answer
106 views

UART TO RS-232 convension

I am working on a project and I use several PIC18F26K83's for this project. For communication between PIC's I use UART. Now I also need to send data with RS232 to the user. As I have understood the ...
0
votes
0answers
41 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?
4
votes
1answer
148 views

How do USB to serial adapters work?

I'd like to know how a USB to serial adapter (such as the FTDI FT232RL chip) works. The way I think it does is the following: Picture a system composed of a MCU, a USB to serial adapter and the PC ...
0
votes
2answers
301 views

Maximum Switching Speed Chained 74HC595

I'm planning to use a set of daisy chained 74HC595s to control a set of 108 mosfets, 3 of them are geographically in the same area (couple of mm apart) and for the sake of modularity should each use ...
2
votes
0answers
1k 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 ...
0
votes
1answer
41 views

SMBus default Baudrate and Address

I am trying to communicate with some batteries that uses SMBus. In the documens of batteries it only specifies the SMBus version which is SMBus v1.1 and do not mention about addresses nor the baudrate ...
1
vote
3answers
1k views

Direct connection of UART serial port to USB type-C

in my project I have a USB type-C 3.1 2nd Generation (24 pins), which should provide 5V to a charge battery/battery system. In addition, there is a uC powered at 3,3V where the maximum voltage on GPIO ...
1
vote
2answers
234 views

Trouble getting USART working on STM32 (stm32f103c8t6)

I started working with with stm32f103c8t6 recently and I was able to set GPIO to input and output, however when I try to set USART it just does not work. I'm trying to write directly to registers, ...
1
vote
2answers
411 views

RS485 line protection diodes

Can anyone confirm the correctness of D27, D28 diode polarities or should they be in opposite direction? Please suggest an which diode is suitable for this purpose OR is it better to use a zener diode ...
0
votes
0answers
74 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
271 views

Using Multiple MLX90614 Sensors on Arduino Board

I've been trying to get something working for a project, getting 4 (just trying to get at least 2 working for the moment) MLX90614 IR sensors connected up to an Arduino UNO board. I've followed the ...
0
votes
1answer
104 views

Inverted serial output from PC

I'm sending some serial data (UART) from PC to an FPGA. I have implemented a serial protocol on an FPGA according to the usual description of the uart: low bit for start bit, high for stop bit and ...