I'm looking to connect an ESP32 board with a MAX3232 Mini to communicate with another device, but I'm unsure about the correct connections.
Here are my idea on the connections:
MAX3232 to ESP32:
MAX3232 TTL OUT to ESP32 RX pin
MAX3232 TTL IN to ESP32 TX pin
GND to GND
MAX3232 to Device:
MAX3232 RS232 OUT to Device TXD
MAX3232 RS232 IN to Device RXD
GND to GND
For power:
The ESP32 is powered via the 5V pin and ground.
The MAX3232 module also needs power. But I'm unsure about where and how exactly.
Questions:
Can I draw power from the ESP32 board, or should both devices use the 5V supply?
Are my connection ideas correct?
I attached an image of the devices.
I appreciate any guidance you can provide!
Thank you!
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)