DWIN Displays - Review and tutorial

Поделиться
HTML-код
  • Опубликовано: 21 июл 2024
  • DWIN is a high-tech company specializing in human-computer interaction solutions. In the field of human-computer interaction, DWIN will always be your most reliable choice. In this getting started tutorial, we will learn to set up DWIN 4.3-inch TFT LCD Display called DMG80480C043_02WTC. It is a 4.3-inch colour LCD Display with 800X480 Pixel Resolutions called a T5L LCD Module. It operates between 4.5V to 5.5V and is compatible with all microcontrollers including Arduino, STM32, Pic, 8051, and others. We need the FCC-10 terminal cable called FCC1015A and the HDL662B UART to USB Converter Board to establish communication with a computer. To load the firmware as a factory demo, we need an SD Card. Finally, a beautiful GUI can be created without the use of any programming.
    If you have any inquiries about the screens or want to get a free sample, you can contact them on social platforms like WhatsApp or Email details are given below.
    Whatsapp: +86 19918076477
    Email: Cassie@dwin.com.cn
    Also, you can purchase from their store using my affiliate link to support my channel:
    a.aliexpress.com/_oFP1K6H?spm...
    In this video, I show you these excellent DWIN displays I got from the manufacturer. I first review and discuss the properties of both displays I got, and then I pick the smaller display (easier to handle for a demo) and show you how to create a GUI. I also show how to transfer information in both ways: display-to-serial and serial-to-display, so you will get a lot of information available to be able to start working with the display.
    I also wrote a detailed article about the exact same content that I show in the video. If you prefer reading instead of watching videos, please visit my website:
    curiousscientist.tech/blog/dw...
    Please consider becoming my supporter on Patreon:
    / curiousscientist
    I will create more tutorials for this display in the future, so stay tuned!
    If you want to support my work, please consider buying the parts using my affiliate links:
    curiousscientist.tech/tools
  • НаукаНаука

