Questions tagged [serial-bus]

The process of sending digital data one bit at a time, sequentially, over a communication channel or computer bus. This is in contrast to parallel communication, where several bits are sent as a whole, on a link with several parallel channels.

In telecommunication and computer science, serial communication is the process of sending data one bit at a time, sequentially, over a communication channel or computer bus. This is in contrast to parallel communication, where several bits are sent as a whole, on a link with several parallel channels.

148 questions
16
votes
4 answers

Why is the serial connection faster than the parallel connection?

As a software developer the concept of parallel processing usually meant faster processing because it meant things don't have to wait for the other processes to finish if they don't need to. So how come the serial connection is looked at (arguably)…
M. A. Kishawy
  • 419
  • 4
  • 10
9
votes
6 answers

How to end sending data over I2C by Slave or Master?

Let us say a Slave or Master is sending multiple bytes to the receiver on I2C bus and the number of bytes is not defined before hand. So then how will the sender tell the receiver that it has no more data to send? So far what I understand is that…
alt-rose
  • 1,441
  • 14
  • 29
8
votes
2 answers

Why SATA is simplex even though it has separate TX and RX pairs?

Why is SATA simplex even though it has separate TX+/- and RX+/- pairs? Why can't it be full-duplex like SAS (which has the same interface with multiple ports and is full-duplex). If I am wrong with this concept please correct me.
user19579
  • 1,378
  • 2
  • 14
  • 23
8
votes
4 answers

Why common-mode choke on differential-signal serial lines?

I have 2 questions: Why using a common-mode choke on serial communication lines (like CAN, RS485) if the signal is differential? Wouldn't the common-mode noise simply be cancelled in the receiver? I reviewed a project where the CAN had a…
user
  • 83
  • 5
8
votes
3 answers

Is RS-485 a suitable physical layer for Atmega chips in a home monitoring situation?

I am intending to build some Atmega based home monitoring chips. I want to monitor temperature, humidity, and current levels. Current level monitoring would be done with an inductive pickup on AC lines. Additionally I want to have some pins on each…
Eric Urban
  • 1,249
  • 12
  • 28
6
votes
7 answers

How does the current of RS485 signals return from the receiver to the sender?

I am planning a system consisting of 1 master device which is connected to 19 slave devices using RS485 transceivers. Also, all devices are powered by 1 PSU. A simplified schematic is shown below. As you can see in the schematic, the slaves each…
Michael
  • 285
  • 1
  • 13
6
votes
2 answers

Reverse Engineer Serial Signal

This is a long post as I want to take you through all the work I've done. The TL;DR version is I've got an unknown controller for a mechanical heat pump and I'm trying to reverse engineer the signal and data....so if you think you can help, then…
5
votes
3 answers

Serial bus Raspberry Pi to multiple AVRs

Background: I'm trying to replace the electronics for a ice hockey scoreboard. The old electronics had the following issues: It stop working. I have since discovered that a couple of diodes and capacitors had burnt out. The controller was wired. We…
5
votes
4 answers

Device discovery on simple bus

I am currently facing following problem: there is a system, which consist of one master device and some number of slave devices (all those devices have tiny MCUs). They communicate with some custom protocol based on serial wire (looks pretty similar…
Vadimchik
  • 199
  • 6
5
votes
2 answers

Why are there sensors that encode their readings as serial sequence of PWMs?

This is a comment of @CuriousCat, but I think it deserves the attention of an actual question: The sensor used in the original question outputs a serial PWM-style signal like this: What's the advantage for a sensor to encode its output in this way…
Marcus Müller
  • 88,280
  • 5
  • 131
  • 237
4
votes
4 answers

Can I test if a MODBUS server device is active?

We have a device which has a RS485 Modbus connection. This device supposedly acts as a server on the bus. We are in a position where it is not clear if the Modbus feature is even turned on or active. This is a whole other story. We have all the…
James Mason
  • 89
  • 1
  • 2
4
votes
2 answers

MAX232 IC does not convert to and form RS232 levels

I made a simple circuit to read data from RS232 lines and print data on different RS232 lines. This is the IC I am using: MAX3232EIDWG4. The IC fails to convert the CMOS to RS232 level logic. I am suspecting it is because of a broken IC or because…
dreamcoder
  • 143
  • 1
  • 1
  • 11
4
votes
3 answers

Stand alone CAN bus module or STM32 embedded CAN?

I have spent days studying and trying to achieve simple communications with CAN bus from scratch using stm32f1, but I still have not achieved the desired results and it is difficult to understand and program. On the other hand, there are CAN bus…
Ricardo Casimiro
  • 427
  • 5
  • 12
4
votes
1 answer

USB to RS485 converter on Linux

I have a USB to RS485 converter: It has a CH341 chip, that is all I know about it. When I plug it in, I can see that it is bound to port ttyUSB0. I want to be able to send and receive bytes from PC (Ubuntu) to a STM32 board. The board side is not a…
Marcell Juhász
  • 255
  • 2
  • 10
4
votes
2 answers

What was the communication protocol used on board the Apollo moon lander?

It seems that the development of TTL was contemporary ~1961 the maiden moon landing of the Apollo vehicle, while the development of one of the oldest digital signalling standards RS232 using the UART hardware was crystallized later, and that of the…
kbakshi314
  • 255
  • 1
  • 12
1
2 3
9 10