Closed wchpikus closed 5 years ago
Can you test the ST7565 device?
Yes i can.
Great. Then please use the ST7565 driver with your display.
Hi What exactly i have to use? It is loot of st7565;).. C12864?
What exactly i have to use?
You have to test by yourself. Try one ofter the other until you find a constructor which fits. You could also compare the init sequence of your display (which has to be provided by the display vendor) with the init sequence in U8g2, but I think this is even more time consuming compared to just try all of the constructors.
ok, now i testing all st7565 sw spi.. any of them no results... connected ok, with JLX1926 my soft works ok . screen from ks0713.
scrren from connection of lcd.
i try to find this addresses in library:
where to looking for? Arduino\libraries\U8g2\src\clib u8x8_d_st7565.c?
Let us verify that you did the setup correctly: Which U8g2 constructor did you use? Please provide one example, including the setup with your pins. How did you connect the Arduino Board with the display? Which wire goes to which pin? Maybe provide a picture of the setup?
What is JLX1926? I am confused.
Yes, u8x8_d_st7565.c includes all the different variants.
Ok i use esp8622 with the same software pins (miso,cs,reset etc ) for driving JLX1926. So i use the same pins to connect to this lcd. Connected this way:
U8G2_ST7565_JLX12864_F_4W_SW_SPI u8g2(U8G2_R0, / clock=/ 14, / data=/ 13, / cs=/ 15, / dc=/ 4, / reset=/ 5); //new lcd
//U8G2_UC1604_JLX19264_F_4W_SW_SPI u8g2(U8G2_R0, / clock=/ 14, / data=/ 13, / cs=/ 15, / dc=/ 4, / reset=/ 5);
Connect to pins 4,5,14,15,16 in lcd. Tested with osciloscope and signals connected.
This is one of the constructors,the last of 7565.. This esp works well with this jlx lcd,so i do not change any hardware pins but only connect new lcd for existing lines. It can be broken ( lcd), i can not confirm ( i have only one).
Hmm... I am a library author. I resources to support wiring problems are limited. I can do a review, but then you have to provide all information. At the moment this issue looks like this to me:
Let me give you a final example: After my questions you provide the following call:
U8G2_ST7565_JLX12864_F_4W_SW_SPI u8g2(U8G2_R0, / clock=/ 14, / data=/ 13, / cs=/ 15, / dc=/ 4, / reset=/ 5); //new lcd
And you say:
Connect to pins 4,5,14,15,16 in lcd.
What does this mean? Is ESP pin 14 connected to pin 4 of your LCD? If so, then this seems to be wrong according the datasheet you provided above. But actually the information how pins are connected is still missing: You did NOT answer my question about how pins are connected.
And also consider this: I do not get money here, I have to spend my personal resources to support you. It is not very time efficient if I have to repeat questions and ask for every bit of information.
ok connection of lcd.
"Connect to pins 4,5,14,15,16 in lcd." it is no one by one corresponding to driver, this is only pinout which was connected,
Connection: LCD => esp8622 1 VSS ground 2 VDD 3,3V 4=>gpio 13 (D7) Mosi 5=> gpio14 (D5) Clock 14=> gpio4 (D2) data/command 15=>gpio 5 (D1) reset 16=>gpio15 (D8) chip select
"Finally your provide extra information like JLX1926. This is confusing. I still do not know what you mean by JLX1926. I also do not know why this is related to your problem." if i connect JLX1926 on this place and configure ino file lcd ( JLX1926) working ok, so this is no wiring problem I think.
"And also consider this: I do not get money here, I have to spend my personal resources to support you. It is not very time efficient if I have to repeat questions and ask for every bit of information." Sorry, i understand you, i will write more details next time, i promise:)
ok, nice mapping table. It also seems to be correct.
One more thing needs to be checked: Is the display configured for SPI serial mode?
For this, you have to set the PS input of the display to low (see your datasheet). However I do not see a display pin for this. So there must be a solder bridge for this on the display module PCB. Although you send a lot of pictures a complete picture of the display module PCB side is not there.
As an alternative: You could try to run the display in 8080 or 6800 mode to see whether it works.
Hello. I need to use spi ( no free gpio for this), but it can be done for test. I thing about that and it can be hardware setup only for 8080 mode..i make some picture of pcb..but as you wrote,no pin for that (PS). Later i will send more pictures.
but as you wrote,no pin for that (PS).
As I said, there probably is a solder bridge or a resistor which has to be changed.
it could be this...
Or this R1 resistor.
Ps..yes,this resistor is pullup pin 15 (PS) and this soldering place is set to pulldown.
Hmmm so closing J3 should put the display into SPI mode?
i connect them together now (pin15) is now pull-down..i thing so..
i try this one: http://www.techdesign.be/projects/042/042.htm
it is the same pinout...
i have to compare with this init sequence:
dt_lcd_write_command(0xe2); // reset dt_lcd_write_command(0xa0); // ADC select: normal dt_lcd_write_command(0xc0); // SHL select: dt_lcd_write_command(0xb2); // LCD bias select: dt_lcd_write_command(0x2c); // Voltage converter ON dt_lcd_write_command(0x2e); // Voltage regulator ON dt_lcd_write_command(0x2f); // Voltage follower ON dt_lcd_write_command(0x25); // Regulator resistor select 0x20..0x27 dt_lcd_write_command(0x81); // Reference voltage register set dt_lcd_write_command(0x18); // Reference voltage 0..63 dt_lcd_write_command(0x40); // initial display line 0x40..0x7f dt_lcd_write_command(0xaf); // display ON
u8x8_d_st7565_dogm128??
You have to test this display. Basically your display is 64128E. U8g2 has a constructor for the 64128N: U8G2_ST7565_64128N_F_4W_SW_SPI. So you have to test which one fits. First of all you need to be able to see at least something. Please also look from the side, the graphics might be very dimm.
For now no results...dark all the time (empty screen),only harwdare reset i see.
Hmm... I am running out of ideas.
hmmm.. no solution? Closing for now. Feel free to reopen...
No,sorry, no success to run with this lcd. I tested with new oled ssd and works ok.
ok...
hi is it possible to add support for this driver? https://docs-emea.rs-online.com/webdocs/07ee/0900766b807ee715.pdf KS0713 Regards