SPECIFICATIONS |
| ||||||||||||||||||||||||||||||||||||||||||||||
module |
1.3” SSH1106 Screen |
| |||||||||||||||||||||||||||||||||||||||||||||
Module Size |
35.3mm x 31-3mm-33.5mm (stock dependant) x 11.5mm (including header pins) |
| |||||||||||||||||||||||||||||||||||||||||||||
Pixels |
128x64 |
| |||||||||||||||||||||||||||||||||||||||||||||
Supply Voltage |
3.3-5v |
| |||||||||||||||||||||||||||||||||||||||||||||
Default I2C Address |
0x3C |
| |||||||||||||||||||||||||||||||||||||||||||||
Operating Temperature Range |
-30 °C to +70 °C |
| |||||||||||||||||||||||||||||||||||||||||||||
Ultra-low power consumption |
Full screen lit 0.08W (0.06W typically with screen full of characters) |
| |||||||||||||||||||||||||||||||||||||||||||||
Colour Options |
White / Blue |
| |||||||||||||||||||||||||||||||||||||||||||||
Viewing Angle |
>160 ° |
| |||||||||||||||||||||||||||||||||||||||||||||
|
Super High Contrast and Brightness (Adjustable) |
| |||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||
WHAT’S INCLUDED? |
| ||||||||||||||||||||||||||||||||||||||||||||||
1 x 1.3” 128x64 SSH1106 OLED Display Module (Colour and connection option as selected at time of purchase)Please Note: Although these boards do adhere to the written description on my listing, there can sometimes be minor differences between batches (e.g. Oval rather than round screw holes, 6 or 7 pin SPI, differing order of pins, etc). I have included a number of examples in my listing photos. If you have any specific requirements, then please message me before purchasing. |
| ||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||
INSTRUCTIONS |
| ||||||||||||||||||||||||||||||||||||||||||||||
Recent eBay policy changes prevent me from including links in this listing to external sites where you can find useful information and download tested code libraries and drivers for Windows and the Apple Mac. However, in compliance with eBay’s new policy, I now provide full details of these links in your order confirmation email, which will be sent within 2 working days of purchase. To operate this module, you
will need to download the ‘Arduino IDE’
and the ‘Adafruit SH1106 Code Library’. 6 or 7-Wire SPI
Connection Please Note: These modules come with either 6 or 7 pins depending on stock at time of purchase. The only difference is that the 6-pin version does not have a dedicated Reset (RES) pin, but otherwise functions exactly the same.Prior to powering up the development board and OLED module, make the following connections (I have tested these on the Arduino Uno, Nano, Pro-Mini and Mega 2560):
Thereafter, power up the development board and OLED module,
upload your code and watch and see!
|
OLED Pin |
Arduino Pin |
Arduino Mega 2560 Pins |
Use |
VCC |
5v |
5v |
Power Supply |
GND |
GND |
GND |
Ground |
SDA |
A4 |
SDA 20 |
Serial Data |
SCL |
A5 |
SCL 21 |
Serial Clock |
EXAMPLE ARDUINO CODE
#include <Adafruit_SH1106.h>
//Define SPI Connections:
#define OLED_MOSI 9
#define OLED_CLK 10
#define OLED_DC 11
#define OLED_CS 12
#define OLED_RESET 13
//Remove comments (//) if using SPI connection:
Adafruit_SH1106 display(OLED_MOSI, OLED_CLK, OLED_DC, OLED_RESET, OLED_CS);
//Add comments (//) if using SPI connection:
//Adafruit_SH1106 display(OLED_RESET);
void setup()
{
Serial.begin(9600);
display.begin(SH1106_SWITCHCAPVCC, 0x3C);
display.clearDisplay();
display.setTextSize(2);
display.setTextColor(WHITE);
display.setCursor(0,0);
display.println("Welcome to");
display.setTextSize(2);
display.println("Karen's");
display.setTextSize(3);
display.println("e-Shop");
display.drawLine(0, 59, 127, 59, WHITE);
display.drawCircle(63, 59, 4, WHITE);
display.display();
}
void loop()
{
}