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

How to get serial data from oscilloscope [closed]

I have an Omron PID controller with a support software port. I would like to access data from this port, I know it's a serial port and I know it has 4 pins. I have a connector for the port and I would ...
1
vote
3answers
85 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 ...
1
vote
1answer
241 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 ...
2
votes
2answers
119 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
2answers
314 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 ...
0
votes
1answer
108 views

STM32: Interrupt latency for serial protocol implementation

I am implementing a synchronous serial interface (SDLC) using an STM32. My original implementation for the RX side is running on a ARM7 which uses the FIQ to set an interrupt on the clock line, in ...
1
vote
1answer
285 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 ...
0
votes
1answer
34 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 ...
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
31 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 ...
0
votes
1answer
81 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
67 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
58 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: ...
0
votes
2answers
420 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 ...
0
votes
1answer
152 views

Trying to read the data from an ASK RF transmitter

I'm trying to duplicate the operation of a simple RF remote control (for some remote power outlets). In the remote control there is an unmarked 8-pin microcontroller. I've worked out which pins are ...
0
votes
0answers
105 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
56 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
68 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
45 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
3answers
737 views

RS485 Communication

I need resourceful information's on how to implement the serial protocol via an RS485 interface. As regards to my area of application, I simple want to communicate with my micro-controller via an ...
0
votes
1answer
309 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
2answers
935 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
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
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
2answers
212 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
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
44 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 ...
5
votes
3answers
12k views

Correctly using RE and DE with RS485

I'm trying to build a RS-485 project using MAX485's. However, I'm having trouble finding out how to correctly use the RE and DE pins. Some PDF's and websites say that RE and DE should be tied together ...
-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?
2
votes
3answers
486 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
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
0answers
29 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
1answer
63 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 ...
3
votes
3answers
3k views

Is there any way to use Half Duplex RS485 without using a dedicated controller pin for RE - DE?

I have attached the reference circuit I am using for a simple MODBUS (Read Coil) communication application. I am short of Pins on my controller and I do not want to use a dedicated controller pin for ...
0
votes
1answer
50 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
1answer
97 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
2answers
290 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
106 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
1answer
116 views

How to Update firmware of microcontroller using DALI lines of a DALI slave module?

I have developed a DALI slave module with PIC 16F18326 microcontroller. Now, I want to make a Bootloader for this PIC. But the problem is, I don't have a serial communication or USB connection with ...
5
votes
2answers
611 views

What does the FPGA do with unreferenced I/O pins?

Here's one thats been puzzling me for a while. I have an FPGA design in Altera, driving an audio chip and programmed through its serial interface. I monitor and debug this with an oscilloscope/...
82
votes
3answers
141k views

Difference between UART and RS-232?

Most of the time RS-232 and UART come together in serial communication theories. Are they both the same? From my readings I concluded UART is a hardware form of the RS-232 protocol. Am I correct?
0
votes
3answers
78 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. ...
0
votes
2answers
173 views

UART read consistently missing half of the transmitted bytes

I have setup a simple UART test on my SAML21 and believe I must be misusing the library due to the behavior I'm seeing ...
0
votes
1answer
111 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 ...
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
59 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 ...
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 ...

1 2 3 4 5 22