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
0answers
21 views

RS-485 Master -> Slave Arduino *not sending or receiving*

I am using an arduino mega as a slave and arduino uno as a master in hopes to eventually make an ROV. But as of right now im having issues with getting the serial communication between the arduinos to ...
1
vote
2answers
65 views

Use half-duplex or full-duplex RS-485?

I have a master microcontroller that can control 4 slave microcontrollers. Each slave microcontroller is connected to 3 sensors. The master microcontroller asks to retrieve the value of a specific ...
1
vote
2answers
65 views

how to choose level shifters for serial / UART

I have so far been using some MAX3323EEPE chips for shifting between 3.3V and 5V logics on serial / UART communications. This is quite some stuff to solder on a PCB, and the chip is a bit expansive. I ...
0
votes
0answers
41 views

How to identify the serial console port pads on device

I want to identify the serial console port pads on the board. The place for male header connector(yellow arrow) have 6 pads. Usually it’s not difficult to identify Rx, Tx, GND pins with a multimeter, ...
0
votes
1answer
51 views

Multiple UART devices on Raspberry Pi

I want to connect multiple devices which are communicating through UART to Rapsberry Pi3b+. Given that Raspberry has only 1 set of Tx-Rx pins, I am unable to do so. I am designing a PCB so I have the ...
0
votes
1answer
15 views

NRF Uart With sim868

I have a problem in the UART communication between NRF52832 and SIM868 module. The problem is the data sent by NRF doesn't be interpreted by SIM868. To see that i did tow tests: First one, I added ...
1
vote
3answers
87 views

How does the UART communication detect the true idle in this case?

When explaining UART communication it is told that the receiver will start sampling the data one start bit after the first falling edge. The falling edge occurs when TX goes from idle state to zero as ...
0
votes
1answer
36 views

How to get a serial reading from an Ultrasonic Rangefinder on a Raspberry 3 B+?

I'm trying to set up a Maxbotix Ultrasonic Rangefinder (LV-EZ0) with a Raspberry Pi 3 B+. I've tried all the tips I could find: raspi-config disable serial interfacing for shell, but keep it on ...
0
votes
1answer
36 views

WAVGAT Pro Mini, no serial output

I ordered some Pro Minis however get some WAVGAT clone thingies. The first problem was it is running too slow (4x slower) when compiling with default "Pro or Pro Mini" board profile. Serial however ...
23
votes
3answers
4k views

UART signal is “rounded”

I am trying to debug a UART driver for the STM32F405. It does not work above a certain baud rate (about 50 kBd). I connected it to a logic analyzer with analog capability, and I saw that the signal is ...
0
votes
1answer
84 views

Problems with UART in ATmega

