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

This guide is available in Thai only.

รายการเหล่านี้ไม่ได้อธิบายชั้นเดียวกันทั้งหมด UART กับระดับไฟของอุปกรณ์ต้องแยกจาก RS485 transceiver และการมี Ethernet ไม่ได้บอกว่าใช้ application protocol ใด การส่งข้อมูลได้จึงต้องเข้ากันทั้งไฟฟ้า รูปแบบ และความหมายของข้อมูล

เนื้อหาที่สอนและลำดับทดลอง

  1. แยก peripheral physical interface และ protocol
  2. ตรวจระยะ topology จำนวนอุปกรณ์ และการอ้างอิงไฟ
  3. ระบุ framing address CRC/การตรวจข้อมูลตามแบบที่ใช้
  4. ทำ data contract หน่วย scale และสถานะผิดพลาด

แบบฝึกและตัวอย่างนำไปใช้

แบบฝึก: วาดทางส่งค่าจาก MCU ผ่านวงจรสื่อสารไป gateway แล้วเข้าระบบกลาง พร้อมระบุชั้นแต่ละช่วง

ข้อจำกัดและสิ่งที่ต้องตรวจเพิ่ม

อย่าใช้หัวต่อเหมือนกันเป็นหลักฐานว่าเข้ากันได้ และอย่ากำหนดระยะสูงสุดโดยไม่ดูสเปกกับการติดตั้งจริง

เอกสารผู้ผลิตที่ควรอ่าน

  • 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