迪文科技论坛

 找回密码
 立即注册
搜索
查看: 113|回复: 7

[Question]ESP32 to DMG12800K101_03WTC connection problem

[复制链接]

2

主题

5

回帖

107

积分

注册会员

Rank: 2

积分
107
发表于 2025-5-18 07:17:40 | 显示全部楼层 |阅读模式
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!



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

0

主题

777

回帖

8811

积分

论坛元老

Rank: 8Rank: 8

积分
8811
发表于 2025-5-18 19:13:55 | 显示全部楼层
Now the screen and computer are communicating normally, but it just can't communicate with ESP32?
回复

使用道具 举报

2

主题

5

回帖

107

积分

注册会员

Rank: 2

积分
107
 楼主| 发表于 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.
回复

使用道具 举报

0

主题

266

回帖

2085

积分

金牌会员

Rank: 6Rank: 6

积分
2085
发表于 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.
回复

使用道具 举报

0

主题

266

回帖

2085

积分

金牌会员

Rank: 6Rank: 6

积分
2085
发表于 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.
回复

使用道具 举报

2

主题

5

回帖

107

积分

注册会员

Rank: 2

积分
107
 楼主| 发表于 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.
回复

使用道具 举报

2

主题

5

回帖

107

积分

注册会员

Rank: 2

积分
107
 楼主| 发表于 2025-5-21 07:14:54 | 显示全部楼层
According to the explanation in the forum linkhttp://inforum.dwin.com.cn:20080 ... 8&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?
回复

使用道具 举报

0

主题

868

回帖

6716

积分

论坛元老

Rank: 8Rank: 8

积分
6716
发表于 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.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|迪文科技论坛 ( 京ICP备05033781号-1 )

GMT+8, 2025-5-30 18:07 , Processed in 0.038023 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表