https://startingelectronics.org/tutorials/arduino/modules/OLED-128x64-I2C-display/
https://randomnerdtutorials.com/guide-for-oled-display-with-arduino/
https://www.youtube.com/watch?v=PrIAnDZ9dp8
https://lastminuteengineers.com/oled-display-esp32-tutorial/
Strong contrast through the use of the innovative OLED technology in the wide 0.96-inch display!
Due to the high resolution of 128x64 pixels, the display offers plenty of space to show elements!
Easy connection of the display with Arduino, Raspberry Pi and Co. by I2C interface via only four Pins!
Thanks to the Standard Controller (SSD 1306), libraries for Arduino, Raspberry Pi and Co. are already available, which makes programming very easy!
I2C ADDRESS BIT SHIFT
The OLED has a solder jumper at the back for configuring the I2C address.
When jumper is set to default setting of 0x78, use 0x3C in code
When jumper is set to 0x7A, use 0x3D in code
The reason for these contradicting addresses are the way Arduino interprets I2C addresses. By default, I2C use 7-bit addresses, but Arduino converts that to an 8-bit value by shifting the bits one position to the left. So, the SSD1306 datasheet says that the slave address is a 7-bit code that can be either 0x3C (0011-1100) or 0x3D (0011-1101), based on the SAO bit (set to hardware jumper). For Arduino:
0x3C (0011-1100) is shifted 1 bit right, and becomes 0x78 (0111-100)
0x3D (0011-1101) is shifted 1 bit right, and becomes 0x7A (0111-1010)
https://www.letscontrolit.com/forum/viewtopic.php?p=22817#p22818
https://drive.google.com/file/d/1Lri36HntSCUaWyiFp8AQp7NFcezpNYh_/view
This is great LCD display compatible with arduino. With limited pin resources, your project will quicly run out of resources using normal LCDs. With this I2C interface LCD module, you only need 2 lines (I2C)to display the information.If you already have I2C devices in your project, this LCD module actually cost no more resources at all. The adress can be set 0x27.
#include
#include
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup()
{
lcd.init(); // initialize the lcd
lcd.init();
// Print a message to the LCD.
lcd.backlight();
lcd.setCursor(3,0);
lcd.print("Hello, world!");
lcd.setCursor(2,1);
lcd.print("keyestudip!");
}
void loop()
{
}