Комментарии • 113

  • @indianmind19
    @indianmind19 3 месяца назад +1

    Thank you so much for explaining variable issue at 34:15 , I was stuck with it for last 1 day. Cheers!

  • @soranfatah1033
    @soranfatah1033 Год назад +2

    nice explained we like you continue the series.

    • @CuriousScientist
      @CuriousScientist  Год назад +1

      Thanks! There will be a set of new parts, it just takes a lot of time to prepare them.

  • @DwinTechnologyOfficial
    @DwinTechnologyOfficial 2 года назад +3

    Thank you for your long and valued video about 49:38!💝

  • @teodoropires
    @teodoropires 2 месяца назад

    Amazing! I sincerely appreciate it.

  • @romandavydov8684
    @romandavydov8684 2 года назад +3

    Thank you for the tutorial!
    Very well explained please continue the series.
    I have a question. On win displays there are two usart ports
    Do you know how to use them?
    Is one of them used to send data from the screen while the other one is for receiving ?
    Or how does these two usarts work?

    • @CuriousScientist
      @CuriousScientist  2 года назад

      You are welcome! There will be a continuation in the near future, stay tuned! :)
      One (UART2) (TX2 and RX2) is for communicating with the microcontroller. The other (UART1: RX4 and TX4) is a so-called "expanded serial port". If I am not wrong, it is probably used when you use the display with the HDL662B Adapter and connect it to the computer. It is probably the debugging port.

  • @kaushikbm
    @kaushikbm Год назад +1

    Very good tutorial. Wish I have found this earlier 😅. Have gone thru lots of research to get the display working. Now I'm trying to enable / disable or hide / unhide a button like normal GUIs. Any clues to do it ? I mean to control the touch components.

    • @CuriousScientist
      @CuriousScientist  Год назад +2

      Thanks! I haven't tested hiding/disabling elements, but it must be possible. I will make a series of videos on these displays, so I will cover that topic too. Stay tuned!

  • @trustmeimanengineer4081
    @trustmeimanengineer4081 4 месяца назад

    Hello. Thanks you for the useful guiding.
    I have trying to do same as your did but I have a problem is I can not make my screen display vertical, can you help me to show what did I do wrong?

    • @CuriousScientist
      @CuriousScientist  4 месяца назад

      Hi! Have you checked my other video on configuring the display? I am pretty sure that I explained how to deal with portrait and landscape mode. You both have to take care of the picture's aspect ratio and the page resolution.

  • @lifetv1744
    @lifetv1744 6 месяцев назад

    harika anlatmışsın teşekkürler

  • @Jartiera
    @Jartiera 7 месяцев назад

    When you mention, at end of video, about competitors, you mean about 4DSystems ?

  • @user-bs3hy6cm7z
    @user-bs3hy6cm7z 6 месяцев назад

    I accidentally supplied 12 volts to the DWIN screen, which should have been powered with a 5-volt adapter. I pulled it out, but I'm not sure if the screen is damaged. Can you please let me know?

    • @CuriousScientist
      @CuriousScientist  6 месяцев назад

      Try it with the correct power supply and hope that it will work.

  • @pgabrieli
    @pgabrieli 2 года назад +2

    very interesting, thank you! I wonder how DWIN compares with Nextion displays. any idea?

    • @CuriousScientist
      @CuriousScientist  2 года назад +4

      Thanks! I worked with Nextion as well, and the first thing I immediately noticed is the price. DWIN is cheaper! Also, DWIN uses their own chip instead of an STM32 microcontroller which is very advantageous, especially in today's chip shortage. DWIN, especially after already using Nextion in the past has a bit stranger approach in programming, but once you get used to DWIN's programming, it is actually better. In fact, you don't even need to write a single line of code for the DWIN displays, however you need to spend some time understanding how the VP addresses work and how to interpret the data stream. Also, DWIN gives you a *FULL* control for their displays. It does not matter if you buy their cheap $20 or their expensive $100 display, you will be able to use both of them with the same functions. Or at least I could not find any limitations yet. The other manufacturer blocks certain functions, for example I cannot put a switch or a combobox on my basic Nextion display. All in all, it is cheaper but better. I will make more videos on these displays because I think they deserve more attention and they are not really discovered by makers yet.

    • @pgabrieli
      @pgabrieli 2 года назад +2

      @@CuriousScientist that's fantastic, thank you VERY much! I have an application in mind where I would like to display a live feed from the camera, and possibly freeze a frame and make that into a button. I'm quite sure I cannot do it with the Nextion displays I have, but I've seen videos on the DWIN channel where at least the playback of a live camera feed is possible, although none of those I watched have any instructions. it would be FANTASTIC if you were to cover that. thanks again for the video and the quick reply!

    • @CuriousScientist
      @CuriousScientist  2 года назад +2

      I cannot promise that I will cover it let's say in two weeks, but I noted down this idea and will try to incorporate it in my "DWIN series".

    • @pgabrieli
      @pgabrieli 2 года назад +2

      @@CuriousScientist thanks, man! I am in no rush, so don't worry! :-) I'm a long time subscriber, so if you make it, I'll catch it

  • @g.u.y332
    @g.u.y332 Месяц назад

    does it have to always be connected to PC even after programming and GUI and stuff. Can it run directly with power and the microcontroller ?

    • @CuriousScientist
      @CuriousScientist  Месяц назад

      No, it can communicate with a microcontroller independently. I have several examples of it...

  • @akashpanja9148
    @akashpanja9148 8 месяцев назад +1

    Can we give power to display board directly using a 5v power supply and connect it with Pin +5v and gnd ? While flashing and in regular use

    • @CuriousScientist
      @CuriousScientist  8 месяцев назад +1

      Sure, you can use an external power supply as long as it is the _only_ power supply. Do not connect the serial adapter and the external power supply at the same time. Also, make sure that the external power supply can supply enough current (1 A, if I remember correctly). Actually, these details are clearly stated in the manual of the displays. Read it!

    • @akashpanja9148
      @akashpanja9148 8 месяцев назад +1

      @@CuriousScientist Thanks a lot it helped a lot

    • @CuriousScientist
      @CuriousScientist  8 месяцев назад

      Cheers! Glad to help!

  • @user-bu4uv2un3s
    @user-bu4uv2un3s 8 месяцев назад

    Is it possible to download a project from the display back to an SDcard (in case you lost the program on the computer)?

    • @CuriousScientist
      @CuriousScientist  8 месяцев назад

      Hi! AFAIK, it is not possible. Nor to SD card, neither via serial.

  • @aungyehman8925
    @aungyehman8925 5 месяцев назад +1

    Can you please kindly answer ?Can these DWIN HMI Display be used as controller for claw machine?

    • @CuriousScientist
      @CuriousScientist  5 месяцев назад +1

      Hi! You can use them for any purposes you want. But keep in mind that these are only displays. The real work is done on a microcontroller connected to the display.

  • @borntoinvent1197
    @borntoinvent1197 Месяц назад

    i have generated .HZK file properly and the software virtual display simulator shows it properly but when i upload to the display i see something like textured box on the place where i have fonts example "123 variable"

    • @CuriousScientist
      @CuriousScientist  Месяц назад

      Then there's still something that you didn't do properly.

    • @borntoinvent1197
      @borntoinvent1197 Месяц назад

      Ok got it , when you are using 8mb display you have to save .icm file as 23 instead of 32 , that is what causing that issue

    • @CuriousScientist
      @CuriousScientist  Месяц назад

      Nice to hear that you figured it out

  • @MrFujack103
    @MrFujack103 Год назад

    I have a unit with one of these screen and the j it arrived damage and I’m looking to replace it. Can the software be read then written to a new screen so it will run the unit?

    • @CuriousScientist
      @CuriousScientist  Год назад

      Hi! There is a section in the DGUS toolkit that allows you to download certain files from the display using the serial connection. But I don't remember exactly which files can be downloaded. I recommend you to check the datasheet of the displays, or just contact DWIN. They are super helpful.

    • @MrFujack103
      @MrFujack103 Год назад

      @@CuriousScientist thanks for the reply. I am in contact with them and like you say seem really helpful. They say I need a set code from the company that supplied me the unit but I can see why I can’t just unsolder the lcd off the bit with the chip and solder the new one on to retain the software

    • @CuriousScientist
      @CuriousScientist  Год назад

      You can try the resoldering solution, but it sound a bit too complicated. Isn't it easier to just ask for the files from the company? You can explain them that you had the display damaged. I believe they would understand it and they would probably help you.

  • @VickyPatel-cy4qu
    @VickyPatel-cy4qu 6 месяцев назад

    please make videos on linux lcds and also make on linux lcd interface with other microcontrollers

    • @CuriousScientist
      @CuriousScientist  6 месяцев назад +1

      Sure, if you sponsor me. I don't make videos on requests for free.

  • @waledwael9561
    @waledwael9561 Год назад

    thank you for the tutorial
    any idea how to connect the dwin dmg10600c101_15wtr with arduino?

    • @CuriousScientist
      @CuriousScientist  Год назад

      Hi! In the same way like I did. It also uses UART.

    • @waledwael9561
      @waledwael9561 Год назад

      @@CuriousScientist can i contact you in whatsapp i need to illustrate to you the problem

    • @CuriousScientist
      @CuriousScientist  Год назад

      I don't have WhatsApp. For display related issues you can directly contact the manufacturer. Their contact information is in the description of the video. WhatsApp too.

    • @waledwael9561
      @waledwael9561 Год назад

      No my question is that the display output is 8 volt and the arduino only handles 5 v i need the name of the adapter that connect the display and the arduino

    • @CuriousScientist
      @CuriousScientist  Год назад

      I don't know how you managed to measure 8 V, because the typical voltage level of the IO is 3.3 V and the maximum is 5 V. Something is not correct there.

  • @BikashKumar-yh1vf
    @BikashKumar-yh1vf 2 месяца назад

    I am stuck with the problem data shown in serial monitor is not as expected ended up with showing A9 2D BE 3E F7 FD FF FF in place of 5A A5 06 83 10 00 01 02 3D

    • @CuriousScientist
      @CuriousScientist  Месяц назад

      Probably you did not do exactly the same as I did.

    • @BikashKumar-yh1vf
      @BikashKumar-yh1vf Месяц назад

      @@CuriousScientist I followed all the steps that you did but still getting the same result

  • @PrimuSPS
    @PrimuSPS 4 месяца назад

    I am having trouble with Variable Icon in DGUS. How to control transparency of added icon?
    I have added back and white monochrome jpgs.
    I am able to change my icon based on input but my black background in my icon is getting removed. I have tried changing display mode but it is not changing anything. I have tried other color images as well but their background is also getting removed.
    How to control and turn this off is transparency setting?
    Thanks

    • @CuriousScientist
      @CuriousScientist  4 месяца назад

      Hi! I haven't worked with transparency, so unfortunately, I do not know the answer. I recommend you to look at the datasheet of the display, it explains well how it should be implemented.

    • @PrimuSPS
      @PrimuSPS 4 месяца назад

      @@CuriousScientist thanks for response.
      I managed to "solve" it, it seems the changes that I made in the DGUS for my VAR_ICON are not reflecting in their simulation mode. But when the ui code is uploaded on display, changes are working as intended. So problem is probably in their simulation I guess.

    • @CuriousScientist
      @CuriousScientist  4 месяца назад +1

      Yeah, you kind of missed mentioning that you encountered this issue in the emulator and not on the actual display... I emphasized several times, even in comments that the emulator should not be trusted, it is riddled with bugs.

    • @PrimuSPS
      @PrimuSPS 4 месяца назад +1

      @@CuriousScientist I probably overlooked them as I thought problem was with only transparency code or DGUS version perhaps. Thanks for the info.

  • @SurajKumar-p1l
    @SurajKumar-p1l 15 дней назад

    Pls help me sir
    how to the Analog data read in DWIN display

    • @CuriousScientist
      @CuriousScientist  15 дней назад

      You do that with the microcontroller and not with the display.

  • @jugnu361
    @jugnu361 7 месяцев назад +2

    i used NEXTION DISPLAYS in past.......they are same quality as DWIN but TWICE the price

    • @CuriousScientist
      @CuriousScientist  7 месяцев назад

      Each of these display families have their own advantages and disadvantages.

  • @user-pr7yv2sw1f
    @user-pr7yv2sw1f 10 месяцев назад

    I followed the same in the video. Once the sd card process is completed, I have removed the SD card and power on again. But i ended up with a black screen. May i know where i went wrong?

    • @CuriousScientist
      @CuriousScientist  10 месяцев назад

      You first power off the screen, then remove the SD card!
      I don't know where you went wrong because I don't know what you did. Did you name the file correctly? Did you generate them correctly? Are they in the DWIN_SET folder? Do you have the font (hzk) file in place?

    • @user-pr7yv2sw1f
      @user-pr7yv2sw1f 10 месяцев назад +1

      @@CuriousScientist yes I have done all the things as you have said

  • @FilipeNeto616
    @FilipeNeto616 11 месяцев назад +1

    Is there a way to retain a value after rebooting? Let's say I need to retain the slider value upon rebooting

    • @CuriousScientist
      @CuriousScientist  11 месяцев назад +1

      Sure! Save it in the eeprom of the MCU, then reload it from there upon reboot.

    • @FilipeNeto616
      @FilipeNeto616 10 месяцев назад

      @@CuriousScientist when you say "eeprom of the MCU", are you referring to the MCU of the DWIN, or the MCU of the arduino that's broadcasting the data to the DWIN?

    • @CuriousScientist
      @CuriousScientist  10 месяцев назад +1

      The Arduino's eeprom.

    • @FilipeNeto616
      @FilipeNeto616 10 месяцев назад

      @@CuriousScientist Thank you for your help and the very useful dwin tutorials

    • @FilipeNeto616
      @FilipeNeto616 10 месяцев назад

      If anyone needs further info, please google 'ESP32 Save Data Permanently using Preferences Library'

  • @shreyasalvi5639
    @shreyasalvi5639 Год назад

    Hello, I have some issues regarding the communication. Hex values doesn't come the same in slider display and ADC value, even after sending display isn't taking it. Could you please help

    • @CuriousScientist
      @CuriousScientist  Год назад

      Hi! Could you rephrase your question? I don't really understand the issue, sorry.

    • @shreyasalvi5639
      @shreyasalvi5639 Год назад

      Hello, I am not able to send Or receive the values through display. I have set the address and all the settings as per instructed in the video but still not able to communicate. What can be done?

    • @CuriousScientist
      @CuriousScientist  Год назад

      I don't know how you are trying to send the command, so I cannot help. You need to provide more information. What baud rate do you use?

    • @FilipeNeto616
      @FilipeNeto616 11 месяцев назад +1

      You need to enable TTL mode to ON. In my board you have to solder (short) two pads in the back. They're labeled.

    • @CuriousScientist
      @CuriousScientist  11 месяцев назад

      Wow, this is new to me! Thanks for your contributions!

  • @nagyCurtainsmotor
    @nagyCurtainsmotor Год назад

    An error occurred while upgrading the screen and it became a black screen that does not work
    Can you help me to restart it
    DWIN LCD DMG80480C050_03WTR
    can you help me
    I can't find a way to reset the screen again

    • @CuriousScientist
      @CuriousScientist  Год назад

      Please contact their customer service. I am not a DWIN employee, I am just a dude working with these displays.

  • @oOWaschBaerOo
    @oOWaschBaerOo 11 месяцев назад

    i have a question about a DWIN screen, maybe you can help me figure it out...
    at some point during flashing of a screen for a 3d printer i flashed a firmware onto it that was rotated 90degrees, upon flashing back to the stock firmware i began having issues with touchscreen
    basically the left half of the screen is working the other isnt, but not dead, to press a button on the right side of the screen, i have to touch the right side of the left half,
    to press a button on the left side of the screen, i press the left side of the left half..
    so basically it is as if the touch area is squished together and left aligned...
    is there a way to fix this ? and how ?
    the other firmware must have changed or written something into the screen, that dosent get changed back by the original firmware...

    • @CuriousScientist
      @CuriousScientist  11 месяцев назад

      Hi! Did you change the configuration file that contains the orientation (the t5l file)? You need to change it as well in order to affect the rotation of the display. You can regenerate the file from the DGUS software and then upload it with the rest of the files.

    • @oOWaschBaerOo
      @oOWaschBaerOo 11 месяцев назад

      @@CuriousScientist I don't have a rotation issue, I wanna use the original firmware again, and now the touchinputs are messed up with the original firmware, the rotation I fixed for the alternate firmware but then I decided to go back to the original one cause I liked it better and now touch isn't working as it should

    • @CuriousScientist
      @CuriousScientist  11 месяцев назад

      To me it sounds like a rotation issue. The screen alignment change but the power-on display direction remained unchanged, therefore the touch are is also according to the other configuration. Why don't you contact the developer of the firmware? They must know if any of these settings are incorrect. You can also try to upload an empty display with the assumed-to-be-correct power-on display direction, and then reupload the original firmware.

    • @oOWaschBaerOo
      @oOWaschBaerOo 11 месяцев назад

      @@CuriousScientist i did upload one following your tutorials, but then i either dont have touch or i have the same touch issue ...
      and the x and y directions for touch are all correct its just squished ...
      i did contact the manufacturer of the 3d printer for a fix but they do not offer firmware downgrades etc, they told me ..
      was just wondering if someone with knowledge about the DWIN system knows how to fix it

    • @CuriousScientist
      @CuriousScientist  11 месяцев назад

      Did you choose the correct resolution according to the _EXACT_ type of your display? They can look identical, but have different LCD panels with higher or lower resolution. That could explain the squished touch controls maybe.

  • @gss4003
    @gss4003 Год назад

    Can we play video on this display

    • @CuriousScientist
      @CuriousScientist  Год назад

      Hi! As far as I know, it cannot play a video as an LCD or television...etc., but it can play a video from a camera. It is described in the DGUS handbook.

  • @narender2341
    @narender2341 Год назад

    How to send decimal numbers from ESP32 to Dwin display?

    • @CuriousScientist
      @CuriousScientist  Год назад

      It is the same way as I send the ADC values to the display. Watch the video.

    • @narender2341
      @narender2341 Год назад

      @@CuriousScientist Thanks for the reply. I am getting errors in the Arduino IDE. on seding integers it works fine but when changing the data type to float, it starts giving errors.
      These lines to send int data
      Humidity[6] = highByte(h);
      Humidity[7] = lowByte(h);
      mySerial.write(Humidity, 8);
      But on changing h datatype from int to float, getting error
      "error: invalid operands of types 'float' and 'int' to binary 'operator>>' #define highByte(w) ((uint8_t) ((w) >> 8)) "
      It would be helpful if I can get help in this.

    • @CuriousScientist
      @CuriousScientist  Год назад +1

      You cannot treat float as an integer. You are trying to do operations on float which can not be done on float. Furthermore, you cannot directly pass a float to the display if I remember correctly. You have to send an integer and you have to know where to put the decimal point. For example, if you want to put "56.34" on the display, you send it as "5634" and then within the display you have to account for the placing of the decimal point to make it "56.34" again. Read the manual of the display, it is described there.

    • @narender2341
      @narender2341 Год назад +1

      @@CuriousScientist Thanks, i got it. I'll try and let you know.

    • @narender2341
      @narender2341 Год назад +2

      Hey, just to let you know. It worked. Thanks for the help. you are awesome☺

  • @Fantet-lh5wv
    @Fantet-lh5wv 4 месяца назад

    Not working help pls

    • @CuriousScientist
      @CuriousScientist  4 месяца назад

      Hi! If your display is not working, contact their customer support.

  • @arlo8392
    @arlo8392 Год назад

    PЯӨMӨƧM 👀

  • @rumpelstiltskin449
    @rumpelstiltskin449 3 месяца назад +1

    Well, the software is complete trash tbh

    • @CuriousScientist
      @CuriousScientist  3 месяца назад

      It is not perfect, but it is possible to use it.

  • @white-in-china6713
    @white-in-china6713 4 дня назад

    can the display work as master - send requsts to external devices and then show received data on screen?

    • @CuriousScientist
      @CuriousScientist  4 дня назад +1

      It is an HMI, so it needs some input from a human, and then it sends the request/instruction to the microcontroller. Otherwise, the microcontroller can automatically send data to it, and the display can show it.

    • @white-in-china6713
      @white-in-china6713 4 дня назад

      @@CuriousScientist could the request be a timer in HMI?

    • @CuriousScientist
      @CuriousScientist  4 дня назад

      AFAIK, the request should come from a microcontroller. It needs to receive a command via the serial port.