htufle 发表于 2025-5-18 07:17:40

[Question]ESP32 to DMG12800K101_03WTC connection problem

Hello,I connected an RS232-to-TTL converter to the ESP32 as shown in the diagram. I also connected my DMG10600C101_15WTR screen to the RS232 side. Everything worked perfectly, and I was able to complete and deliver my project successfully.Of course, if I had a screen with a native serial port, I could have completed the project even faster without needing the RS232-to-TTL converter. But sometimes, we can't quickly find a DWIN screen that exactly matches our needs.Now, in a similar project, we were able to obtain a DMG12800K101_03WTC screen, which has a higher resolution. We purchased it and used the same wiring. I also used the same software on the ESP32. However, I noticed that no signals were being received from the screen to the ESP32.Fortunately, I had another DMG10600C101_15WTR screen in my team’s stock. I replaced the screen and it worked flawlessly again.
I just can’t figure out what I’m missing with the DMG12800K101_03WTC screen.
To test it further, I connected the DMG12800K101_03WTC to my PC via an RS232-to-USB cable and sent commands using SSCOM. The screen responds and works properly. I verified the baud rate (115200) and other settings as well.But no matter what I try, I can’t establish communication through the same converter and wiring setup that works with the other model.I’d appreciate any suggestions you might have.
Thanks in advance!


DWIN-ARK 发表于 2025-5-18 19:13:55

Now the screen and computer are communicating normally, but it just can't communicate with ESP32?

htufle 发表于 2025-5-18 20:39:39

Yes, absolutely. screen work fine. Using this configuration, the DMG10600C101_15WTR screen works perfectly, but the DMG12800K101_03WTC screen fails to operate.

紫狐 发表于 2025-5-19 10:12:44

Is it possible to connect to a computer, but not ESP32? Try the reverse of rx and tx, it is also possible that the 232 adapter chip is not compatible, so this situation can only be tested by replacing the chip.

紫狐 发表于 2025-5-19 10:37:17

It is also possible that there is a power supply issue. The computer's serial port can provide power to DB9 to TTL (or 485) modules, but the screen cannot provide power, causing the 232 chip of the module to not work. Similar problems may also occur.

htufle 发表于 2025-5-21 07:10:27

Of course, thank you for your support.
First, I connected my DWIN screen to the computer using a USB-RS232 cable, and it worked perfectly.
Then I checked the TX and RX connections as well. As you suggested, I also swapped them.
Of course, I also tested other TTL-RS232 converter modules.

htufle 发表于 2025-5-21 07:14:54

According to the explanation in the forum linkhttp://inforum.dwin.com.cn:20080/forum.php?mod=viewthread&tid=7588&fromuid=24741, if I remove the RS232 chip and make the necessary short connections, will it work? Has anyone tried this? Someone commented under that post saying they failed. That’s why I’m asking—has anyone else tried it?

168988 发表于 2025-5-21 08:42:35

The instructional video teaches how to remove the 232 chip short circuited to TTL; If you are worried about not being able to make good modifications; You can directly use TTL level screens.
页: [1]
查看完整版本: [Question]ESP32 to DMG12800K101_03WTC connection problem