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
1
vote
1answer
894 views

Can I covert a 3.3v/5v USB TTL Serial device to 1.8v using a LM1117 1.8v regulator?

I have a HDD which has serial access but needs 1.8v TTL serial. I only have 3.3/5v serial devices. The standard PL2303, A UART Usbbee, and a generic serial adapter. The PL2303 & generic have 3v/...
-4
votes
2answers
2k views

What is difference between USB and TTL? [closed]

I have one question about USB and TTL. Both USB and TTL works on the same voltage range (0 to +5 V), both are serial protocols. From my point of view, they are the same. Why then we have USB to TTL ...
0
votes
3answers
204 views

How can I see an output from SCL?

I am new to electronics, circuits, etc. Currently I am reading I2C and synchronous serial communications. As I understand, two devices must be connected to the same CLOCK wire so that the slave knows ...
2
votes
2answers
184 views

How to open up serial terminal for my USB device converter (or, how to enable VCP in linux)?

I am using a new Cyclone V SoC board by Enclustra (Mercury+ SA2) mounted on their PE-1 BaseBoard. To connect to the board serially on Windows platform, I have to connect the board which is detected ...
0
votes
2answers
261 views

CP2102N Not Working

Solution: Cable didn't have data lines... I have a custom board with a CP2102N on it to go from 3.3V UART to USB via a virtual COM port. I followed the data sheet for the design, as well as ...
1
vote
2answers
130 views

Bidirectional (opto?) isolators for any protocol?

I would like to isolate digital serial communication between 2 circuits. I don't know much about the protocol between two circuits. It is not a common protocol such as SPI or I2C. Shortest pulses are ...
0
votes
1answer
556 views

I can't flash my new ATMega328p with PL2303 USB-TTL converter

I've soldered my ATMega328p-au to a SMD to DIP board, and I've connected pins like this: USB | ATMega RX ---> TX TX ---> RX 5v ----> 5v GND -> GND and GND --> button --> RESET My USB-TTL converter ...
0
votes
1answer
358 views

ESP32 AND CP2102 Serial data reading issue

I have a PCB on which i am taking a 5v - 1A DC power supply , and again providing 3.3v to ESP32 through AMS-1117 3.3v. Basically things are not working on when i solder the esp32 on my pcb but things ...
5
votes
2answers
276 views

What kind of serial communication is this?

I am trying to reverse engineer a serial communication between to microcontrollers (1 device & 1 microcontroller on a board). One MCU validates the other MCU and I want to crack the validation and ...
0
votes
0answers
114 views

RS-232 signals on Bluetooth modules like HC-06, HM-10, etc

I would like to access any I/O pins of a bluetooth module of the likes of HC-06, HM-10 or their clones from both a Windows PC and/or Android system connected wirelessly to the module. I need Windows ...
1
vote
2answers
400 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 ...
-1
votes
2answers
122 views

Hot switching between RS232 ports

I have a system with two serial devices (Arduino uControllers) connected to a single FTDI (USB-to-Serial) chip through a silicon switch. Each devices works fine on its own. I would like to be able ...
0
votes
0answers
65 views

Serial baud calculation without using serial interrupt - 8051

Here's the situation. I have a project which utilizes multiple sensors and connects to another unit through standard UART (8N1). Because no data needs to be missed from any device, I made the ...
0
votes
0answers
107 views

How to wire RJ12 to db9f modular adaptor?

I have a RJ-12 to DB9f modular adapter. There are 6 wires that come out of the adaptor (White, Black, Red, Green, Yellow Blue) - these, as I gather from pin out diagrams, correspond to the 6 jacks of ...
0
votes
1answer
186 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
1answer
34 views

Two devices on Y 9pin Serial cable to 25pin printer input - Data Corruption

I have't been able to find a solution, and was hoping for some clarity. I have 2 machines (one is a bill counter, one is a coin sorter) that both support printing over DB9 serial connection, and one ...
1
vote
1answer
478 views

