DWIN Display Tutorials #2 - Transmitting float and int numbers between the display and an Arduino

Поделиться
HTML-код
  • Опубликовано: 25 янв 2023
  • In this video, I continue my series on the DWIN displays. I already published a video on these displays, but that video was more of a general introduction and overview. Here, we go deeper and I show you how to work with these displays in a detailed way.
    If you like the content, please consider becoming my supporter on Patreon:
    / dwin-display-2-77786052
    Don't forget to visit my website where I posted an article about the process I show in the video: curiousscientist.tech/blog/dw...
    If you want to buy the display or other parts for your electronics projects, please consider using my affiliate links:
    curiousscientist.tech/tools
  • НаукаНаука

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

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

    Hi man, thanks for the video. Can we when sending a text and floats control the colour and the font of the displayed text?

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

      Hi! Sure, you just have to modify the values under the correct VP address.

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

    Hello,
    This is very useful video for beginner at Dwin display. I have a problem for send data from my own controller cart to dwin 5inc. When I want send data, dwin doesnt response. In this time I am continue send data for ex i, i+1, i+2, i+3 etc... Dwin show me 20. data, which I send. I added some delay nearly 1 second. My baudrate 9600. I saw my data packet on logic analizer. Everything seems okey. What should be reason? Could you help me?

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

      Hi!
      It is hard to say anything without seeing your full setup and code. Break down your code to smaller pieces and make it work step-by-step until you reach the desired end result.

  • @user-ii3tk2vx6s
    @user-ii3tk2vx6s Год назад +1

    The discrepancy of float is due to float representation error, not the garbage. The powers-of-two row (which represents float) cannot match the whole span of float numbers. So some of them are rounded to closest available representation/

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

      Thank you for the additional information! I learned something new.

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

    Hello,
    I found this video very helpful.
    But the one issue i am facing is the baud rate.
    When i upload the code i get the value on Arduino serial monitor. But they are showing some extra characters.
    And the second issue is that when i want to upload the CFG file which is generated for changing the default baud rate.
    I want to change the baud rate from 115200 to 9600
    The dwin display become black..
    Any guidance will be appreciated.

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

      Hi! What do you mean by "some extra characters"? Regarding the baud rate, it is hard to know why it goes bad for you. Do you do the _exact same_ things that I do in the video?

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

    Hello, could you help me in a project with the dwin screen and Arduino?

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

    Hi can i get the arduino sketch from this video thanks

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

      Hi! Sure, it is on my Patreon for my supporters. Alternatively, you can copy it while following the video.

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

      @@CuriousScientist Thanks, all worked well

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

      Glad to hear! Cheers!

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

    Sir how to connect Arduino with dwin display please can you explain steps

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

      It is on the playlist and on my website. Check them.

  • @omaromar1953
    @omaromar1953 9 месяцев назад +1

    I'm doing exactly as you, but how to tell dwin to force buffer[3]=0x82 or buffer[3]=0x83 when im reading or writing?

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

      I don't understand what you mean, sorry.

    • @omaromar1953
      @omaromar1953 9 месяцев назад

      @@CuriousScientist i have the same code as you, but my data is corrupted i can’t understand the reason… can you take a look please?

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

      Sorry, I can't do more for you than in the provided video and resources.

    • @omaromar1953
      @omaromar1953 9 месяцев назад

      @@CuriousScientist maybe i can pay

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

      I can not rely on a "maybe".

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

    Dear
    I am getting issue when i work on dgus and define all numbers and while preview it does not take input value nd dont blink point and dont ahow value on screen

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

      Hi! The preview mode in DGUS is not too reliable. Upload the code to the display for testing.

    • @user-sl1xp3cn8b
      @user-sl1xp3cn8b 5 месяцев назад

      Yes you are rite it is working on HMI
      But not showing input value on numpad screen

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

      Check again your code against mine. You can see that in my demonstration everything works.

  • @snehawagh3729
    @snehawagh3729 9 дней назад

    how to transmit typing numbers to serial monitor from dwin display without pressing enter

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

      It is explained in my videos, and articles. Please check them.