<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.jw-tech.eu/index.php?action=history&amp;feed=atom&amp;title=WSAL10451_%E2%80%93_1.3inch_OLED_%28B%29%2Fen</id>
	<title>WSAL10451 – 1.3inch OLED (B)/en - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.jw-tech.eu/index.php?action=history&amp;feed=atom&amp;title=WSAL10451_%E2%80%93_1.3inch_OLED_%28B%29%2Fen"/>
	<link rel="alternate" type="text/html" href="https://wiki.jw-tech.eu/index.php?title=WSAL10451_%E2%80%93_1.3inch_OLED_(B)/en&amp;action=history"/>
	<updated>2026-10-23T21:52:04Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in JW Tech Wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.jw-tech.eu/index.php?title=WSAL10451_%E2%80%93_1.3inch_OLED_(B)/en&amp;diff=1624&amp;oldid=prev</id>
		<title>JWTechPublisher: Freigegebene technische Dokumentation veröffentlicht; Text-only und noindex</title>
		<link rel="alternate" type="text/html" href="https://wiki.jw-tech.eu/index.php?title=WSAL10451_%E2%80%93_1.3inch_OLED_(B)/en&amp;diff=1624&amp;oldid=prev"/>
		<updated>2026-09-05T22:33:36Z</updated>

		<summary type="html">&lt;p&gt;Freigegebene technische Dokumentation veröffentlicht; Text-only und noindex&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOINDEX__&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Documentation notice:&amp;#039;&amp;#039;&amp;#039; This technical documentation was independently rewritten from an archived supplier source. Check technical details and commands against the product version and manufacturer documentation before use.&lt;br /&gt;
&lt;br /&gt;
== Summary ==&lt;br /&gt;
Concise technical guide for the Waveshare 1.3inch OLED (B): specifications, pinout, interface configuration and usage with Raspberry Pi, STM32 or Arduino.&lt;br /&gt;
&lt;br /&gt;
== Related products at JW Tech ==&lt;br /&gt;
* [https://shop.jw-tech.eu/p/WSAL10451 WSAL10451 – 1.3inch OLED (B)]&lt;br /&gt;
&lt;br /&gt;
== Technical overview ==&lt;br /&gt;
* Resolution 128×64 pixels; driver chip SH1106; display size approx. 14.7 mm (H) × 29.42 mm (V); pixel pitch 0.21 mm; module dimensions 40.5 × 37.5 mm.&lt;br /&gt;
* Operating voltage 3.3 V / 5 V; operating temperature −30…+70 °C, storage −30…+80 °C; viewing angle &amp;amp;gt;160°; display color blue.&lt;br /&gt;
* Interfaces: 3-wire SPI, 4-wire SPI and I²C; selected via two resistors BS0/BS1 on the back of the module.&lt;br /&gt;
* Factory default: 4-wire SPI (BS0=0, BS1=0). For 3-wire SPI: BS0=1, BS1=0. For I²C: BS0=0, BS1=1.&lt;br /&gt;
* I²C address: with DC tied to GND, the 7-bit address is 0x3C.&lt;br /&gt;
* Raspberry Pi wiring: VCC→3.3 V, GND→GND, DIN→SPI MOSI / I²C SDA (BCM D2), CLK→SPI SCLK / I²C SCL (BCM D3), CS→CE0 (D8), D/C→GPIO.6 (D25), RES→GPIO.2 (D27).&lt;br /&gt;
* Enabling SPI/I²C on Raspberry Pi: run sudo raspi-config → Interfacing Options → enable SPI or I²C, then reboot.&lt;br /&gt;
* On Bookworm only the lgpio library is available; bcm2835 and WiringPi cannot be installed there.&lt;br /&gt;
* C demo invocation: cd c &amp;amp;amp;&amp;amp;amp; sudo make clean &amp;amp;amp;&amp;amp;amp; sudo make -j 8, then sudo ./main 1.3 for this module.&lt;br /&gt;
* Python demo: cd python/example &amp;amp;amp;&amp;amp;amp; sudo python3 OLED_1in3_test.py (or python2).&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Commands and examples – verify before use:&amp;#039;&amp;#039;&amp;#039; &lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
sudo raspi-config&lt;br /&gt;
sudo reboot&lt;br /&gt;
sudo apt-get install wiringpi&lt;br /&gt;
wget https://github.com/joan2937/lg/archive/master.zip&lt;br /&gt;
unzip master.zip&lt;br /&gt;
cd lg-master&lt;br /&gt;
sudo make install&lt;br /&gt;
sudo apt-get update&lt;br /&gt;
sudo apt-get install python3-pip&lt;br /&gt;
sudo apt-get install python3-pil&lt;br /&gt;
sudo apt-get install python3-numpy&lt;br /&gt;
sudo pip3 install spidev&lt;br /&gt;
sudo apt-get install python3-smbus&lt;br /&gt;
sudo apt-get install p7zip-full&lt;br /&gt;
sudo wget https://files.waveshare.com/upload/2/2c/OLED_Module_Code.7z&lt;br /&gt;
7z x OLED_Module_Code.7z&lt;br /&gt;
cd OLED_Module_Code/RaspberryPi&lt;br /&gt;
cd c&lt;br /&gt;
sudo make clean&lt;br /&gt;
sudo make -j 8&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes and version constraints ==&lt;br /&gt;
* The exact BS0/BS1 resistor soldering pattern must be verified against the datasheet before soldering.&lt;br /&gt;
* The program defaults to SPI mode; switching to I²C requires editing DEV_Config.h – a version-sensitive step.&lt;br /&gt;
* With STM32, the I²C demo uses bit-banged (analog) I²C; adjust the wiring accordingly.&lt;br /&gt;
* Reverse-connecting the power supply can damage the module; verify polarity before powering on.&lt;br /&gt;
* Displaying the same image for extended periods causes burn-in and damages the OLED; rotate displayed content.&lt;br /&gt;
* If the screen stays dark after power-on, program control is required; without software commands the display will not light up.&lt;br /&gt;
&lt;br /&gt;
== Source and revision record ==&lt;br /&gt;
* [https://www.waveshare.com/wiki/1.3inch_OLED_(B) 1.3inch OLED (B) - Waveshare Wiki]&lt;br /&gt;
* Source revision: 110135&lt;br /&gt;
* Captured: 2026-08-29T10:03:04+00:00&lt;br /&gt;
* SHA-256: &amp;lt;code&amp;gt;4cd94394b25150dbec4aca976f2a27c14965e092b399937b50ad192bd7343500&amp;lt;/code&amp;gt;&lt;/div&gt;</summary>
		<author><name>JWTechPublisher</name></author>
	</entry>
</feed>