feature-requests icon indicating copy to clipboard operation
feature-requests copied to clipboard

DWIN HMI display support?

Open BrownC0de opened this issue 11 months ago • 18 comments

Describe the problem you have/What new integration you would like Good afternoon, I discovered excellent HMI displays (https://www.dwin-global.com/) that are superior to others (nextion example) both in price and in characteristics (color, resolution, viewing angle, touch sensor) and appearance. But they are quite problematic in setting, from the side of the esphome. Is it possible to finish off their support, and facilitate customization by the user?

Please describe your use case for this integration and alternatives you've tried: Devices with high-quality displays that do not load esp Additional context

Unfortunately, these beautiful displays are not currently usable on anything without programming knowledge. (At the same time, setting up the interface itself is not a problem, it has a rather convenient interface), but its communication through the UART with the ESP is not very easy and not pleasant :)

BrownC0de avatar Jul 22 '23 12:07 BrownC0de

By the way, the manufacturer DWIN is very willing to provide screens for development and testing.

BrownC0de avatar Jul 23 '23 11:07 BrownC0de

Any news on that? I would be interested as well. Thanks!

arnaudcart avatar Nov 15 '23 12:11 arnaudcart

I am also requesting direct support for DWIN displays

pdacity avatar Nov 15 '23 13:11 pdacity

Yes, these displays are very interesting! Especially those models that have built-in ESP8266 modules. Really need support!

ReliableBob avatar Nov 15 '23 13:11 ReliableBob

Yes, there are really not enough screens! I'm also looking forward to progress in this direction.

O-X-I-G-E-N avatar Nov 15 '23 13:11 O-X-I-G-E-N

Which screen models are we talking about here? They offer Android and Linux-based screens also. Which model is ESP8266-based? Also I see most of the screens require further case development - but are there any screens witch complete housing, which could be interest for ESPHome?

nagyrobi avatar Nov 15 '23 13:11 nagyrobi

Also I see most of the screens require further case development - but are there any screens witch complete housing, which could be interest for ESPHome?

Interested in the COF series https://www.dwin-global.com/cof-uart-lcd-module/ Option directly with the housing https://www.dwin-global.com/4-inch-iot-smart-home-wire-controllermodel-tc040c12-uw-00-product/

As for immediately with esp inside, I don’t know such options.

BrownC0de avatar Nov 15 '23 14:11 BrownC0de

Wow, the TC040C12U00 is indeed very appealing, and price-wise is also not bad. Seen even on Aliexpress.

TC040C12U00 install

What's very interesting is that it supports RS485, which is usually ModBUS. If it's really ModBUS, then ESPHome supports it. That component allows making sensors, switches etc from what the device offers - in this case I guess graphic elements on the screen...?

The other big advantage of RS485 is that it supports long cable runs, so you don't need to put the ESP directly near the screen.

Dev docs: https://www.dwin-global.com/development-guide/

nagyrobi avatar Nov 15 '23 15:11 nagyrobi

Wow, the TC040C12U00 is indeed very appealing, and price-wise is also not bad. Seen even on Aliexpress.

And this is what it looks like from the inside. There is space for the radio module. It works via UART Screenshot_17

To draw UI - They offer special software DGUS: https://www.dwin-global.com/tool-page/ Next, the screen exchanges information via the UART with the ESP (or another microcontroller)

Some information on how to set it up. https://iotprojectsideas.com/esp32-smart-home-automation-using-dwin-hmi-display/ https://how2electronics.com/smart-home-controller-using-dwin-hmi-display-esp32/ Here the whole difficulty in use is from the point of view that you need to have programming knowledge, but you want there to be integration (Similar to the Nextion components in esphome)

BrownC0de avatar Nov 15 '23 16:11 BrownC0de

Screen quality, colors, viewing angles, interface speed and touch screen responsiveness. In the video below: https://github.com/esphome/feature-requests/assets/34803844/aa2b7968-5650-4aa2-9b1f-4e80eb8c8b43 This is truly an extremely interesting screen for this price.

BrownC0de avatar Nov 15 '23 16:11 BrownC0de

And this is what it looks like from the inside.

Yes there's an unpopulated header for a WiFi module. Chances are we could even find an ESP-based module which could fit.

Can you take a closer shot of that part of the board?

nagyrobi avatar Nov 15 '23 20:11 nagyrobi

It is called "wifi-10" and it is an ancient esp8266 https://www.aliexpress.com/i/1005001392531088.html would rather use any esp32 (m5stamp, or any other module, and some wires would do it).

randybb avatar Nov 15 '23 21:11 randybb

Can you take a closer shot of that part of the board?

Unfortunately it won’t work out, this is not my photo. I have screens without housings, there is a different board, with pins simply displayed

photo_2023-11-15_16-28-07

photo_2023-11-15_16-17-25

photo_2023-11-15_16-17-26

It is called "wifi-10" and it is an ancient esp8266

Yes, it's very similar. For esp32 you can use the board HDL662S there is a UART or do without this board and connect the cable via connector FPC\FFC 50Pin.

BrownC0de avatar Nov 16 '23 09:11 BrownC0de

I'm considering switching from Nextion to DWIN because of better price and smaller dimensions of boards. Does anyone have it working with ESPHome? Is it difficult to make it work with UART commands only?

pkejval avatar Nov 28 '23 08:11 pkejval

I'm considering switching from Nextion to DWIN because of better price and smaller dimensions of boards. Does anyone have it working with ESPHome? Is it difficult to make it work with UART commands only?

They have an Arduino Library for DWIN DGUS T5L HMI Displays.

hayschan avatar Jan 19 '24 05:01 hayschan

By the way, the manufacturer DWIN is very willing to provide screens for development and testing.

I would be happy to work on an ESPHome component for this. Which model is more popular here?

edwardtfn avatar Jan 23 '24 07:01 edwardtfn

I would be happy to work on an ESPHome component for this. Which model is more popular here?

It would be great. СOF products (https://www.dwin-global.com/cof-uart-lcd-module/) It is best suited for use with esphome. I use DMG48320F035_01WTC In my opinion, this is the most successful diagonal, it is also available with a body. I can take part in testing.

BrownC0de avatar Jan 23 '24 09:01 BrownC0de

I finally got my displays. I will try to find some time to play with this.

edwardtfn avatar Mar 07 '24 07:03 edwardtfn