Project Files of OLED SH1106 Library for Proteus V1.0 (1.3 inch I2C + Arduino)
oled-sh1106-tep-v1-0-9153b92cc1a447a382146a8702c1fdfb.zip

OLED SH1106 Library for Proteus V1.0
OLED SH1106 Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.3 MB, 2.8 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware.
- LIBProteus library
- DLLProteus model
- DSNProteus simulation
- INOArduino sketch
- HEXHEX firmware
Description
This is the download page of OLED SH1106 Library for Proteus V1.0, the file package of the tutorial OLED SH1106 Library for Proteus V1.0 (1.3 inch I2C + Arduino), published on The Engineering Projects in October 2026. Here you get the ZIP file (1.3 MB) with the Proteus library files (LIB and IDX), the simulation model (DLL), a ready Proteus simulation, an Arduino sketch and the compiled HEX firmware, the list of files it contains, the README when there is one, and the installation steps in order.
What this library is
OLED-SH1106-Library-for-Proteus-v1.0.zip with the white and blue 1.3 inch I2C OLED SH1106 Simple and Advance (TEPOLEDSH1106.LIB and TEPOLED.DLL), our Arduino UNO V4.0 library with its built-in serial monitor (ArduinoV4TEP.LIB and TEPARDUINO.DLL), the two-UNO Adafruit SH110X dashboard simulation with its HEX file, the demo sketch and a README.
This is version 1.0; older or newer releases, when they exist, are listed in the Development tab.
What is inside the ZIP file
- ArduinoV4TEP.LIB – Proteus library, 201.9 KB
- TEPOLEDSH1106.LIB – Proteus library, 77.5 KB
- TEPARDUINO.DLL – Simulation model, 883.5 KB
- TEPOLED.DLL – Simulation model, 342.5 KB
- OLED-SH1106-ArduinoUnoV4.pdsprj – Proteus simulation, 22 KB
- OLED_SH1106_Demo.ino – Arduino sketch, 13.4 KB
- and 4 more, all listed in the File Structure tab
The archive unpacks to 2.8 MB and carries its own README (README.txt), shown in the README tab above.
How to download
Use the download panel at the top of this page: after the counter (30 seconds for guests, 10 for members) the black button unlocks and the ZIP file comes straight from our content network. If the browser opens it instead of saving, use Save as; extract the whole archive before using anything inside it.
How to install
- Step 1: Extract the ZIP file with Windows (Extract All), 7-Zip or WinRAR, keeping its folders.
- Step 2: Close Proteus and copy ArduinoV4TEP.LIB and TEPOLEDSH1106.LIB into its LIBRARY folder (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY).
- Step 3: Copy TEPARDUINO.DLL and TEPOLED.DLL into the MODELS folder next to it, so the part simulates.
- Step 4: Start Proteus, press P and search for "ArduinoV4TEP"; place and wire it as in the tutorial.
- Step 5: Open OLED_SH1106_Demo.ino in the Arduino IDE, pick board and port and Verify (Export Compiled Binary gives the HEX).
- Step 6: In Proteus set the controller's Program File to OLED_SH1106_Demo.hex; on hardware, flash the same file.
- Step 7: Open OLED-SH1106-ArduinoUnoV4.pdsprj in Proteus and press Play.
Read the detailed guide
This page is for the files. The full tutorial, OLED SH1106 Library for Proteus V1.0 (1.3 inch I2C + Arduino), explains the circuit and the code step by step and shows the working results and the simulation; read it before you build. Questions about the download or the installation go in the comments below; more Proteus downloads are listed further down this page.
File Structure
13.4 KB201.9 KB77.5 KB883.5 KB342.5 KB22 KB68.4 KB883.5 KB342.5 KB34 KBGallery12 images from the tutorialOpen the tutorial
The circuit, the board and the results as they appear in OLED SH1106 Library for Proteus V1.0 (1.3 inch I2C + Arduino). Open an image for its full size.












