This is the 0.95 inch 96X64 RGB 65K OLED Display module, driven by SSD1331 via SPI2 Interface distributed by Waveshare. These device is mainly runs on SSD1331 a single chip CMOS OLED/PLED driver at 288 segment and 64 common output supports up to 96RGB x 64 dot matrix display. SSD1331 chip is designed for common cathode type panel and embedded graphic display data RAM or GDDRAM it supports with 8, 9, 16 bits 8080/6800 parallel interface as well as serial peripheral interface and 256 step contrast and 65K color control logic. This device is suitable used for Mobile Phones, Radio, Mp3 Player, Mp4 Player, Automotive, Home Appliance, and Industrial devices.
Required Components
- Arduino Microcontroller, NodeMCU, Teensy Board, TeensyDuino, ESP8266 12, 12E, ESP8266 NodeMCU, ESPDuino, ATMEGA328 16/12, ATMEGA32u4 16/8/ MHz, ESP8266, ATMEGA250 16 MHz, ATSAM3x8E, ATSAM21D, Raspberry Pi, STM32 (Note: The Diagram below is using NANO. (please refer to the respective pin-outs)
- SPI 0.95 inch RGB display module
- Jumper Wires / DuPont Wires
- Solder Less Bread Board (Optional)
Wiring Guide
Source Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
#include <SPI.h> #include <Wire.h> #include "ssd1331.h" //Lobrary can be downloaded below #define WIDTH 96 // Set Width Size #define HEIGHT 64 // Set Height Size #define PAGES 8 // Set Page to 8 #define OLED_RST 9 // Set pin REST to MCU Reset Pin #define OLED_DC 8 // Set pin DC tot MCU Pin D8 #define OLED_CS 10 // Set pin CS to MCU Pin D10 #define SPI_MOSI 11 // connect to the DIN pin of OLED #define SPI_SCK 13 // connect to the CLK pin of OLED uint8_t oled_buf[WIDTH * HEIGHT / 8]; void setup() { /*EXECUTE ONES*/ Serial.begin(9600); Serial.print("14CORE | OLED RGB TEST CODE\n"); Serial.print("Initializing..... "); delay(4000); SSD1331_begin(); //Set start SSD1331 Initialize SSD1331_clear(); //Set to clear OLED Screen Display SSD1331_mono_bitmap(0, 0, waveshare_logo, 96, 64, BLUE); /* display an image of bitmap matrix */ delay(2000); SSD1331_clear(); SSD1331_mono_bitmap(0, 2, Signal816, 16, 8, GOLDEN); SSD1331_mono_bitmap(19, 2, Msg816, 16, 8, GOLDEN); SSD1331_mono_bitmap(38, 2, Bluetooth88, 8, 8, GOLDEN); SSD1331_mono_bitmap(52, 2, GPRS88, 8, 8, GOLDEN); SSD1331_mono_bitmap(66, 2, Alarm88, 8, 8, GOLDEN); SSD1331_mono_bitmap(80, 2, Bat816, 16, 8, GOLDEN); // Set string display color SSD1331_string(0, 52, "14CORE", 12, 0, WHITE); SSD1331_string(64, 52, "TEST", 12, 1, WHITE); /* Set to display strings 32x16 */ SSD1331_char3216(0,16, '1', BLUE); SSD1331_char3216(16,16, '2', BLUE); SSD1331_char3216(40,16, ':', RED); SSD1331_char3216(64,16, '3', GREEN); SSD1331_char3216(80,16, '4', GREEN); } void loop() { } |
Downloads
- Download 0.95 – 96×64 RGB OLED Display Module Code Library | Zip
- Download 095 inch Schematics Diagram | PDF
- Download 0.95″ Product Manual | PDF
- Download SSD1331 Datasheet | PDF
Guide Wiring the 0.95 inch 96×64 RGB OLED Display Module