BT San Technology

14 January 2026

UART, SPI, I2C, RS485 and Ethernet: choosing a connection at the right layer

2 min read · Automation

Illustration: jumper wires, a terminal block, twisted-pair cable, an RJ45 plug and sensor modules
AI-generated illustration

These names do not all describe the same layer. UART logic levels have to be kept separate from an RS485 transceiver, and having Ethernet does not tell you which application protocol is used. So for data to get through, the electrical side, the framing and the meaning of the data must all match.

What is taught and the order of experiments

  1. Separate the peripheral, the physical interface and the protocol
  2. Check the distance, the topology, the number of devices and the voltage reference
  3. Specify the framing, the address and the CRC or other data check, as the chosen standard defines
  4. Write a data contract: units, scale and error states

Exercise and worked example

Exercise: draw the path of a value from an MCU, through the communication circuit and a gateway, into the central system, and label the layer of each stage.

Limits and what else to check

Do not treat identical connectors as proof that devices are compatible, and do not fix a maximum distance without checking the specification and the real installation.

Manufacturer documents worth reading

  • STM32 MCU portfolio
  • Delta PLC portfolio
  • Arduino Opta

References

  1. STM32 MCU portfolio (accessed 2026-11-21)
  2. Delta PLC portfolio (accessed 2026-11-21)
  3. Arduino Opta (accessed 2026-11-21)

Add us on LINE

Scan with the LINE app on your phone

QR code to add LINE @Bankoos

LINE ID: @Bankoos

Open LINE on this computer