1

I have two ESP32 that are communicating via USART (TTL) on the Serial2.

The TX2 pin of ESP_Alice is connected with the RX2 pin of ESP_bob.

The RX2 pin of ESP_Alice is connected with the TX2 pin of ESP_bob.

(left on the image)

It works, but it's a noisy channel and I need to increase cable length. I bought two MAX3232-based boards and I connected them as in the right scheme on the image:

TX2 RX2 between ESP and MAX3232 boards are connected directly (on the TTL SIDE), the TX and RX pin of the two boards (on the RS232 side) are crossed.

Boards are powered with 3.3 V and GND pin connected to ESP_Alice

It does not communicate at all (same program that works correctly when the two boards are connected directly with the TTL USART).

ESP32 connections

Connections of RS232 to TTL boards

What am I doing wrong here?

Greenonline
3,1527 gold badges36 silver badges48 bronze badges
asked Apr 19, 2024 at 9:40
3
  • 1
    On the right side, 3.3v and GND, and GND on the second board, are connected to the wrong pins. Commented Apr 19, 2024 at 13:39
  • try to esp tx <--> rx max3232 And esp rx <--> tx max3232 Commented Oct 25, 2024 at 6:21
  • @EdanLee Look at the arrows on the PCB: TXD of the MAX3232 boards is an input, so connecting ESP's TX here is correct. Commented Oct 25, 2024 at 6:30

1 Answer 1

-1

You seem to have the polarity of the supply to the RS232-TTL boards reversed.

There is a + symbol next to the pads that you have the GND connected to.

It should be like this:

Corrected supply polarity

answered Apr 19, 2024 at 15:01
1
  • Sorry, I messed up with the second image that I meant to use as an 'enlargement' of the first one. The wiring is already connected as you suggest in your image. I'll try to update my question with your image Commented Apr 22, 2024 at 8:58

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.