<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[New Adafruit generic OLED display driver for Raspberry PI]]></title><description><![CDATA[<p dir="auto">After some years of using my SSD1306 library driver on Raspberry Pi, I needed to get it working with the new more and more popular 1.3″ I2C OLED driver that we can find for some bucks on Chinese ebay sellers.… <a href="http://hallard.me/adafruit-oled-display-driver-for-pi" target="_blank" rel="noopener noreferrer nofollow ugc">Continue Reading</a></p>
<p dir="auto"><strong>Click <a href="http://hallard.me/adafruit-oled-display-driver-for-pi/" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> to see the full blog post</strong></p>
]]></description><link>https://community.ch2i.eu/topic/36/new-adafruit-generic-oled-display-driver-for-raspberry-pi</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 04:06:45 GMT</lastBuildDate><atom:link href="https://community.ch2i.eu/topic/36.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 19 Jun 2015 21:31:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Sun, 06 Jan 2019 14:31:48 GMT]]></title><description><![CDATA[<p dir="auto">I followed the steps just like Bob did and im still getting the "cannot find -li2c" error. Honestly i don't see why i need I2C anyways since everything i wanna do is test an SPI display...</p>
]]></description><link>https://community.ch2i.eu/post/2659</link><guid isPermaLink="true">https://community.ch2i.eu/post/2659</guid><dc:creator><![CDATA[Tim]]></dc:creator><pubDate>Sun, 06 Jan 2019 14:31:48 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Tue, 18 Dec 2018 13:51:52 GMT]]></title><description><![CDATA[<p dir="auto">I still can't make it work. Have cloned your files and replaced the bcm2835.c and bcm2835.h with the new ones as well as replaced the ArduiPi_OLED.cpp and the makefile in the original ArduiPi_OLED directory with your ones but still i get the /usr/bin/ld: cannot find -li2c error.  Any ideas - what am I doing wrong please.  (Raspberry Pi 3 with Stretch fresh install then followed hallard instructions, then replaced files you mention).  Many thanks.</p>
]]></description><link>https://community.ch2i.eu/post/2647</link><guid isPermaLink="true">https://community.ch2i.eu/post/2647</guid><dc:creator><![CDATA[Bob]]></dc:creator><pubDate>Tue, 18 Dec 2018 13:51:52 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Fri, 14 Dec 2018 16:11:26 GMT]]></title><description><![CDATA[<p dir="auto">... i fixed the problem with sh1106 (128x64) spi. The -li2c error is also be fixed.<br />
I added the 2 changed files to github. I spend a lot of time to find the error - but now it's working <img src="https://community.ch2i.eu/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=4874f384ba0" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /><br />
Here the github-link: <a href="https://github.com/alex-graf/ArduiPi_OLED_sh1106" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/alex-graf/ArduiPi_OLED_sh1106</a></p>
]]></description><link>https://community.ch2i.eu/post/2640</link><guid isPermaLink="true">https://community.ch2i.eu/post/2640</guid><dc:creator><![CDATA[alex-graf]]></dc:creator><pubDate>Fri, 14 Dec 2018 16:11:26 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Fri, 20 Apr 2018 15:16:16 GMT]]></title><description><![CDATA[<p dir="auto">Having rebuilt my Stretch OS deploy, and not done an apt-get upgrade/update. The process of installing the dependencies has worked. However, compilation of ArduiPi_OLED fails because ld can't find -li2c<br />
Others reporting the issue on GitHub have used the debian .deb file for libi2c0 but this causes all my i2c applications (i2ctools) to fail with invalid instruction.<br />
Where should I be installing the library for i2c from?<br />
libi2c-dev and i2ctools are successfully installed.</p>
]]></description><link>https://community.ch2i.eu/post/2449</link><guid isPermaLink="true">https://community.ch2i.eu/post/2449</guid><dc:creator><![CDATA[paulfo]]></dc:creator><pubDate>Fri, 20 Apr 2018 15:16:16 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Mon, 13 Mar 2017 13:06:58 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">So as far as I understand, there is no way to use this driver with a <strong>SH1106 <em>SPI</em> 128x64</strong> ?<br />
That's a real shame, and I can't find any other rasppi drivers.</p>
<p dir="auto">If someone could help, that would be great,<br />
Regards</p>
]]></description><link>https://community.ch2i.eu/post/2177</link><guid isPermaLink="true">https://community.ch2i.eu/post/2177</guid><dc:creator><![CDATA[snapx12]]></dc:creator><pubDate>Mon, 13 Mar 2017 13:06:58 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Sun, 06 Nov 2016 16:57:16 GMT]]></title><description><![CDATA[<p dir="auto">Hi Charles,</p>
<p dir="auto">is it possible to hook multiple screens up to the Rasberry Pi?</p>
<p dir="auto">I have 8 SSD 1306 7pin SPI that I would like to hookup.</p>
<p dir="auto">best,</p>
<p dir="auto">D</p>
]]></description><link>https://community.ch2i.eu/post/1848</link><guid isPermaLink="true">https://community.ch2i.eu/post/1848</guid><dc:creator><![CDATA[dennischrist]]></dc:creator><pubDate>Sun, 06 Nov 2016 16:57:16 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Wed, 02 Nov 2016 06:19:11 GMT]]></title><description><![CDATA[<p dir="auto">Hi Charles,</p>
<p dir="auto">I am looking to use a 128x96 16-bit color OLED for my project using the SSD1351 controller. Could you help me understand</p>
<ol>
<li>What changes would be needed to your 1306 driver to make it work for the SSD1351</li>
<li>Would you have some kind of reference code for that ?</li>
<li>How would the wiring look like ?</li>
</ol>
<p dir="auto">Whatever help/direction you could offer would be much appreciated. I was thinking of trying out your raspberry pi example for 1306 and start making changes from that point. Not sure if thats the right approach or should I go straight to the 1351.</p>
<p dir="auto">Regards<br />
Shyam</p>
]]></description><link>https://community.ch2i.eu/post/1829</link><guid isPermaLink="true">https://community.ch2i.eu/post/1829</guid><dc:creator><![CDATA[shyamvnarayanan]]></dc:creator><pubDate>Wed, 02 Nov 2016 06:19:11 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Mon, 17 Oct 2016 10:48:57 GMT]]></title><description><![CDATA[<p dir="auto">hello,<br />
if I am using your lib in my own programs I always need sudo to start them.<br />
How can I make them executable by every user (e.g., standard user pi) ?</p>
]]></description><link>https://community.ch2i.eu/post/1772</link><guid isPermaLink="true">https://community.ch2i.eu/post/1772</guid><dc:creator><![CDATA[tito]]></dc:creator><pubDate>Mon, 17 Oct 2016 10:48:57 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Mon, 12 Sep 2016 14:03:59 GMT]]></title><description><![CDATA[<p dir="auto">Any solution for the problem that the screen is freezing?<br />
The display is working fine with the Python script we found <a href="https://github.com/the-raspberrypi-guy/OLED" target="_blank" rel="noopener noreferrer nofollow ugc">here</a> so that can't be the problem. The Raspberry Pi is a Raspberry Pi 3.</p>
<p dir="auto">Thank you for your support.</p>
]]></description><link>https://community.ch2i.eu/post/1711</link><guid isPermaLink="true">https://community.ch2i.eu/post/1711</guid><dc:creator><![CDATA[yanniks]]></dc:creator><pubDate>Mon, 12 Sep 2016 14:03:59 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Fri, 12 Aug 2016 18:50:34 GMT]]></title><description><![CDATA[<p dir="auto">think I got it:</p>
<p dir="auto">// Oled supported display in ArduiPi_SSD1306.h<br />
// Get OLED type<br />
//parse_args(argc, argv);</p>
<pre><code>/* 
// SPI
if (display.oled_is_spi_proto(opts.oled))
{
	// SPI change parameters to fit to your LCD
	if ( !display.init(OLED_SPI_DC,OLED_SPI_RESET,OLED_SPI_CS, opts.oled) )
		exit(EXIT_FAILURE);
}
else	
*/