Communication between different Baud rates [closed]

I am totally new to just about all of this, first off. I have two boards that I want to be able to communicate. Both are using half-duplex serial connection, but one is fixed at 4800bps, and the ...
-4
votes
3answers
2k views

What is a FTDI chip? How does USB communicate with Arduino?

What is a FTDI chip? Is this used in Arduino to communicate to the laptop? I think that the voltage levels are different on USB and Arduino?
2
votes
2answers
284 views

Best board-to-board low latency protocol/interface

I've been asking similar question which received some downvotes, so I'm reformulating my task (hopes this one gives more clarity). I'm planning to establish a high-speed (3 Gpbs full duplex) serial ...
0
votes
2answers
1k views

Is it possible to talk with Attiny85 via serial interface?

Alright, I know this question is pretty silly, but I have stumbled upon different posts saying opposing things. So to make a conclusion, does anyone knows for sure if it's possible to send data via ...
2
votes
2answers
1k views

Upgrade user application using custom bootloader via UART (STM32)

I'm using an STM32L4 board and my flash memory looks like this: |______________ | | USER application | | |______________ |Vector table(UA) |______________ 0x8000 - 8000 | | ...
1
vote
1answer
228 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
2answers
104 views

How can I convert from 12v serial to 5v serial?

I am attempting to recreate the project detailed here: http://amiga.robsmithdev.co.uk/instructions . The important part is that a USB FTDI adaptor with the CTS pin broken out is required, and that ...
0
votes
1answer
282 views

Can I use a MAX232 to communicate between a PIC and a Raspberry Pi?

I would like to send serial data at 9600 baud between a PIC and a Raspberry Pi. Both circuits are powered by a 5V wall charger. The distance shouldn't exceed 15cm. They don't currently share a ...
0
votes
1answer
116 views

Several MIDI over USB Device

I'm looking at creating a "specialized" MIDI over USB device for a project I'm working on and my requirements have gone beyond that of the Arduino/Pi/etc, due to limited I/O. I am very much a beginner ...
0
votes
0answers
53 views

USB serial enumeration with different power source

I am working on an evaluation board that is powered off of a micro-b USB port. This also serves as a serial port (through an FTDI chip). There is a jumper that allows to choose to power the system ...
0
votes
2answers
270 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'...
5
votes
4answers
2k views

In one-way asynchronous serial communication, how does the receiver sync up its bytes?

I want to make a serial system over RF to receive messages sent from a computer, so I can understand how digital radio works on the bare metal. The one part I don't understand is how a sender and a ...
8
votes
1answer
174 views

Unexpected Atmega16 response over UART

Unexpected Atmega16 response over UART Brief problem summary I have flashed an Atmega16 with code that should result in the Atmega16 sending back whatever character I send to it via a terminal. I ...
0
votes
1answer
278 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
2answers
60 views

In UART serial, do some devices not have an RX connection?

I am using this ultrasound sensor with a Pi. As far as I can tell, it only has a TX connection, and no RX, is this correct? I suspect it is the case, but still want a second opinion. Also, the sensor ...
5
votes
2answers
1k views

Half duplex: How to prevent shorting?

Consider two Arduinos (ATmega328P), with pins 2 connected for half-duplex communication (e.g. using SoftwareSerialWithHalfDuplex): Both Arduinos may be transmitting at the same time, either for logic ...
0
votes
0answers
269 views

Convert parallel LVDS to csi-2

I have a camera outputing parallel data and I want to interface it with iMX6 module which accepts CSI-2 camera data. Are there any ready & cheap solutions to convert parallel into CSI-2. Lattice ...
1
vote
3answers
485 views

Why does voltage stay the same regardless of resistor connect to the source

I'm learning about clipping circuits, and I have hit a road block with my understanding of one particular problem. The circuit in question is a serial limiter. My issue is why does the output voltage ...
2
votes
2answers
797 views

Help connecting custom ATMega328PB using serial FTDI

