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.

Examples of serial protocols are:

  • I²C
  • SPI
  • Universal Serial Bus (USB)
  • FireWire
  • Ethernet
  • SDI-12 industrial sensor protocol
  • Serial Attached SCSI
  • Serial ATA
  • PCI Express
1458 questions
8
votes
5 answers

Why the start bit and the stop bit(s) are necessary?

I am learning about serial communication, and I just can't understand why the start bit and the stop bit(s) are necessary. I mean say I have two devices connected via serial ports, and the bit 1 is represented by +15V and the bit 0 is represented by…
Tom
  • 181
  • 1
  • 1
  • 2
5
votes
5 answers

Why we need start/stop bit for asynchronous transmission

I was reading a book which says Asynchronous transmission is so named because the timing of a signal is unimportant. Instead, information is received and translated by agreed upon patterns. To alert the receiver to the arrival of a new group,…
amjad
  • 255
  • 2
  • 7
5
votes
1 answer

Efficient decoding of a Manchester-encoded serial link?

What's an efficient algorithm for recovering the clock and decoding Manchester-encoded data?
joeforker
  • 5,656
  • 10
  • 40
  • 59
4
votes
1 answer

Connect fingerprint sensor to serial PC

I just ordered an Fingerprint sensor I followed the schematics and made it work with my Arduino.Now I want to connect it directly to my computer, the device has ( GND, RX, TX, 5V ) I have a prolific USB cable witch has outputs (RX,TX,GND) . Is it…
opc0de
  • 267
  • 3
  • 11
4
votes
0 answers

How to figure out the correct serial port parameters?

I am trying to listen to a device which communicates via a serial port. I've built a monitoring adapter and set up a python script, which works really well. I just don't know the exact length and shape of the data stream. The problem is: I don't…
Tobitobitobi
  • 53
  • 2
  • 9
4
votes
1 answer

What options are available to sniff LVDS communications?

I'd like to capture packets on LVDS communications links. These links are a single pair in each direction - TX and RX, point-to-point, with 8b/10b encoding. I'm looking for options to sniff communications on these links to analyze packets for debug…
JimFred
  • 703
  • 2
  • 8
  • 20
4
votes
2 answers

Can I make my USB to serial adaptor imitate a null modem cable with a straight cable?

Is there a way in software to make a USB to serial adaptor work like it is using a null modem cable while it is actually using a straight through cable? (Using an off-the-shelf USB to DB9 adaptor for RS232 under windows).
Wxffles
  • 43
  • 1
  • 1
  • 3
3
votes
1 answer

Need to purchase a Serial port that can be soldered to a motherboard

All I can find are adapters and gender changers. Where can I find one with actual leads I can solder?
sadse
3
votes
4 answers

turn on power to physical wire from linux?

How can I put power to some wires [possibly connected via Serial Port?], by using a script? I use Ubuntu. I want to schedule a time [using cron] to automate turning on something, say, an LED, a small motor, anything like that. I just need the power…
Matt
  • 189
  • 1
  • 12
2
votes
1 answer

Requirement for a high-speed (10 Mbit/s) PCI-bus synchronous serial port

What high-speed PCI-bus SSP can be recommened, capable of 10 Mbit/s supplied with suitable drivers to interface to a .NET application? Data is sent via RS-422 type drivers with differential twisted screened pairs terminated at both ends. Data is…
Sandy
2
votes
0 answers

Arduino UARTS Auto addressing slaves

i'm using this serial topology to connect my STM32F1 slaves together to a master ESP32. They are in total 10 STM32F1 slaves and one master: With this type of wiring i'm sure that only one slave per time will talk back to master (when requested),…
VirtApp
  • 579
  • 4
  • 25
2
votes
3 answers

does a serial port have enough power to drive a comparator circuit?

I am trying to use serial port pins to power this circuit. Basically I want to send a voltage high to pin 8 when somebody "opens the box" that this circuit is in. Otherwise, it will send a voltage low when the box is closed. I can detect this in…
Joe Grady
1
vote
1 answer

Device Descriptors in Serial Communication

I was wondering if there was any Descriptor part in the data packets during RS 232 based Serial Communication. If not (apparently) then how does the computer decide regarding the type of device connected.?
Umer Huzaifa
  • 147
  • 2
  • 10
1
vote
1 answer

How to connect a micro controller to a CDC device?

I have a device that exposes a USB CDC port recognized by a PC as a virtual com port. I need to connect a micro controller to this device through its USB port. How should I do? I'm looking for a kind of ftdi that would handle the host side of USB.
Julien
  • 479
  • 3
  • 19
1
vote
1 answer

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: disregard the arrows) and included a picture of the wire.
PC3000
  • 11
  • 2
1
2 3