DWIN Displays - Review and tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ค. 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
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 98

  • @indianmind19
    @indianmind19 หลายเดือนก่อน +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.

  • @teodoropires
    @teodoropires 17 วันที่ผ่านมา

    Amazing! I sincerely appreciate it.

  • @romandavydov8684
    @romandavydov8684 ปีที่แล้ว +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  ปีที่แล้ว

      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.

  • @DwinTechnologyOfficial
    @DwinTechnologyOfficial ปีที่แล้ว +2

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

  • @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!

  • @lifetv1744
    @lifetv1744 4 หลายเดือนก่อน

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

  • @trustmeimanengineer4081
    @trustmeimanengineer4081 2 หลายเดือนก่อน

    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  2 หลายเดือนก่อน

      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.

  • @user-bu4uv2un3s
    @user-bu4uv2un3s 6 หลายเดือนก่อน

    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  6 หลายเดือนก่อน

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

  • @aungyehman8925
    @aungyehman8925 2 หลายเดือนก่อน +1

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

    • @CuriousScientist
      @CuriousScientist  2 หลายเดือนก่อน +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.

  • @Jartiera
    @Jartiera 5 หลายเดือนก่อน

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

  • @pgabrieli
    @pgabrieli ปีที่แล้ว +2

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

    • @CuriousScientist
      @CuriousScientist  ปีที่แล้ว +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

      @@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

      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

      @@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

  • @akashpanja9148
    @akashpanja9148 6 หลายเดือนก่อน +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  6 หลายเดือนก่อน +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 6 หลายเดือนก่อน +1

      @@CuriousScientist Thanks a lot it helped a lot

    • @CuriousScientist
      @CuriousScientist  6 หลายเดือนก่อน

      Cheers! Glad to help!

  • @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.

  • @user-bs3hy6cm7z
    @user-bs3hy6cm7z 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

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

  • @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.

  • @FilipeNeto616
    @FilipeNeto616 9 หลายเดือนก่อน +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  9 หลายเดือนก่อน +1

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

    • @FilipeNeto616
      @FilipeNeto616 8 หลายเดือนก่อน

      @@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  8 หลายเดือนก่อน +1

      The Arduino's eeprom.

    • @FilipeNeto616
      @FilipeNeto616 8 หลายเดือนก่อน

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

    • @FilipeNeto616
      @FilipeNeto616 8 หลายเดือนก่อน

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

  • @user-pr7yv2sw1f
    @user-pr7yv2sw1f 8 หลายเดือนก่อน

    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  8 หลายเดือนก่อน

      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 8 หลายเดือนก่อน +1

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

  • @VickyPatel-cy4qu
    @VickyPatel-cy4qu 4 หลายเดือนก่อน

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

    • @CuriousScientist
      @CuriousScientist  4 หลายเดือนก่อน +1

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

  • @oOWaschBaerOo
    @oOWaschBaerOo 9 หลายเดือนก่อน

    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  9 หลายเดือนก่อน

      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 9 หลายเดือนก่อน

      @@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  9 หลายเดือนก่อน

      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 9 หลายเดือนก่อน

      @@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  9 หลายเดือนก่อน

      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.

  • @PrimuSPS
    @PrimuSPS 2 หลายเดือนก่อน

    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  2 หลายเดือนก่อน

      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 2 หลายเดือนก่อน

      @@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  2 หลายเดือนก่อน +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 2 หลายเดือนก่อน +1

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

  • @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 9 หลายเดือนก่อน +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  9 หลายเดือนก่อน

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

  • @jugnu361
    @jugnu361 5 หลายเดือนก่อน +2

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

    • @CuriousScientist
      @CuriousScientist  5 หลายเดือนก่อน

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

  • @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.

  • @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☺

  • @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.

  • @Fantet-lh5wv
    @Fantet-lh5wv หลายเดือนก่อน

    Not working help pls

    • @CuriousScientist
      @CuriousScientist  หลายเดือนก่อน

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

  • @arlo8392
    @arlo8392 ปีที่แล้ว

    PЯӨMӨƧM 👀

  • @rumpelstiltskin449
    @rumpelstiltskin449 27 วันที่ผ่านมา +1

    Well, the software is complete trash tbh

    • @CuriousScientist
      @CuriousScientist  27 วันที่ผ่านมา

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