I built this ATMega328PB circuit. It runs at 3.3v from 1.5v battery using booster and 8MHz from external resonator (CSTCE8M00G52A-R0). Using USBTinyISP I set fuses: Low-FF (for 8MHz), High-D8 (Boot ...
0
votes
1answer
42 views

How come serial cables LEDs don't get dimmed instead of switching on and off when sending serial data?

This is I would say less researched question because I couldn't really find any interesting on net and I am noob and people around me are not so resourceful when it comes to electronics hardware. I ...
0
votes
2answers
203 views

A basic question about output rate and sampling rate in serial communication [closed]

This is a very beginner question. And below is an arbitrary made up example: Imagine you established communication with a USB device through your PC's USB COM port. The USB device is measuring the ...
1
vote
2answers
371 views

NUL character in an ASCII-Based protocol over UART

I am developing a UART protocol based on ASCII encoding. Communication is between a PC and an STM32 board. Packet format is like this: Packet: {STX,DATA,ETX} Where STX and ETX are ...
0
votes
0answers
61 views

resistor at external clock source line [duplicate]

im reading a arm based mcu board schematic and there is 100R resistor (R30) at external 25MHz oscillator source. What is the main reason of using serial resistor at clock line ?
0
votes
1answer
336 views

Unreadable characters over UART

I am using USB-TTL converter (PL-2303 XA/ HXA chip) to make serial communication between STM32L476G-Eval board and my laptop. I didn't find where to connect TX and RX wires in the eval board because ...
2
votes
2answers
567 views

FIFO circular buffer size in over UART

I am trying to implement an UART protocol to make communication between two boards. data are ascii encoded and messages length's are variables. I've chosen to implement a packet in order to "...
0
votes
1answer
76 views

Talking to Logic Motion Controller (LMC 300) via USB

I have a Nilan Compact-P heating system in my home and it has a USB connector. When I plug it in my Windows Laptop automatically the driver for "lmc 300" is installed and a COM Port opens up. This is ...
0
votes
0answers
66 views

SDI 12 interface

I have a sensor that use SDI-12 communication. I want to connect it to a a µC. I'm looking for something like RS232 <-> SDI-12. Or USB <-> SDI-12 the only schematics I've found use buffer. Do ...
1
vote
2answers
98 views

Virtual port for serial communication

This s a newbie question. When receiving serial data from a microcontroller by a PC program I need the microcontroller to be nearby and it needs to be connected to a USB port and send the data via ...
1
vote
2answers
2k views

Control an UART protocol with FreeRTOS or Interrupts [closed]

I am trying to develop an UART protocol to allow communication between two boards Master_Board and Slave_Board. Master_Board shall send commands over UART to Slave_Board and the latter shall answer. ...
0
votes
1answer
956 views

Baudrate calculation

I am having a hard time to calculate the baud rate for the following: Needed baud rate for 2 bytes data at 1KHz over an UART port with a 8N1 protocol Thanks
0
votes
1answer
348 views

Low level details for serial communication between UART of a microcontroller and PC [closed]

I want to understand how exactly full duplex serial communication between UART of a microcontroler and PC com port actually happen ? I have used applications where a single UART( single Rx, Tx pins) ...
0
votes
0answers
986 views

STM32F4-Discovery reading Serial Data

I have an STM32F4-Discovery Board with an attached STM32F4DIS-BB Base Board attached, giving me access to a Serial Port to use for the Discovery board. I am trying to program the board to read data ...
0
votes
1answer
79 views

Jitter measurement in High speed serial link - Random jitter mean not 0

I made some jitter measurements of my high speed serial link yesterday. Now i'm analysing the jitter sources, and found out, my random jitter is often not around zero, most time about -1 .. -0.5ps. ...
0
votes
1answer
222 views

deserializing high speed data

I am trying deserialize data that come out of a LM98640 into 14 bits words: Attached you can find a figure of the signals out of the LM98640. http://www.ti.com/lit/ds/symlink/lm98640qml-sp.pdf (...