I've been programming my atmega 328p to automate my coffe machine. The timer is set using the bluetooth module HC-06, or by a set of configuration buttons that I'm gonna develop yet (the full code is ...
0
votes
1answer
69 views

Garbage on RS232 and no the baudrate IS correct

I have a device like this https://www.vaisala.com/sites/default/files/documents/WXT530-Users-Guide-M211840EN.pdf. Some facts: I have an FTDI to USB board from Sparkfun which is tested to work with ...
1
vote
1answer
59 views

DB9 to Serial Connection - Unknow Configurations

I have a DB9 to Serial Connection and I am wondering if there is a name or a standard for this configuration. So that i do not have have to make it every-time. I made a diagram, (stock image: ...
2
votes
2answers
123 views

Hardware/software needed to decode Differential Manchester?

I have a differential manchester encoded 0 to 5v data stream at 62500bps. What hardware do I need to get this into something I can work with, ie arduino, pi, etc? I have searched for chips/eval ...
0
votes
1answer
58 views

What Is The Correct Way To Recombine A Split Serial Signal?

I am trying to replace the lamp and ballast assembly in an Acer P1500 DLP projector. The ballast is an OSRAM PT-VIP-05 COMPACT. It features a UART control scheme that allows the motherboard to query ...
2
votes
1answer
69 views

Steal 5v from USB Module in 3v Mode

My project includes an ESP8266 (runs at 3.3v) and a USB C-Serial breakout. The USB module can optionally run at either 5v or 3v, and there's are solderable jumper pads to make that switch. Here's ...
0
votes
1answer
48 views

A simple Arduino Uno HC-05 system doesn't work

I have an Arduino Uno, HC-05 module and an LED. I want to connect the HC-05 to my phone and with an app be able to turn on and off the LED and at the same time sending a message from the Arduino to ...
0
votes
0answers
116 views

Failed to connect to esp32: timed out waiting for packet header when flashing

I have using an esp32 wrover b chip, an esp32 adapter, and a USB-serial converter. I am trying to flash micropython onto the esp32 via the usb-serial connector, but have encountered a few connection ...
0
votes
1answer
41 views

Read serial data from unknown source using Raspberry pi

I have a fuel dispenser, which has one keypad and two displays, each display has three of 7 segment LCDs. I want to control the fuel dispenser with a PC or a phone. The way to do this in my knowledge ...
0
votes
0answers
14 views

ESP8266 auto-program circuit with DTR only and without RESET pin (turn off>on VCC only)

In the NodeMCU board, there's a very usefull auto-program circuit to avoid pressing buttons or change wires. This is the schematic: I have some ESP8266 already soldered on PCB and they does not has ...
0
votes
0answers
45 views

How to connect to the PCB of an Alcatel Linkhub HH40

I recently bought an Alcatel Linkhub HH40 4G router. Unfortunately, the web interface doesn't provide the functionality I was hoping for (e.g., automatically disabling the radio functionality over ...
-1
votes
1answer
75 views

is it possible transfer an image via rs-232 serial-port cable? [closed]

*I want to take an image from a medical device. Should I take the data first and then visualize it in pc via another program?
0
votes
0answers
30 views

Issue regarding TX line of Arduino while communicating with Vending machine via MDB Protocol over USART

I am trying to communicate with a Vending machine using MDB Protocol with the help of Arduino Mega and I am partially successful in doing so. The circuit that I am using is attached here While the ...
0
votes
2answers
150 views

Anyone know this serial bus waveform?

I'm working decoding some house intercom devices to know when someone is calling and also be able to open the door. To do this I buffer the signal (some models has 15v, others 24v...) to a 3v3 level ...
0
votes
1answer
65 views

Question about 74LS164 8-bit serial in parallel out shift register

With the 74LS164 8 bit parallel out serial shift registers, I'm confused about a few things. In the datasheet (page3) on the logic diagram why do they suggest using an active low inverter before the ...
0
votes
1answer
49 views

How would I connect an HC-06 bluetooth module to an SN75176A RS-485/422 transceiver?

I am trying to fashion a small module that would allow me to connect to an RS-485 system via Bluetooth. I have found that the potentially cheapest solution would involve an HC-06 TTL Bluetooth ...
0
votes
1answer
55 views

RS232 Modbus to USB wiring

I have a RS232 device that sends data following the modbus protocol. I have problems communicating with it and I think my wiring is wrong. Since most modbus devices work over RS485 it is hard to find ...
0
votes
3answers
79 views

What makes a communication architecture/protocol faster than others?

Why is thunderbolt considered faster than other? Apart from the inherent channel properties which affect the speed of data propagation, what else determines the speed of data transfer? Of course ...
0
votes
1answer
56 views

Why is a LIN cluster limited to 16 nodes?

It says everywhere that a LIN network can be made up of at most 16 nodes (1 master node and up to 15 slave nodes). The id field however is 6 bits long allowing for more than 15 slaves to be addressed. ...
2
votes
1answer
35 views

SDLC Frame Check Sequence details

In the Synchronous Data Link Control (SDLC) protocol, the frame contains a "frame-check-sequence" (a CRC). The protocol contains a number of other implementation details, such as NRZI encoding, and ...
0
votes
1answer
130 views

The SERDES/transceiver design inside the Ethernet MAC controller

I'm a little confused about the "SERDES" interface between MAC and PHY chip, and I drew some figures to illustrate the connections which confuse me as shown below. The MAC controllers in 3 figures are ...
0
votes
1answer
65 views

4-bit memory serial to parallel memory register circuit question

I am building a 4-bit serial to parallel memory register and I feel like so far I have gotten things right, but I'm unsure of where to connect the CLR connections. Could someone have a look at my ...
0
votes
1answer
35 views

RS232 Serial Console: Do we receive serial packets at serial pin out from CPU even we don't have the console cable connected?

What if I don't have the serial cable connected to the serial port, still I receive serial packets from CPU? (lets say console output is enabled in Software) Will those packets got terminated (...
0
votes
0answers
23 views

Determining the Directionality of Communication when Reverse-Engineering an Unknown One-Wire Interface

I have an automatic digital control system that collects information from a sensor, but with an unknown and proprietary one-wire host-device protocol, both sides are driven by a microcontroller. I'd ...
0
votes
0answers
83 views

Scrambled Data on a RS232 port

I currently face a problem of scrambled data on one of our RS232 connections to a serial terminal and would like to request some help, if possible. Sent: Received: First of all some information ...
0
votes
4answers
149 views

Is there a data transfer limit for virtual serial ports

I want to record 5/10 seconds of audio using an electret microphone and an STM32 nucleo development board and send it to my computer in real-time to be processed. I'm a beginner so I'm sure I'm making ...
1
vote
2answers
61 views

Can I2C protocol employ differential signalling for a longer distance?

As far as I understand some serial protocols use RS485/422 differential signalling to be immune to noise for long distances. We also know that differential signalling is about voltage levels and ...
5
votes
2answers
922 views

Is the SCK line in I2C unidirectional or bidirectional?

I've always considered SCK to be a unidirectional line since the master generates/transmits the clock signal and the slaves "see" the generated pulses. I have found many sources that agree with this ...
0
votes
1answer
151 views

How does a microcontroller development board use USB cable to transmit serial data?

I'm trying to understand every section of the journey of data from a microphone via a microcontroller to a pc terminal. I realize now after reading about serial data transfer that real-time audio ...
0
votes
4answers
194 views

RS232 Voltage Level Boosting

I have a piece of old instrument circa 1988 that uses +-12V in its serial port. According to the manual, DTR pin (Data Terminal Ready) must be held at +8V in order for the instrument to recognize that ...
1
vote
1answer
32 views

Confusion with serial communication standards when sending sync serial data to a PC thorugh its serial port

When I read about SSI communication I can see that a pair is used for clock and another pair is used for data transmission as follows: On the other hand if I read about RS422 all lines are data and ...
0
votes
1answer
147 views

How can I possibly get a 9600Hz square wave, for a serial baud rate?

I'm trying to create parallel to RS-232 serial converter using standard logic (serial transmitter only, no serial receive functionality). To get the clock signal my idea was to get a 7.3728MHz ...
0
votes
1answer
35 views

Is there a way to direct the data to a particular port for this scenario?

There is a PC program which reads ASCII data from serial port in real time and processes it. The thing is I'm not able to change the code. The program reads the incoming data where one can only set ...
5
votes
3answers
2k views

RX vs TX operation in Software UART

I am short of 1 UART in my MCU. I needed 4 but so far what I have found suitable is an MCU that has 3 UARTs in it, STM32F103. So the 4th one I will have to implement in SW. Each of my individual ...
2
votes
3answers
91 views

How to find an MCU with specific characteristics? [closed]

I am trying to find an MCU in which there are some specific requirements for I/O peripherals (such as UARTs, SPI, I2C, etc). I also want to be able to search by the footprint size. Should I go to each ...
0
votes
0answers
47 views

Segmented LCD Driver HT1622/HT1621 interface type unclear

I've been leaning working on using and interfacing a microcontroller with an HT1622 + a custom segmented LCD. IMO the datasheet of the IC is very small and left me confused ; is the interface SPI ? ...
0
votes
0answers
57 views

Trouble connecting to temperature controller using MODBUS,RS485 and MATLAB

I am trying to communicate with a temperaturature controller ATR-401 using MATLAB but i am having trouble just connecting to it and reading temperature data.I have set baud rate, data bits, parity and ...
0
votes
3answers
60 views

Determining when a serial connection is opened

I have a PIC24FJ MCU with an FT232RL USB to UART controller. My design has end users opening a serial connection to my MCU to set parameters and get debug information. My question is: How can I tell ...
0
votes
0answers
63 views

Make MIDI messages and audio signal transit in the same jack cable

I know it's a crazy (bad) idea, but still: I hate having many cables attached to a music instrument when I move in the room. Let's take the example of a Akai MPC500 sampler: it is battery powered (so ...
1
vote
1answer
160 views

Can I use a ST-LINK V2 as a universal JTAG or TTL serial interface?

I have a ST Link V2 as pictured below. I would like to use it as a general purpose JTAG and or Serial TTL USB interface for communicating with a wide variety of devices. The documentation claims it ...

1 2 3 4 5 22