{
	// I2C change parameters to fit to your LCD
	if ( !display.init(OLED_I2C_RESET, 6) )
		exit(EXIT_FAILURE);
}
display.begin();
</code></pre>
]]></description><link>https://community.ch2i.eu/post/1683</link><guid isPermaLink="true">https://community.ch2i.eu/post/1683</guid><dc:creator><![CDATA[tito]]></dc:creator><pubDate>Fri, 12 Aug 2016 18:50:34 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Fri, 12 Aug 2016 17:46:57 GMT]]></title><description><![CDATA[<p dir="auto">no, I don't get it: how to call<br />
display.init()<br />
in order to force oled 6 (i2c)  without using any commandline parametes?</p>
]]></description><link>https://community.ch2i.eu/post/1682</link><guid isPermaLink="true">https://community.ch2i.eu/post/1682</guid><dc:creator><![CDATA[tito]]></dc:creator><pubDate>Fri, 12 Aug 2016 17:46:57 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Fri, 12 Aug 2016 17:25:36 GMT]]></title><description><![CDATA[<p dir="auto">ps, in the source code  I also exchanged<br />
#include "ArduiPi_OLED_lib.h"<br />
#include "Adafruit_GFX.h"<br />
#include "ArduiPi_OLED.h"<br />
by<br />
#include &lt;ArduiPi_OLED_lib.h&gt;<br />
#include &lt;Adafruit_GFX.h&gt;<br />
#include &lt;ArduiPi_OLED.h&gt;</p>
]]></description><link>https://community.ch2i.eu/post/1681</link><guid isPermaLink="true">https://community.ch2i.eu/post/1681</guid><dc:creator><![CDATA[tito]]></dc:creator><pubDate>Fri, 12 Aug 2016 17:25:36 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Fri, 12 Aug 2016 17:15:04 GMT]]></title><description><![CDATA[<p dir="auto">now I just have to figure out how to start oled type 6 out of the source code without either command line parameters, just screen-out to this static oled type... will see, thanks again!</p>
]]></description><link>https://community.ch2i.eu/post/1680</link><guid isPermaLink="true">https://community.ch2i.eu/post/1680</guid><dc:creator><![CDATA[tito]]></dc:creator><pubDate>Fri, 12 Aug 2016 17:15:04 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Fri, 12 Aug 2016 17:12:45 GMT]]></title><description><![CDATA[<p dir="auto">oh yes, a lowercase l (L) seems to work, and no -L is required as it seems,  and now it also runs started out of different folders, thank you!</p>
<ul>
<li>Tim</li>
</ul>
]]></description><link>https://community.ch2i.eu/post/1679</link><guid isPermaLink="true">https://community.ch2i.eu/post/1679</guid><dc:creator><![CDATA[tito]]></dc:creator><pubDate>Fri, 12 Aug 2016 17:12:45 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Fri, 12 Aug 2016 14:42:58 GMT]]></title><description><![CDATA[<p dir="auto">It's <code>L</code> of "Library" but in lower case</p>
<p dir="auto">so but I do not know if Geany requires the <code>-l</code> switch before or not so you can try<br />
<code>-lArduiPi_OLED</code> or <code>ArduiPi_OLED</code></p>
]]></description><link>https://community.ch2i.eu/post/1676</link><guid isPermaLink="true">https://community.ch2i.eu/post/1676</guid><dc:creator><![CDATA[Charles]]></dc:creator><pubDate>Fri, 12 Aug 2016 14:42:58 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Fri, 12 Aug 2016 14:36:53 GMT]]></title><description><![CDATA[<p dir="auto">now I'm running into the same issues as the former user:<br />
examples are running as sudo from console, but if I load the example source  oled_demo.cpp into Geany, it compies, but buils does not work.<br />
which are the exact parameters for the library to link to?<br />
-I/ArduiPi_OLED       ??<br />
-L/ArduiPi_OLED      ??</p>
]]></description><link>https://community.ch2i.eu/post/1675</link><guid isPermaLink="true">https://community.ch2i.eu/post/1675</guid><dc:creator><![CDATA[tito]]></dc:creator><pubDate>Fri, 12 Aug 2016 14:36:53 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Wed, 10 Aug 2016 15:39:23 GMT]]></title><description><![CDATA[<p dir="auto">sorry, typos:<br />
and 3rd,<br />
how to optionally drive the OLEDs on i2c-1 or/and on i2c-0 ?</p>
]]></description><link>https://community.ch2i.eu/post/1669</link><guid isPermaLink="true">https://community.ch2i.eu/post/1669</guid><dc:creator><![CDATA[shiftleftplusone]]></dc:creator><pubDate>Wed, 10 Aug 2016 15:39:23 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Wed, 10 Aug 2016 15:37:01 GMT]]></title><description><![CDATA[<p dir="auto">and 3rd,<br />
how to optionally the OLEDson i2c-1 or/and  on i2c-0 ?</p>
]]></description><link>https://community.ch2i.eu/post/1668</link><guid isPermaLink="true">https://community.ch2i.eu/post/1668</guid><dc:creator><![CDATA[shiftleftplusone]]></dc:creator><pubDate>Wed, 10 Aug 2016 15:37:01 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Wed, 10 Aug 2016 15:17:36 GMT]]></title><description><![CDATA[<p dir="auto">another question:<br />
you wrote<br />
"  Added millis() function"</p>
<p dir="auto">But millis() is already provided by Gordon Henderson's WiringPi lib which I always use - I'm afraid that will cause interferences and problems. How can one fix that problem?</p>
]]></description><link>https://community.ch2i.eu/post/1667</link><guid isPermaLink="true">https://community.ch2i.eu/post/1667</guid><dc:creator><![CDATA[shiftleftplusone]]></dc:creator><pubDate>Wed, 10 Aug 2016 15:17:36 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Wed, 10 Aug 2016 15:13:21 GMT]]></title><description><![CDATA[<p dir="auto">hello,<br />
you specified the following types:<br />
0 Adafruit SPI 128x32<br />
1 Adafruit SPI 128x64<br />
2 Adafruit I2C 128x32<br />
3 Adafruit I2C 128x64<br />
4 Seeed I2C 128x64<br />
5 Seeed I2C 96x96<br />
6 SH1106 I2C 128x64</p>
<p dir="auto">the chip of the 6th is obvious, but which chip types are especially 1,3, and 4?<br />
what about the i2c dev addresses of these OLEDs, and how to change them in the code if needed?</p>
]]></description><link>https://community.ch2i.eu/post/1666</link><guid isPermaLink="true">https://community.ch2i.eu/post/1666</guid><dc:creator><![CDATA[shiftleftplusone]]></dc:creator><pubDate>Wed, 10 Aug 2016 15:13:21 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Sun, 07 Aug 2016 09:09:53 GMT]]></title><description><![CDATA[<p dir="auto">hello,<br />
can you please provide compile/build parameter settings and examples hw to use this lib with Geany, providing system-wide paths to #include the libs from each proprietary source code program located in any different directory?</p>
]]></description><link>https://community.ch2i.eu/post/1663</link><guid isPermaLink="true">https://community.ch2i.eu/post/1663</guid><dc:creator><![CDATA[shiftleftplusone]]></dc:creator><pubDate>Sun, 07 Aug 2016 09:09:53 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Mon, 01 Aug 2016 21:08:29 GMT]]></title><description><![CDATA[<p dir="auto">I'm wondering if anyone can help me here... so using I2C, this driver works flawlessly! However, using SPI, I can't get my display to do anything (using the pinouts on the site). I know the display sort of works because the adafruit python library displays something (i think something is wrong with my screen). However, there is zero response with SPI.</p>
<p dir="auto">Any ideas?</p>
]]></description><link>https://community.ch2i.eu/post/1656</link><guid isPermaLink="true">https://community.ch2i.eu/post/1656</guid><dc:creator><![CDATA[fiveseven808]]></dc:creator><pubDate>Mon, 01 Aug 2016 21:08:29 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Sun, 20 Mar 2016 13:52:08 GMT]]></title><description><![CDATA[<p dir="auto">I looked closer at box the display came and it said it is for SPI  mode. I tried i2C and didn't light up. Then, tried SPI and still no success. Doesn't seem to be a RST pin. I  see no pictures of the same pin arrangement on the Net. Looks to be a special display no one knows about. Guess I'll return it and hopefully the SSH1306 will be available soon, Sorry to take up so much room here is this comments section. Moderator, you can delete all I said on first post. donde</p>
]]></description><link>https://community.ch2i.eu/post/1292</link><guid isPermaLink="true">https://community.ch2i.eu/post/1292</guid><dc:creator><![CDATA[donde]]></dc:creator><pubDate>Sun, 20 Mar 2016 13:52:08 GMT</pubDate></item><item><title><![CDATA[Reply to New Adafruit generic OLED display driver for Raspberry PI on Sat, 19 Mar 2016 21:15:48 GMT]]></title><description><![CDATA[<p dir="auto">Screen Never Lights<br />
New to OLED. Waiting for SSH1306 1.3" display like on Adafruit website. Sent for SH1106 display instead. Pinouts are left to right:  VDD  VSS  SCK  SDA  D/C  CS1  FS0  CS2<br />
Using Pi Zero. Went through tutorial OK I think. 2 problems:</p>
<p dir="auto">root@raspberrypi:~# ls /dev/i2c*<br />
/dev/i2c-0<br />
root@raspberrypi:~# ls /dev/spi*<br />
/dev/spidev0.0  /dev/spidev0.1</p>
<p dir="auto">The first check returned /dev/i2c-1 instead of /dev/i2c-0<br />
The second response was OK.<br />
Now I wasn't at root when I did commands, but at user.<br />
Other problem I had to supply sudo for<br />
./oled_demo --verbose --oled 6<br />
I received this:</p>
<p dir="auto">pi@raspberrypi:~/ArduiPi_OLED/examples $ ./oled_demo --verbose --oled 6<br />
oled_demo v1.1<br />
-- OLED params --<br />
Oled is    : SH1106 I2C 128x64<br />
-- Other Stuff --<br />
verbose is : yes</p>
<p dir="auto">bcm2835_init: Unable to open /dev/mem: Permission denied<br />
pi@raspberrypi:~/ArduiPi_OLED/examples $ sudo ./oled_demo --verbose --oled 6<br />
oled_demo v1.1<br />
-- OLED params --<br />
Oled is    : SH1106 I2C 128x64<br />
-- Other Stuff --<br />
verbose is : yes</p>
<p dir="auto">x: 9y: 0dy: 3<br />
x: 30y: 0dy: 2<br />
x: 111y: 0dy: 2<br />
x: 81y: 0dy: 4<br />
x: 41y: 0dy: 2<br />
x: 85y: 0dy: 5<br />
x: 7y: 0dy: 5<br />
x: 76y: 0dy: 2<br />
x: 72y: 0dy: 3<br />
x: 76y: 0dy: 4</p>
<p dir="auto">Nothing on screen!<br />
I wired it this way from Pi Zero<br />
Pi 5 volts to Vdd<br />
Pi GND to  Display VSS<br />
Pi SCL to Display SCK<br />
Pi SDA to Display SDA<br />
IO25 to Display FSO</p>
<p dir="auto">No ID on Display, just this description:</p>
<p dir="auto">Features</p>
<pre><code>Self-luminous display for backlight
High resolution: 128 x 64
Viewing angle: &gt;160 degree
Supports many control chip: Fully compatible with Arduino, 51 Series, MSP430 Series, STM32 / 2, CSR IC, etc.
Ultra-low power consumption: full screen lit 0.08W
Voltage: 3V ~ 5V DC
Working Temperature: -30 oC ~ 70 oC
Module Size: 32.0mm x 35.50mm x 4.1mm
SPI Interface, need 4 IO only.
Driver IC: SH1106
</code></pre>
<p dir="auto">Package Includes</p>
<pre><code>1 x 1.3" SPI Serial 128X64 OLED LCD LED Display Module for Arduino UNO R3
</code></pre>
<p dir="auto">Not sure what try next. What turns on screen to see at least something?<br />
Thanks ... donde</p>
]]></description><link>https://community.ch2i.eu/post/1290</link><guid isPermaLink="true">https://community.ch2i.eu/post/1290</guid><dc:creator><![CDATA[donde]]></dc:creator><pubDate>Sat, 19 Mar 2016 21:15:48 GMT</pubDate></item></channel></rss>