WeMos/Lolin 128x64 IIC I2C OLED Module (HCWEMO0019)

Wemos ESP8266 based development boards and shields
Post Reply
admin
Site Admin
Posts: 866
Joined: Sun Aug 05, 2012 4:02 pm

WeMos/Lolin 128x64 IIC I2C OLED Module (HCWEMO0019)

Post by admin » Mon Feb 27, 2023 4:47 pm

Image

***COMMING SOON***



The Wemos/Lolin OLED module is a tiny 128x64 pixel low power OLED display with a screen size measuring just 0.96". It is based on the common and well supported SSD1306 controller and uses an I2C interface (default address = 0x3D) for communication. It is primarily intended for use with Wemos/Lolin development boards, in particular Wemos D1 mini boards that feature the Lolin I2C port header.

PLEASE NOTE: To connect this module to a development board you will need a Wemos SHT1.0 JST 4 pin cable which is sold separately to this display. See Hobby Components item SKU: HCWEMO0020



Features

Screen Size: 		128x64 pixels (0.96” Across)
Operating Voltage:	3.3V
Driver IC: 			SSD1306 (I2C Address: 0x3D or 0x3C)



Pins

LOLIN I2C Port



Example Sketch

  1. #include <Wire.h>               // Only needed for Arduino 1.6.5 and earlier
  2. #include "SSD1306Wire.h"        // legacy: #include "SSD1306.h"
  3.  
  4. SSD1306Wire display(0x3D, SDA, SCL);
  5.  
  6. void setup()
  7. {
  8.   // put your setup code here, to run once:
  9.  
  10. }
  11.  
  12. void loop()
  13. {
  14.   display.init();
  15.  
  16.   display.flipScreenVertically();
  17.   display.setFont(ArialMT_Plain_10);
  18.  
  19.   display.clear();
  20.  
  21.   // Font Demo1
  22.   // create more fonts at http://oleddisplay.squix.ch/
  23.   display.setTextAlignment(TEXT_ALIGN_LEFT);
  24.   display.setFont(ArialMT_Plain_10);
  25.   display.drawString(0, 0, "Hello world");
  26.   display.setFont(ArialMT_Plain_16);
  27.   display.drawString(0, 10, "Hello world");
  28.   display.setFont(ArialMT_Plain_24);
  29.   display.drawString(0, 26, "Hello world");
  30.  
  31.   display.display();
  32.  
  33.   delay(1000);
  34.  
  35.   display.clear();
  36.   display.display();
  37.  
  38.   delay(1000);
  39. }


Image

Schematic

sch_oled_0.96_v1.0.0.pdf

Dimensions
dim_oled_0.96_v1.0.0 (1).pdf

Arduino Library
The latest version of the library can be downloaded from the Wemos github page here:

https://github.com/wemos/esp8266-oled-ssd1306





Libraries, example code, and diagrams are provided as an additional free service by Hobby Components and are not sold as part of this product. We do not provide any guarantees or warranties as to their accuracy or fitness for purpose.

Descriptions and diagrams on this page are copyright Hobby Components Ltd and may not be reproduced without permission.
You do not have the required permissions to view the files attached to this post.

Post Reply

Return to “WeMos”