Basic RS232 Communication (#780)

* Added ZGateway RS232
This commit is contained in:
DieKatzchen authored and GitHub committed 2020-10-19 13:48:58 -05:00
1 parent 546b27773f
commit 3df16d2d52
11 files changed
+242

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
# RS232 gateway
## Compatible parts
|Module|Purpose|Where to Buy|
|-|-|-|
|TTL to RS232 module|Transcieving|-|
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|
|-|:-:|:-:|
|Arduino UNO|D2|D9|
|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.
## Arduino Hardware setup
![RS232](../img/OpenMQTTgateway_Arduino_Addon_RS232.png)
## ESP8266 Hardware setup
![RS232](../img/OpenMQTTgateway_ESP8266_Addon_RS232.png)
## ESP32 Hardware setup
![RS232](../img/OpenMQTTgateway_ESP32_Addon_RS232.png)
## Credits
RS232 Gateway Developed by DieKatzchen