Professional LCD and Touch Manufacturer / Design Solution

2.4 tft lcd with i2c module(s)

Hello!
In this short note, I will show you how I am using the I2C bus on this tft LCD.
Required parts :-Arduino Uno-2. 4 TFT LCD-
For example, DS3231-some wires -female pins-
Welding and soldering iron-
As you know, the SPFD5408 tft is a 240×320 pixel display that can easily connect most Arduino boards and work with most boards.
It uses 8 numbers, 5 simulations, 2 power supplies, and 1 ground pin.
In my oppinion, the display is very handy because it is OK just to insert and use it.
The only thing that bothers me is that one of the I2C bus lines is the most commonly used Display (A4)
For reset function.
But after last night, I found a solution to the case.
The solution I found was that I needed to remove the shielded reset pin and connect it with the arduinos reset pin with a small wire.
I don\’t mind removing the pin because my monitor is a bit defective and has to fix it before using it.
Earlier, when I searched online, I found a video on youtube.
In this video, arduino has the same display as the DS3231 RTC module.
I would really like to re-make the same clock, but no parts to make it.
So I put the case on hold until yesterday and didn\’t make it until I worked for an hour.
Added another sketch for the McuFriend Library.
The video can be found here: Sketch: I did not write a sketch.
Modified it only to meet my needs! !
The original settings and sketches don\’t work for me.
So I added a few lines of code souch as these libraries: including spfd5408_adafuit_gfx.
Hinclude SPFD5408_Adafruit_TFTLCD.
Hinclude spfd5408_touch screen.
This library will drive our presentation.
It must work with the ili93 20/25/28/40/41 TFT drive chip.
Next is to declare analog pin output: define LCD _ cs 3 define LCD _ cd 2 define LCD _ wr a1 define LCD _ rd 03 define LCD _ Reset 1 Reset can be commented as we will not
We need 3 more lines in void (setup)
: Reset the settings tft LCD driver chip ID manually.
Replace to start RTC.
I have 1 compilation error: No Exit status 1 \”drawing\” is declared in this range \”. Normally, copy and paste into the new tab with no errors. Problem solved!
This setting may also work with the McuFriend library, but not sure because I haven\’t tried it.
No more than 30 minutes of preparation and assembly time.
Therefore, cut off the shield reset pin and weld it with the Arduino reset pin.
Reduce 4 or 6 parent pins and use small pieces of pcb. Connect (solder)
RTC pin of Arduino board (correctly)
Several wires.
Upload the sketch and you are ready.
You have a very precise Arduino clock.
So it took me a while to figure this out (
Because of my stupidity.
But the end result is good.
With this simple modification, you can now connect (multiple)
I2C and regular sensors connect to the Arduino board in a \”little sacrifice\” manner and expand the possibilities of the project you want to do.
I think this will be the goal of several Arduino gadgets I have planned with a programmer friend.
The only limit is our imagination.
You are done and use it as you wish!
I hope you find it useful to help people who face the same problem. Have a good day.

    Custom Message

    Related Posts

    25家显示产业链企业亮相CES2023:Mini/Micro LED、卷曲OLED、投影……

    2023年CES展会将于1月5日在拉斯维加斯拉开帷幕,参展商中的323家企业来自世界500强公司,全球科技巨头LGD、三星、友达、TCL华星、索尼、华硕、夏普、元太、技嘉、TCL、大众、宝马等将带来丰富的创新成果。本届CES展会涵盖的重要主题包括可持续性、数字健康、Web3与元宇宙以及人类安全等。 LGD:发布第三代OLED电视面板 LG电子展览馆入口处,连接260片OLED柔性标牌的超大型雕塑“OLED地平线”吸引了游客的目光。 LG Display在美国拉斯维加斯举行的世界最大家电、IT展示会CES 2023上公布了使用新技术“META Technology 1.0”的第三代OLED电视面板。 当地时间1月4日,LG-Display发布的新产品采用了革新技术“META Technology 1.0”,比现有亮度(屏幕亮度)提高了60%,视角扩大了30%。改善OLED亮度和视角局限性的“Meta Technology”将超微镜头和亮度增强算法相结合,将OLED的光释放最大化,能效提高约22%。 据LG Display透露,第三代OLED电视面板将现有的1300尼特(nit,1nit是一支蜡烛的亮度)水平的峰值亮度大幅提高到2100尼特(HDR标准),体现了OLED电视面板中最亮的画面。 另外,通过被称为“微透镜阵列”(MLA)的超微透镜,克服了无法提高亮度的局限性。此前,有机发光层产生的大量光因面板内部反射无法向外照射而无法提高亮度,但在肉眼看不见的大小凹凸不平的镜片图案上沉积了自己发光的有机物,最大限度地提高了光的释放。 第三代OLED电视面板每像素精密制作5117个(77英寸4K标准)、共424亿个微透镜,将内部反射的光线发射到外部,可以实现此前没有体验过的明亮画面。 同时,就像蜻蜓以数百万个凸起的复眼结构观看360度一样,通过数百亿个微透镜提供现有电视中最宽的视角。将屏幕正面亮度的角度扩大到160度,比之前改善30%,无论从哪个角度都能实现准确的影像。 LG Display表示,今年量产的4K 55、65、77英寸和8K 77、88英寸等高端OLED电视面板将优先采用“META Technology 1.0”,今后将扩大到全部阵容,计划以此加强高端电视市场内OLED的主导权。 LG Display大型事业部专务李贤宇表示:“超差距技术‘META

    2.4 tft lcd with i2c module(s)

    Hello!In this short note, I will show you how I am using the I2C bus on this tft LCD.Required parts :-Arduino Uno-2. 4 TFT LCD-For

    Shopping Cart