README
OLED SH1106 LIBRARY FOR PROTEUS - V1.0
Designed by The Engineering Projects
www.TheEngineeringProjects.com
IMPORTANT LINKS
Article (read it first - pictures, step by step, every feature explained):
https://www.theengineeringprojects.com/2026/10/oled-sh1106-library-for-proteus-v1-0.html
Report a bug or suggest a feature (our forum):
https://www.theengineeringprojects.com/forum/category/oled-proteus-library
The demo runs on our Arduino UNO V4.0 (included) - working LEDs, RESET and a
built-in serial monitor, no Virtual Terminal to wire - its own article:
https://www.theengineeringprojects.com/2026/10/arduino-uno-library-for-proteus-v40.html
The built-in monitor is our TEP Serial Monitor Advance - its own article:
https://www.theengineeringprojects.com/2026/10/serial-monitor-advance-proteus-library.html
The 0.96" OLED with the SSD1306 controller: our OLED SSD1306 Library for Proteus V1.0:
https://www.theengineeringprojects.com/2026/10/oled-ssd1306-library-for-proteus-v1-0.html
The 0.91" 128x32 OLED: our OLED 128x32 Library for Proteus V1.0:
https://www.theengineeringprojects.com/2026/10/oled-128x32-library-for-proteus-v1-0.html
Support us (the libraries are free):
https://www.theengineeringprojects.com/donate
FILE STRUCTURE
OLED-SH1106-TEP-v1.0/
|-- Proteus Library Files/
| |-- ArduinoV4TEP.LIB 201.9 KB TEP Arduino boards V4.0 (UNO) -> LIBRARY
| |-- TEPOLEDSH1106.LIB 77.5 KB the 4 OLED SH1106 devices -> LIBRARY folder
|-- Proteus Model Files/
| |-- TEPARDUINO.DLL 883.5 KB the Arduino board model -> MODELS folder
| |-- TEPOLED.DLL 342.5 KB the OLED model -> MODELS folder
|-- Proteus Simulation/
| |-- OLED_SH1106_Demo.hex 68.4 KB both UNOs (demo sketch V1.0)
| |-- OLED-SH1106-ArduinoUnoV4.pdsprj 22.0 KB demo: UNO 1 + Simple, UNO 2 + Advance
| |-- TEPARDUINO.DLL 883.5 KB copy of the board model
| |-- TEPOLED.DLL 342.5 KB copy of the model so the demo runs as is
|-- Arduino Code/
| |-- OLED_SH1106_Demo/OLED_SH1106_Demo.ino 13.4 KB the demo sketch (source of the .hex)
|-- README.txt ~34.8 KB this file
Total: 2.80 MB (unzipped). The C++ source code of the model is not included.
WHAT IS IT?
A simulation model of the 1.3" OLED display module for Proteus 8: the 128x64-
pixel OLED with the SH1106 controller on a 35 x 33 mm board with a 4-pin I2C
header printed VDD, GND, SCK, SDA - the bigger brother of the 0.96" OLED. Our
own model, not a symbol on top of Proteus's parts. It works with the Adafruit
SH110X library (Adafruit_SH1106G display(128, 64, &Wire, -1)), with the SH1106
driver of U8g2 and with any code that talks to an SH1106 over I2C:
* The I2C side as on the real module: the address 0x3C (or 0x3D), the
acknowledge on SDA (open-drain, released to the pull-up), the control byte
(0x00 = commands follow, 0x40 = data follows, single bytes with Co = 1),
command parameters even when they come in separate transactions, and the
clock measured (the SH1106 is rated for 400 kHz).
* The SH1106 controller itself, from its datasheet: its display RAM of 132 x
64 pixels (8 pages x 132 columns, one byte = 8 pixels down), PAGE
addressing only (the page with B0 - B7, the column with two nibbles 00 - 0F
and 10 - 1F; the column counts up after every byte and stops at 131, the
page never changes by itself), contrast, inverse, entire display on, display
on / off, start line, display offset, multiplex ratio, segment and COM
remap, the COM pads setting, the clock, pre-charge, VCOM, the DC-DC
converter (AD 8A / 8B - on after reset), the pump voltage (30 - 33) and
read-modify-write (E0 / EE).
* The 1.3" glass shows the RAM columns 2 to 129 (its 128 columns sit in the
middle of the 132). An SH1106 driver writes every page from column 2
(Adafruit_SH1106G and U8g2 do). A driver that writes from column 0 puts the
picture 2 pixels to the left, and the 2 columns on the right are never
written - the panel warns: PICTURE 2 PIXELS LEFT.
* The SH1106 is NOT an SSD1306: it has no addressing modes (20 / 21 / 22), no
charge pump command (8D) and no scrolling (26 - 2F). Run an SSD1306 library
on it and the chip skips those commands - the picture lands in page 0 only
and the rest of the glass keeps its random dots, as on a real 1.3" module
with the wrong library. The panel shows a red SSD1306 COMMANDS ON AN SH1106
banner and the Init check names the commands.
* The supply pins: this board's header is VDD GND SCK SDA - the power pins
are the other way round from the 0.96" board's GND VCC SCL SDA. Wired like
a 0.96" board, the panel shows SUPPLY REVERSED and the glass stays dark (a
real module can be damaged that way).
* The power-on RAM is random: until the first frame the glass shows dots, as
a real module does for a moment.
The part looks like the real module: the blue 35.4 x 33.5 mm board with its
four holes, the glass and the 4-pin header on top, drawn at TWICE the real size
so the 128x64 pixels stay readable on the schematic. While the simulation runs
the pixels glow in the glass colour and LEDs show what happens: PWR (power) and
I2C (a transaction to this address). The LEDs, the ADDRESS selector (0x3C /
0x3D), the SIMPLE / ADVANCE badge and the panel button are TEP additions; a real
module has no LEDs and sets the address with a resistor on the back (marked
0x78 = 0x3C, 0x7A = 0x3D).
FOUR DEVICES IN ONE LIBRARY (search "SH1106" in Pick Devices):
Simple, white device SH1106WHITETEP
Advance, white device SH1106WHITEADVTEP
Simple, blue device SH1106BLUETEP
Advance, blue device SH1106BLUEADVTEP
In Pick Devices each is called "OLED SH1106 128x64 V1.0 <colour> - Simple" or
"... - Advance".
Simple On-Sheet Panel: the OLED STATUS panel under the board - the banner
(READY - SH1106 128x64, I2C 0x3C, DISPLAY ON / WAITING FOR I2C /
WRONG ADDRESS / SSD1306 COMMANDS ON AN SH1106 - USE AN SH1106
DRIVER / DISPLAY OFF / DARK - THE DC-DC IS OFF / PICTURE 2 PIXELS
LEFT / MIRRORED or UPSIDE DOWN / SUPPLY REVERSED / NO POWER), the
readouts DISPLAY, DC-DC, CONTRAST, COLUMNS (the columns of the
newest page write: 2 - 129 for a whole page), START LINE, VDD, I2C
(the address and the clock), FRAME (the time one frame takes on the
bus), WRITES and IGNORED (commands the SH1106 does not have, and
bytes sent without power), and the last 6 transfers. The red X
closes the panel, PANEL: SHOWN / CLOSED on the board opens it again.
Advance Pop-Up Panel: only the module on the schematic; at Run a TEP pop-up
window "TEP OLED SH1106 Advance" opens - the look of the TEP Serial
Monitor. Tabs Display, Bus log and Tests; gear and ? icons for
Settings and Help; the palette icon switches the theme:
Display a big copy of the glass with GLASS Live / Freeze and
PIXEL GRID Off / On (x / y numbers - Adafruit GFX's
coordinates), the controller's state (display, DC-DC,
contrast, columns, orientation, multiplex, COM pads,
start line), the RAM as stored (132 columns, the 2 on
each side that are not on the glass marked), the
supply, frames and mapping, the latest transfers
Bus log every command (with its parameters) and every run of
data bytes: the time, the gap, CMD / DATA / POWER, the
bytes, what it means (an SSD1306 command in red);
filters All / Commands / Data / Problems, Pause, Clear
Tests four tools - Init check, I2C bus, Speed, Pixels (see THE
TEST TOOLS below)
Settings theme, text size, open at Run, window size
Help report a bug, suggest a feature, article, updates,
donate, forum; Copy diagnostics for a bug report
The OPEN PANEL button on the board opens the window again.
All four use the same model (TEPOLED.DLL), shared with our OLED SSD1306 0.96"
and OLED 128x32 0.91" V1.0 libraries.
CLICK THE BOARD (while the simulation runs)
ADDRESS selector 0x3C / 0x3D: the OLED answers the other address at once.
The sketch keeps its old address until you reset the
Arduino - the panel then says WRONG ADDRESS and the glass
keeps its last picture, as a real module would. Written to
the simulation log. The start value is the ADDRESS property.
PANEL / OPEN PANEL the status panel (Simple) or the pop-up (Advance).
TEST STATUS
V1.0: verified in Proteus 8.5 on 12 Oct 2026 (the demo project as shipped: two
Arduino UNO V4.0 boards with their built-in monitors and OLED2's pop-up open).
What the run showed:
* The project loads and starts cleanly; the simulation log has only
information lines (both UNOs: "built-in serial monitor on D0 / D1 - 9600
baud 8N1", supply pins 5.000 / 3.300 V; both OLEDs: SH1106 at I2C 0x3C /
0x3D, power on - SH1106 reset, display on - UPRIGHT, PAGE addressing,
contrast 255). ARD1's monitor prints "OLED found at 0x3C", ARD2's "OLED
found at 0x3D"; after the TEP logo the glasses show the dashboard.
* OLED1's panel: READY - SH1106 128x64, I2C 0x3C, DISPLAY ON; DISPLAY ON,
DC-DC ON, CONTRAST 255, COLUMNS 2 - 129, START LINE 0, VDD 5.00 V, I2C 0x3C
400k, WRITES counting, IGNORED 0.
* ARD1's monitor: HELP, STATUS ("Column offset 2 (right for the 1.3"
glass)"), OFFSET 0 - the picture moved 2 pixels left (the first letters
cut at the left edge, old pixels left in the 2 right columns), the amber
banner PICTURE 2 PIXELS LEFT and a log line; OFFSET 2 - READY again. ARD2's:
SCAN ("I2C devices: 0x3D"), MARQUEE ON (the text moves - about 6 redraws a
second on the UNO) and MARQUEE OFF.
* OLED2 (Advance): Display (COLUMNS 2 - 129, the RAM with its 132 columns and
the 2 + 2 columns that are not on the glass marked) with the pixel grid;
Bus log; Init check - every row green and one amber row (Adafruit's begin()
switches the display on before the first frame, so the random power-on RAM
shows for a moment): SH1106 commands (0x20 skipped - the SH1107's memory
mode, harmless), DC-DC ON (AD 8B), column offset OK (columns 2 - 129), 64
rows (A8 3F), ALTERNATIVE (DA 12), UPRIGHT (A1 + C8), contrast 255, display
on 169.7 ms after power-on; I2C bus - 0x3D, up to 31 data bytes per
transaction, the address checks of the sketch's search and of SCAN, SCK
400 kHz; Speed - 38.9 ms per full frame (min 38.86, max 38.94), at best 26
frames a second, the panel refresh 87.6 Hz; Pixels (x 0, y 25 = page 3,
column 2, bit 1, Adafruit buffer[384]).
* The ADDRESS selector moved to 0x3D at Run: the red banner WRONG ADDRESS -
THE SKETCH WRITES TO 0x3C, THIS OLED IS 0x3D, the glass keeps its last
frame; moved back: READY. OLED1's panel closed with its red X and opened
with PANEL; OLED2's pop-up closed and opened again with OPEN PANEL.
* All four devices ran (the white Simple + blue Advance of the demo, and the
blue Simple + white Advance in a test copy).
* The 0.96" demo's HEX (Adafruit_SSD1306) on these OLEDs: random dots with a
dark stripe at the top, the red banner SSD1306 COMMANDS ON AN SH1106 - USE
AN SH1106 DRIVER, and the Init check red on the driver (the SSD1306
commands counted and named: 8D charge pump, 21 / 22 windows, 2E) - as a
real 1.3" module with the wrong library.
* A test copy with node 1 wired like a 0.96" board (VDD to GND, GND to VCC):
the red banner SUPPLY REVERSED, the VDD readout REVERSED, the glass and the
PWR LED dark, a log line, and ARD1's monitor "No OLED found - check SDA
(A4), SCK (A5), VDD".
* Our published OLED SSD1306 0.96" and OLED 128x32 0.91" demos run unchanged
on this TEPOLED.DLL.
* Speed: about 0.4 x real time with both monitors and the pop-up open, on a
busy PC (the published 0.91" demo ran at the same speed in the same
session; the OLED model itself takes about 5 % of the time - the rest is
the two simulated ATmega328P).
Plus automatic checks on a PC, 0 failed: 57 with the REAL demo sketch and the
UNMODIFIED Adafruit SH110X 2.1.15 + Adafruit GFX 1.12.6 + Adafruit BusIO
1.17.4 talking bit by bit (400 kHz) to the model - the glass equals
Adafruit's own buffer after every frame (the logo, the dashboard, shapes,
the bar, the wave, inverse, contrast, the marquee, finding a 0x3D board), and
OFFSET 0 showing the picture 2 pixels left and flagged; 38 on the SH1106
controller (its datasheet commands byte by byte, and the 0.96" demo with
Adafruit_SSD1306 on it - the random-dots picture checked byte by byte); 168
of the earlier OLED tests (the SSD1306 path unchanged), the pop-up pages
rendered; the demo project read back from disk (97 checks: devices, pins,
wires, labels, no wire crossing).
INSTALLATION (about 2 minutes)
1. Close Proteus. Extract the WHOLE ZIP to a normal folder (e.g. Desktop).
2. Copy everything in "Proteus Library Files" (TEPOLEDSH1106.LIB with the four
devices and our Arduino library V4.0, ArduinoV4TEP.LIB, with the ARDUINO UNO
V4.0 used by the demo) to the LIBRARY folder of Proteus, for example:
C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY
(on some PCs: C:\ProgramData\Labcenter Electronics\Proteus 8 Professional\
LIBRARY - use the folder that already holds Proteus's own .LIB files).
3. Copy TEPOLED.DLL and TEPARDUINO.DLL from "Proteus Model Files" to the
MODELS folder (...\Proteus 8 Professional\MODELS). TEPOLED.DLL is shared
with our OLED SSD1306 0.96" and OLED 128x32 0.91" libraries and runs their
devices too - if you have them, keep this (newer) one. ArduinoV4TEP.LIB and
TEPARDUINO.DLL are the files of our Arduino Library V4.0 - if you have it,
they are the same.
4. Delete TEPOLEDSH1106.IDX from the LIBRARY folder if there is one (Proteus
makes a new index).
5. Start Proteus. In Pick Devices (P) search "SH1106": you get the four devices
(category Optoelectronics > Graphical LCDs).
RUN THE DEMO
"Proteus Simulation\OLED-SH1106-ArduinoUnoV4.pdsprj" - keep the .hex file and
the two DLLs beside the project.
ARD1: Arduino UNO V4.0 + OLED1 = white Simple 1.3" OLED at 0x3C.
ARD2: Arduino UNO V4.0 + OLED2 = blue Advance 1.3" OLED at 0x3D.
Both UNOs run OLED_SH1106_Demo.hex - the same sketch finds either address -
and each has its serial monitor built in (window "TEP Arduino UNO - ARD1" /
"- ARD2").
1. Press Run. Both UNOs' monitor windows open (9600 baud) and so does OLED2's
pop-up (move them aside - they open over the schematic). The UNOs' ON
LEDs light and the sketch starts: the OLEDs show the TEP logo for a
second, then the dashboard - the address, the up time and the frame count
on top, "Hello, TEP" in big letters, a moving sine wave; each monitor
prints the start lines with the address found. (The UNO's RESET button
restarts the sketch through the bootloader: L flashes 3 times, the sketch
starts 1 s later.)
2. Type the commands in the monitors (Enter sends): STATUS, TEXT Hi there!,
OFFSET 0 (then OFFSET 2) on ARD1; SCAN, MARQUEE ON, SHAPES, DASH on ARD2 -
see THE DEMO SKETCH below. TX / RX on the UNOs flash with every line.
3. OLED1: close the panel with its red X, open it with PANEL on the board;
click the ADDRESS selector to see WRONG ADDRESS (click again to go back).
4. OLED2 (Advance): Display (try Freeze and the pixel grid), Bus log, and
Tests - Init check, I2C bus, Speed, Pixels (click a pixel).
Closed a monitor window? Click the UNO's USB port.
WIRING (the same in Proteus and on a real board)
OLED pin Arduino UNO
VDD 5V (or 3.3V)
GND GND
SCK A5 (SCL)
SDA A4 (SDA)
In the sketch:
#include <Adafruit_SH110X.h>
Adafruit_SH1106G display(128, 64, &Wire, -1); // width, height, bus, no reset
display.begin(0x3C, true); // the address, reset
display.setTextColor(SH110X_WHITE); // SH110X_WHITE, not SSD1306_WHITE
(the demo sketch tries 0x3C, then 0x3D, and uses what answers).
The serial monitor needs no wires: it is built into the Arduino UNO V4.0 (it
listens to D1 and drives D0 inside the board, like the USB chip of a real UNO).
On the UNO, SDA / SCL are also on the top header next to AREF (the same pins as
A4 / A5): the demo uses those. Every OLED pin reaches its UNO through a short
wire with a net label - SDA_1 / SCL_1 (node 1), SDA_2 / SCL_2 (node 2), VCC and
GND: the same name = connected. (The board calls its clock pin SCK; on I2C it
is the SCL line.)
REAL HARDWARE:
* Check the pin order printed on YOUR module: most 1.3" boards are VDD GND SCK
SDA, some are GND VDD SCK SDA - swapped supply pins can kill the module.
Do not copy the wiring of a 0.96" board (GND VCC SCL SDA) without checking.
* Most 1.3" 128x64 modules use the SH1106. If yours shows random dots with an
SSD1306 library, it is an SH1106: use Adafruit SH110X (Adafruit_SH1106G) or
U8g2 (U8G2_SH1106_128X64_NONAME_F_HW_I2C). A few 1.3" modules use the
SSD1306 (or the SSD1309) - then the SSD1306 library is right.
* Nothing on the screen: run an I2C scanner (or the demo's SCAN). Most
modules are 0x3C; the back says 0x78 (= 0x3C) or 0x7A (= 0x3D).
* Adafruit_SH1106G keeps the picture in RAM (1 KB): on an UNO (2 KB RAM) keep
your own variables small - display.begin() returns false when there is no
room (keep text in flash with F("...")). The demo uses 785 bytes plus the
1 KB buffer.
* The SH1106 cannot scroll by itself: move the picture in the sketch (the
demo's MARQUEE does).
* The module has its own regulator and SDA / SCL pull-ups; it runs from 3.3 V
and from 5 V. 400 kHz I2C is fine (Adafruit uses it while sending a frame).
* OLED pixels age: a static picture shown for months can burn in. Turn the
display off (or dim it) when nobody looks.
THE TEST TOOLS (Advance, Tests tab) - what they really measure
Every tool reads the bus as the model sees it during the running simulation;
each shows one "Good for:" line and a verdict per row (green = fine, amber =
check, red = wrong).
Init check Good for: random dots, a picture 2 pixels off, a dark or
mirrored OLED - is the driver an SH1106 one? The start-up since
power-on against the SH1106 datasheet: the first command
(display off), the driver (SH1106 commands only, or the SSD1306
commands it sent), the DC-DC, the column offset, the multiplex
ratio and COM pads (right for this glass: 64 rows, ALTERNATIVE
DA 12), the orientation (A1 + C8 = upright on this module), the
contrast, display on (and when), whether the RAM was written
before the display came on, a verdict, and the start-up as the
sketch sent it. (Adafruit_SH1106G also sends 20 10, the SH1107's
memory mode: the SH1106 skips it - harmless, shown as such.)
I2C bus Good for: a dark OLED - the wrong address, SDA / SCK swapped,
the clock and Wire's 32-byte buffer. This OLED's address (and
its address resistor), the address the sketch writes to (a red
line when it is not this one), command and data transactions
since Start, the data bytes per transaction (Wire sends at most
31 after the 0x40 control byte), the address checks (a scanner
/ auto-detect), the SCK clock (measured, rated 400 kHz) and the
last transactions with their bytes.
Speed Good for: slow animations - one full frame is 1024 bytes; at
100 kHz it takes four times as long as at 400 kHz. The time per
frame on the bus (a frame = the pages one display() sends,
ending with page 7), the best frame rate possible, what the
sketch really sends, how busy the bus is, the clock, and the
panel's own refresh rate.
Pixels Good for: drawing code and bitmaps - click a pixel on the small
glass: its RAM page, column and bit (the RAM column = x + 2),
the byte the RAM holds (with all 8 bits and the 16 bytes around
it), its place in Adafruit's buffer and the drawPixel() line.
THE DEMO SKETCH ON THE SERIAL MONITOR (OLED_SH1106_Demo V1.0)
HELP the command list
STATUS the address, the screen, the text, the lower part, contrast
/ inverse / marquee / display, the column offset, the
frames sent
SCAN every I2C device on the bus (0x08 - 0x77)
TEXT <text> the big line (up to 21 characters; 10 fit at size 2)
SIZE <1-3> its text size
MARQUEE ON|OFF the text moves across the glass - the sketch redraws it
(the SH1106 has no scroll commands)
GRAPH a moving sine wave in the lower part
BAR <0-100> a bar in the lower part
LOGO the TEP logo (drawBitmap)
SHAPES rectangles, circles, a triangle, lines and a frame round
the whole glass (Adafruit GFX)
DASH the dashboard again
INVERT ON|OFF inverse (the controller inverts, the RAM stays)
CONTRAST <0-255> the brightness (Adafruit_SH1106G starts at 255)
DISPLAY ON|OFF the panel on / off (the RAM is kept)
OFFSET 0|2 the column the pages start at: 2 = right for the 1.3"
glass (display()), 0 = what a driver without the offset
does - the picture 2 pixels to the left (the sketch sends
the pages itself with Wire)
CLEAR an empty screen (DASH brings the dashboard back)
Commands are not case-sensitive; type them in the UNO's built-in monitor and
press Enter.
The dashboard is redrawn twice a second (10 times with MARQUEE ON); each redraw
sends the changed columns of the pages (Adafruit_SH1106G keeps a "dirty" window
and sends nothing for a still screen).
EXPECTED MONITOR OUTPUT (ARD1)
OLED SH1106 V1.0 demo - The Engineering Projects
OLED found at 0x3C
Type HELP for the commands
STATUS:
OLED SH1106 128x64 at 0x3C, found
Screen: dashboard
Text: Hello, TEP (size 2)
Lower part: sine wave
Contrast 255, inverse off, marquee off, display on
Column offset 2 (right for the 1.3" glass)
Frames sent: 54
OFFSET 0:
OK - column offset 0
The picture now sits 2 px left (OFFSET 2 fixes it)
SCAN (ARD2):
I2C devices: 0x3D
Without any OLED on the bus (or with VDD / GND swapped):
No OLED found - check SDA (A4), SCK (A5), VDD
PROPERTIES (double-click the part > Edit Properties)
PANEL Simple devices only: the STATUS panel at the start, OPEN or
CLOSED (default OPEN)
ADDRESS the I2C address: 0x3C (default) or 0x3D. The selector on the
board follows it.
Every run starts again from the properties; the selector changes the address
for the run. A bad value is logged and 0x3C used. The panel style and the glass
colour are chosen by the device. The demo's UNOs (ARDUINO UNO V4.0): PROGRAM
OLED_SH1106_Demo.hex, MONITOR YES (the built-in monitor), BAUD 9600, AUTOOPEN
YES, BOOTLOADER YES.
LINKS.INI (OPTIONAL)
The Help page cards of the Advance devices open web pages. To point them
somewhere else without a new DLL, put a text file named links.ini next to
TEPOLED.DLL with lines KEY=URL, for example:
ARTICLE=https://www.theengineeringprojects.com/...
Keys: WEBSITE, FORUM, BUG_REPORT, FEATURE_REQUEST, ARTICLE, USER_GUIDE,
UPDATE_CHECK, DONATE. Only http://
…Development1 release
-
V1.0OLED SH1106 Library for Proteus V1.0this page
V1.0 is the only release in the Download Center so far. When a newer version is published, it appears above with its own download page.
Installation8 steps
From the download to a working project, in order. The steps follow what the package contains.
You will need
- Proteus Design SuiteProteus 8 or newer (Labcenter), on Windows
- Arduino IDE1.8 or 2.x, with the board of the tutorial chosen under Tools → Board
- Any archive toolWindows, macOS and Linux extract ZIP files on their own
Steps
- 1
Extract the archive
Right-click oled-sh1106-tep-v1-0-9153b92cc1a447a382146a8702c1fdfb.zip and choose Extract All (or open it with 7-Zip or WinRAR) into a folder you can find again. Keep its folder structure (OLED-SH1106-TEP-v1.0) as it is.
- 2
Copy the library files into Proteus
Move ArduinoV4TEP.LIB and TEPOLEDSH1106.LIB and the files into the LIBRARY folder of your Proteus installation: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY for Proteus 8, or the matching Proteus 7 folder. Older versions keep it under ProgramData\Labcenter Electronics. If Proteus is open, close it first.
- 3
Add the simulation model
Copy TEPARDUINO.DLL and TEPOLED.DLL into the MODELS folder next to LIBRARY, so the component can run, not only be drawn.
- 4
Restart Proteus and place the component
Start Proteus, open a schematic, press P (Pick Devices) and search for the component by the name used in the tutorial. It appears with its pins ready to wire.
- 5
Open the sketch in the Arduino IDE
Open OLED_SH1106_Demo.ino, select your board and port under Tools, then Verify. Sketch → Export Compiled Binary writes the HEX file a simulation needs.
- 6
Load the HEX file
In Proteus double-click the microcontroller, set Program File to OLED_SH1106_Demo.hex and run the simulation. For real hardware, flash the same file with your programmer.
- 7
Open the example simulation
Open OLED-SH1106-ArduinoUnoV4.pdsprj in Proteus to see the wiring exactly as in the tutorial. Check the controller's Program File path, then press Play.
- 8
Follow the tutorial
OLED SH1106 Library for Proteus V1.0 (1.3 inch I2C + Arduino) explains every connection and setting in order; keep it open beside the files while you build.
FAQs9 questionsContact TEP
How do I download OLED SH1106 Library for Proteus V1.0?
Wait for the 30-second guest countdown on this page, then press the download button; the file comes straight from our storage. Members who are logged in skip the wait. If the browser opens the file instead of saving it, use its Save as option. The download link is made for you when the countdown ends and works for 15 minutes; a saved or shared link stops working, so share this page instead.
What is inside the archive?
OLED SH1106 Library for Proteus V1.0 comes as a ZIP archive of 10 files (1.3 MB, 2.8 MB unpacked) holding Proteus library files, simulation model DLLs, a Proteus simulation, an Arduino sketch and compiled HEX firmware. Open the File Structure tab for the full list of 10 files.
What should I do if the download does not start?
Check the browser's download list first; an ad blocker or a company firewall can also hold it back, so try another browser or network. If the file arrives incomplete, download it again. For an installation problem, read the Install tab or tell us in the comments with your software version and the exact error message.
Is this file free?
Yes. Every file in the TEP Download Center is free for learning, personal and student projects. If you share it, link back to this page or the tutorial so others find the latest version.
How do I check that the file arrived complete?
Compare its SHA-256 with the one on this page, 71da26d53a1951ead81e05b749c93762f338d0dd106275f0317eae98c9177232. In PowerShell run Get-FileHash "oled-sh1106-tep-v1-0-9153b92cc1a447a382146a8702c1fdfb.zip"; on macOS or Linux run shasum -a 256 "oled-sh1106-tep-v1-0-9153b92cc1a447a382146a8702c1fdfb.zip". The same value means the file is exactly the one in our storage; a different one means the download broke off, so download it again.
Do I need WinRAR to open the ZIP file?
No. Windows, macOS and Linux open ZIP archives on their own (Extract All, or double-click). WinRAR and 7-Zip work too. Extract the whole archive before using the files.
Where do I put the LIB and IDX files?
Both files go into the LIBRARY folder of your Proteus installation (Proteus 8: C:\Program Files (x86)\Labcenter Electronics\Proteus 8 Professional\LIBRARY; Proteus 7 has the same folder under its own name). Restart Proteus afterwards and search for the component with P.
Which Proteus version does the library need?
The tutorial names the Proteus version the library was made and tested with. Most TEP libraries work in Proteus 7 and Proteus 8; if the component does not appear after a restart, check that both the LIB and the IDX file were copied and that Proteus was fully closed while copying.
How do I get the HEX file into the simulation?
Compile the sketch in the Arduino IDE (Sketch → Export Compiled Binary gives you the HEX next to the sketch), then in Proteus double-click the board, set Program File to that HEX and run.
Members skip the wait. Log in or join TEP.
- 19Total downloads
- 4%Popularity
- ProteusCategory
- 0Comments
- ssyedzainnasirUploaded by
- 12 Oct 2026Uploaded at
71da26d53a1951ead81e05b749c93762f338d0dd106275f0317eae98c9177232



















Comments
0