Patient: GM128-59N VER:2.0 128x64pixels i2c lcd module
Diagnosis: The backlight turns on when connected to power however would not display anything. When using the i2c scanner demo from the arduino ide it also only says "No i2c devices found" which might be the main problem.
Current Hardware: I have removed the D1, R2, R1, and D2 from the back of the board as per advice of someone from an aliexpress post, of course such efforts only gave nothing but false hope.
This are the current codes that I have been trying to run
//
// 128X64 I2C ST7567S COG Graphic Display ARDUINO
//
// https://www.youtube.com/c/LeventeDaradici/videos
// the display was bought from here: https://www.aliexpress.com/item/1005004617618178.html
// short review: https://satelit-info.com/phpBB3/viewtopic.php?f=172&t=3338
//
#include <U8g2lib.h>
#include <Wire.h>
U8G2_ST7567_ENH_DG128064I_F_SW_I2C u8g2(U8G2_R0, SCL, SDA, U8X8_PIN_NONE);
void setup(void)
{
u8g2.setI2CAddress(0x3F * 2);
u8g2.begin();
u8g2.clearBuffer(); // clear the internal memory
u8g2.setFont(u8g2_font_ncenB08_tr);
//u8g2.setFont(u8g2_font_cu12_tr);
u8g2.drawStr(0, 10, "Hello World!"); // write something to the internal memory
u8g2.sendBuffer(); // transfer internal memory to the display
}
void loop(void)
{
}
and also this one
#include <U8g2lib.h>
#include <Wire.h>
U8G2_ST7567_ENH_DG128064I_1_HW_I2C u8g2(U8G2_R0, SCL, SDA, U8X8_PIN_NONE); // LCD GRANDE
int x = 0;
void setup()
{
u8g2.setI2CAddress(0x3F * 2);
u8g2.setBusClock(400000);
u8g2.begin();
Serial.begin(9600);
}
void loop()
{
u8g2.firstPage();
do {
u8g2.clearBuffer();
u8g2.setFont(u8g2_font_ncenB14_tr);
u8g2.setCursor(25, 23);
u8g2.print(x);
} while ( u8g2.nextPage() );
Serial.println(x);
x = x +1;
if (x > 500)
{
x=0;
}
}
I myself have only slight knowledge when it comes to coding in arduino (though I do have a basic sense for syntax and whatnot) but nothing much when it comes to the u8g2 library, these codes are taken from the internet and have only been slightly modified for personal testing. And yes my wiring is correct (I think...) and I'll just upload an image of it just to be sure. SDA (yellow) connects to A4, SCL (green) to A5, GND to GND and VCC to 3.3v (I have also tried switching it to 5v)
I hope this may provide enough intel to gather any ideas of what might be the problem and any possible solutions, thank you and have a good day to you all.


