Hello all,
I am trying to establish communication between my pcb equipped with esp32 and my pc to validate the serial.comunication.
I am usign the second uart channel of esp32 for this purpose. Having max3232 ic db9.connector, a rs232 to usb cable I am trying to access my windows machine.
The code is quite simple, just constantlt printing a message like hello world.
The problem should be in the hardware somewhere I think, but cannot see it honestly.
My pc recognize the device plugged in, using mobaxterm or uart assistant terminals for this purpose and there are no any messages nor errors. Uart assistant behaves like something is prited but ...
I would like to ask you for schematic review please.
Nothing immediately jumps out at me in the MAX3232 part of the circuit. Connections there all look reasonable; RS232 pins are going to the DE9 and logic level pins are going to the processor and not vice versa. I'll take your word that the serial pins on the ESP32 are the right ones and the sketch shows the proper way to access them.
One thing... did you use the matching footprint for your DE-9 connector gender? A male is bass ackwards to a female connector in terms of pin placements.
If you've got an RS-232 checker and some DB-25 to DE-9 adapters, now would be the time to deploy them.
Well, i agree with you, only if I know the manufacturer or the order code, just have the cable itself, the box is missing, but it should be a general made in china one, it should not be hard to find it!
Since it has a male connector, it's probably correct and you can just plug it into the female connector on your board.
Why don't you write a simple sketch that just reads the RX pin and lights an LED. Then just send a bunch of characters from the terminal program.
Good idea!
Yes the esp32 is working for sure, as I am testing a few other sketches.
Sounds good, I will try to send something from my pc to the esp32, le's say will start with somethink like "k", if this symbol is send the esp32 will light an led. Got it!