Replies: 23 comments 19 replies
-
Currently I "only" have ESP8266 support for the Arduino framework implemented. I builds for a whole bunch of different Arduino targets, including a D1-Mini. [env] [env:ESP8266_d1_mini] So this currently builds for an EVE3-50G, uses the standard pins for SPI (whatever these are on the D1-mini), According to the image I just found the SPI connects as: What a schematic for this setup looks like depends on what BT816 display you actually have, You probably can't use the 3V3 regulator on the ESP8266 board to power the display as well. |
Beta Was this translation helpful? Give feedback.
-
hello. could you give some simple example for testing under arduino ide. I want to connect such a display to bt 816 https://pl.aliexpress.com/item/32780373416.html?spm=a2g0o.cart.0.0.68de3c00eqSBTw&mp=1 |
Beta Was this translation helpful? Give feedback.
-
Will such an example be appropriate for the test? #include <EVE.h> uint8_t rez = 255; void setup() { rez = EVE_init(); analogWrite(BLPWM ,1000); EVE_cmd_dl(CMD_DLSTART); void loop() { |
Beta Was this translation helpful? Give feedback.
-
Thanks for the help I have costakiego for this display. Will this example of what I gave you apart from configuring the cs pin will work. I need some post example on arduino I am going to check communication esp8266 with bt 816. What the config file should look like with the selected display EVE_TK035F5581_RTP |
Beta Was this translation helpful? Give feedback.
-
Ok.Thanks for the help |
Beta Was this translation helpful? Give feedback.
-
Hi. Can this display work with your library https://www.buydisplay.com/4-6-inch-color-bar-tft-lcd-iot-display-800x320-pixels-with-optl-touch-screen. If so, how should the file look like EVE_ config.h |
Beta Was this translation helpful? Give feedback.
-
thank you |
Beta Was this translation helpful? Give feedback.
-
Hello. Can this software work on this display https://en.aliexpress.com/item/32780373416.html?spm=a2g0o.cart.0.0.68de3c00eqSBTw&mp=1 with your libraries for bt816 #define EVE_CS D8 uint8_t rez = 255; void setup() { analogWrite(BLPWM ,1000); EVE_cmd_dl(CMD_DLSTART); } // put your main code here, to run repeatedly: LCD.cpp #include "LCD.h" void LCD_delay(uint16_t time) static void LCD_Reset(void) void LCD_WriteByteSPI(unsigned char dat) for (n = 0; n < 8; n++) void SPI_WriteData(uint16_t tem_data) SPI_WriteComm(0xB4); SPI_WriteComm(0xB0); SPI_WriteComm(0x20); SPI_WriteComm(0x36); SPI_WriteComm(0xB3); SPI_WriteComm(0xc0); SPI_WriteComm(0xc1); SPI_WriteComm(0xc4); SPI_WriteComm(0xc6); SPI_WriteComm(0xc8); SPI_WriteComm(0xC9); SPI_WriteComm(0xCA); SPI_WriteComm(0xD0); SPI_WriteComm(0xD1); SPI_WriteComm(0x11); SPI_WriteComm(0x36); LCD.h #include"Arduino.h" #define LCD_RGB_ORIENTATION 1 void Lcd_Initialize(void); |
Beta Was this translation helpful? Give feedback.
-
This is a test program I want to display the background in one color to check if bt is controlling this display |
Beta Was this translation helpful? Give feedback.
-
it is for this display.this display works properly with the TK499 board |
Beta Was this translation helpful? Give feedback.
-
this display works correctly on this firmware https://megawrzuta.pl/download/6a44b6b322582d185832f3e7fd40bca4.html. |
Beta Was this translation helpful? Give feedback.
-
this display works correctly on this firmware https://megawrzuta.pl/download/6a44b6b322582d185832f3e7fd40bca4.html. |
Beta Was this translation helpful? Give feedback.
-
It seems to me that for proper work it is also necessary to control after sleep with esp 8266 This is probably done on this tk499 module. I noticed during the measurements with the oscilloscope that the pclk mileage has a frequency of 21mhz, vsync 113hz and hsync 57.1khz, these are values about 2 times larger than on the same pins of the display connected to the bt816 board. The order of the rgb signals is consistent |
Beta Was this translation helpful? Give feedback.
-
I had another look. From the timing informations the R61529 should have a maximum WRX_SCL clock of 10MHz while the ILI9488 and HX8357 go up to 15MHz. Interesting but it's not like I am really getting anywhere. SPI_WriteComm(0x3A); This is setting the DPI and DBI pixel formats to 24 bit. And MIPI DPI appears to be the normal TFT parallel pixel interface that the EVE chips are using. However, assuming that the sequence in your code is correct, the ported version should generate SPI_WriteComm(0xB4); -> 0 1011 0100 |
Beta Was this translation helpful? Give feedback.
-
So it can't be done |
Beta Was this translation helpful? Give feedback.
-
Will any config in your library be able to work with this display https://pl.aliexpress.com/item/32639735669.html.This 3.5 inch display I was able to run n from your libraries only in the main code you had to initialize bt816 earlier and then the display itself thanks for your help |
Beta Was this translation helpful? Give feedback.
-
this display works on this driver https://community.nxp.com/pwmxy87654/attachments/pwmxy87654/imx-processors/115314/1/LG4573A_DS_V1.1.5.pdf |
Beta Was this translation helpful? Give feedback.
-
does it mean that it is enough to connect its inputs rgb and vsync, hsync, de, pclk with analogous outputs from bt 816 the display should work if it has the correct config file |
Beta Was this translation helpful? Give feedback.
-
Thank you for the information, I will try to run the second display, if I can, I will let you know. How to display a logo on the display. You could enter some simple code for esp826 or point to a page where such examples can be found |
Beta Was this translation helpful? Give feedback.
-
Thank you, Mie rather, it was about a code that would be part of another code because I wanted to do in this display that I started to do so that after running for some time the logo would be displayed. Instead of a uniform background, there was a logo |
Beta Was this translation helpful? Give feedback.
-
I have such a display https://www.alibaba.com/product-detail/4-inch-TFT-Screen-3-99_1600444067823.html?spm=a2700.shop_plgr.89.12.4b6832deYoSkAC . I managed to work it on the 480x800 configuration But nir reproduces colors correctly. Just like in the picture. Works on the RGB 16 bit interface. What could be the cause of the wrong work. I am attaching my code and display data. How would you see it |
Beta Was this translation helpful? Give feedback.
-
This is interesting. I see the function Lcd_Initialize() in your example package but decoding it to find out what parameters you use is something I rather not spend my evening with. :-) What are your values for HSIZE, HCYCLE, HOFFSET, HSYNC0 and HSYNC1? I would try something like this: I looked for other displays using 960 x whatever to check for timing parameters but I found close to nothing. |
Beta Was this translation helpful? Give feedback.
-
Hello. I'm starting to play with Bt816. Could you please tell me how to connect bt816 to esp 8266, maybe some schematic and if you need to change something in your library files under ESP8266. How could you ask for some simple software for esp 8266 to check if it works properly. How to add a new display type to your config
Beta Was this translation helpful? Give feedback.
All reactions