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 Наука
Hi man, thanks for the video. Can we when sending a text and floats control the colour and the font of the displayed text?
Hi! Sure, you just have to modify the values under the correct VP address.
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?
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.
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/
Thank you for the additional information! I learned something new.
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.
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?
Hello, could you help me in a project with the dwin screen and Arduino?
Hi! I guess you forgot to describe the issue.
Hi can i get the arduino sketch from this video thanks
Hi! Sure, it is on my Patreon for my supporters. Alternatively, you can copy it while following the video.
@@CuriousScientist Thanks, all worked well
Glad to hear! Cheers!
Sir how to connect Arduino with dwin display please can you explain steps
It is on the playlist and on my website. Check them.
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?
I don't understand what you mean, sorry.
@@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?
Sorry, I can't do more for you than in the provided video and resources.
@@CuriousScientist maybe i can pay
I can not rely on a "maybe".
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
Hi! The preview mode in DGUS is not too reliable. Upload the code to the display for testing.
Yes you are rite it is working on HMI
But not showing input value on numpad screen
Check again your code against mine. You can see that in my demonstration everything works.
how to transmit typing numbers to serial monitor from dwin display without pressing enter
It is explained in my videos, and articles. Please check them.