Files
OpenMQTTGateway/docs/setitup/serial.md
Florian 8a28bb2cf8 [SERIAL][BREAKING] RS232 change to SERIAL GATEWAY (#2008)
Make the RS232 more generic by converting it to a Serial Gateway
Add the capability to decode BLE data coming through Serial
2024-08-16 11:23:39 -05:00

821 B

Serial/RS232 gateway

Compatible parts

Module Purpose Where to Buy
TTL to RS232 module Transceiving -

Any module using a MAX232 chip will work. Don't pay extra to get all the signals, we're only using RX and TX.

Pinout

Board Receiver Pin Emitter Pin
ESP8266 D2 D4
ESP32 27/26 14

Connect VCC on the module to 5V of your board, and the ground on the module to the ground of your board. your Transmit pin goes to TX and your Receive pin goes to RX. This may seem backwards, but the module is labeled as where it will be connected on the RS232 side of the module.

ESP8266 Hardware setup

RS232

ESP32 Hardware setup

RS232

Credits

RS232 gateway Developed by DieKatzchen