RS232 Connector Pin Assignment
RS232 Cable Information
DB 9 and DB 25 Connection

The original pin layout for RS232 was developed for a 25 pins D sub connector.  In this pin-out provisions were made for a secondary communication channel. In practice, only one communication channel with accompanying handshaking is present. For that reason the smaller 9 pin version is more commonly used today.
The diagrams show the signals common to both connector types in black. The signals only present on the larger connector are shown in red.
Note: The protective ground is assigned to a pin at the large connector, in DB9 version protective ground connector to encloser.
For the DEC modified modular jack. Although is differential (the receive and transmit have their own floating ground level) still possible to connect RS232 compatible devices with this interface.

Read More

This article is a guide for the ESP8266 GPIOs: pinout diagrams, their functions and how to use them.

ESP8266-Pinout-GPIO-Pin-Reference-Guide

The ESP8266 12-E chip comes with 17 GPIO pins. Not all GPIOs are exposed in all ESP8266 development boards, some GPIOs are not recommended to use, and others have very specific functions.

With this guide, you’ll learn how to properly use the ESP8266 GPIOs and avoid hours of frustration by using the most suitable pins for your projects.

We also have a guide for the ESP32 GPIOs: ESP32 Pinout Reference: Which GPIO pins should you use?

Read More

e22328533b15c5f721cc2db1eb6ce010

PL2303TA download cable USB to TTL RS232 module โมดูล USB TTL PL2303TA

โมดูลสื่อสาร USB TTL สำหรับการสื่อสารแบบ TTL เช่น upload โปรแกรมเข้า Arduino Pro mini / ESP8266 / ESP8285 รองรับ windows ทุกรุ่น
ดาวน์โหลดไดรเวอร์ที่นี่ http://allarduino.com/download/A1590.zip


Read More

RS232 (ย่อมาจาก: Recommended Standard no. 232) คือมาตรฐานการสื่อสารข้อมูลดิจิตอลแบบอนุกรม (serial communication) ซึ่งถูกกำหนดขึ้นครั้งแรกในปี ค.ศ. 1960 โดย EIA (Electronic Industries Association) หรือ สมาคมอุตสาหกรรมอิเล็กทรอนิกส์ของอเมริกา ซึ่งในยุคแรก RS232 เป็นที่นิยมมากขนาดที่คอมพิวเตอร์ทุกเครื่องจะต้องมี Serial port สำหรับการสื่อสารมาตรฐานนี้และเชื่อว่าคอมพิวเตอร์ของผู้ใช้หลายๆท่านก็ยังมี Port เชื่อมต่อนี้อยู่ แต่ในปัจจุบันได้มี USB ซึ่งเป็นมาตรฐานสื่อสารที่รับ/ส่งข้อมูลได้เร็วกว่าเข้ามาแทนที่ ทำให้มาตรฐานการสื่อสารอย่าง RS232 ก็ค่อยๆมีอุปกรณ์ที่รองรับน้อยลงเรื่อยๆตามการเวลา

หลักการทำงานของ RS232


มาตรฐาน RS232 เป็นมาตรฐานที่รับ/ส่งข้อมูลแบบ Full duplex หรือจะให้พูดง่ายๆคือสามารถรับและส่งข้อมูลได้พร้อมกันทั้งคู่ในเวลาเดียวกัน โดยการรับ/ส่งข้อมูลนั้นจะใช้สายไฟทั้งหมด 3 เส้น ได้แก่

  • Tx (Transmit data) คือ สายส่งข้อมูล ซึ่งสายเส้นนี้จะมีหน้าที่ในการส่งข้อมูลเท่านั้น
  • Rx (Receive data) คือ สายรับข้อมูล ซึ่งสายเส้นนี้จะมีหน้าที่ในการรับข้อมูลเท่านั้น
  • GND (Signal ground) คือ สายกราวด์ เป็นสายเทียบหรืออ้างอิงแรงดันไฟฟ้า 0V

RS-232 การเชื่อมต่อ

Read More

Reference pinout diagrams for DB9 connector (sometimes known as DE9 connector or D-sub connector) for RS232 serial communication ports. RS232 is a serial data communication signalling protocol. D-sub 9pins or 25pins connector is commonly use for RS232. These days RJ45 (or 8P8C) modular connector is also commonly used for RS232 purpose.

Note:
For 3 wires RS232 serial communication (non-hardware-handshaking or asynchronous data communication) wiring, you only need pin 2, 3 (RX, TX) and pin 5 (Gnd)

Typically the TX pin of a RS232 D-sub connector represent data flowing out of the connector, flowing into the RX pin of its mating connector. This is a communication channel between two devices.

Read More

34_15

มีคำถามจากท่านลูกค้าที่เป็นนักศึกษา และผู้สนใจระดับเริ่มต้น ในเรื่องของ UART, TTL, RS232, MAX232 คืออะไร มันเป็นยังไง และ มันสัมพันธ์กันอย่างไร  เพราะการสื่อสารข้อมูลแบบนี้ เป็นที่นิยมใช้กันอย่างมาก และ มีการใช้เชื่อมต่อเพื่อสื่อสารกับอุปกรณ์ต่างๆ มากมาย เช่น การสื่อสารกับคอมพิวเตอร์, RFID, GPS, GSM Module, RF Module ฯลฯ บทความนี้ทีมงานจาก ThaiEasyElec.com จะมาให้คำอธิบาย เพื่อให้เข้าใจและนำไปใช้ได้อย่างถูกต้องครับ

Read More