<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	
	xmlns:georss="http://www.georss.org/georss"
	xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
	>

<channel>
	<title>OLED &#8211; Squix &#8211; TechBlog</title>
	<atom:link href="https://blog.squix.org/tag/oled/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.squix.org</link>
	<description></description>
	<lastBuildDate>Thu, 09 Dec 2021 08:10:17 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.5.8</generator>
<site xmlns="com-wordpress:feed-additions:1">121913304</site>	<item>
		<title>ESP8266 Weather Station on the &#8220;Big Screen&#8221;</title>
		<link>https://blog.squix.org/2016/08/esp8266-weather-station-on-a-big-screen.html</link>
					<comments>https://blog.squix.org/2016/08/esp8266-weather-station-on-a-big-screen.html#comments</comments>
		
		<dc:creator><![CDATA[Daniel Eichhorn]]></dc:creator>
		<pubDate>Sat, 20 Aug 2016 06:46:57 +0000</pubDate>
				<category><![CDATA[Common]]></category>
		<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[OLED]]></category>
		<category><![CDATA[PlaneSpotter]]></category>
		<category><![CDATA[SH1106]]></category>
		<category><![CDATA[SSD1306]]></category>
		<category><![CDATA[WeatherStation]]></category>
		<guid isPermaLink="false">http://blog.squix.org/?p=764</guid>

					<description><![CDATA[The 0.96&#8243; OLED displays I usually use for the WeatherStation are gorgeous but they could be bigger, right? Recently a bigger version of the SSD1306 based display became available on my favourite channels. Thanks to great work of the community (especially Fabrice Weinberg) the OLED ... <p><a class="read-more btn btn-secondary" href="https://blog.squix.org/2016/08/esp8266-weather-station-on-a-big-screen.html">Read More</a></p>]]></description>
										<content:encoded><![CDATA[<p>The 0.96&#8243; OLED displays I usually use for the WeatherStation are gorgeous but they could be bigger, right? Recently a bigger version of the SSD1306 based display became available on my favourite channels. Thanks to great work of the community (especially Fabrice Weinberg) the <a href="https://github.com/squix78/esp8266-oled-ssd1306" target="_blank" rel="noopener">OLED library on Github</a>  as been extended to support those <a href="https://blog.squix.orghttps://www.banggood.com/1_3-Inch-4Pin-White-OLED-LCD-Display-12864-IIC-I2C-Interface-Module-p-1067874.html?p=6R31122484684201508S&#038;custlinkid=1587754" target="_blank" rel="noopener">1.3&#8243; displays based on the SH1106 chip</a>.</p>
<figure id="attachment_767" aria-describedby="caption-attachment-767" style="width: 225px" class="wp-caption aligncenter"><a href="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/08/image-1.jpeg?ssl=1"><img data-recalc-dims="1" fetchpriority="high" decoding="async" data-attachment-id="767" data-permalink="https://blog.squix.org/2016/08/esp8266-weather-station-on-a-big-screen.html/image-78" data-orig-file="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/08/image-1.jpeg?fit=3024%2C4032&amp;ssl=1" data-orig-size="3024,4032" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;2.2&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;iPhone 6s&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;1467551680&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.15&quot;,&quot;iso&quot;:&quot;80&quot;,&quot;shutter_speed&quot;:&quot;0.03030303030303&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="image" data-image-description="" data-image-caption="&lt;p&gt;0.96&#8243; based on SSD1306 and 1.3&#8243; based on SH1106 running the Plane Spotter&lt;/p&gt;
" data-medium-file="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/08/image-1.jpeg?fit=225%2C300&amp;ssl=1" data-large-file="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/08/image-1.jpeg?fit=730%2C973&amp;ssl=1" class="wp-image-767 size-medium" src="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/08/image-1.jpeg?resize=225%2C300&#038;ssl=1" alt="0.96&quot; based on SSD1306 and 1.3&quot; based on SH1106 running the Plane Spotter" width="225" height="300" srcset="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/08/image-1.jpeg?resize=225%2C300&amp;ssl=1 225w, https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/08/image-1.jpeg?resize=768%2C1024&amp;ssl=1 768w, https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/08/image-1.jpeg?resize=300%2C400&amp;ssl=1 300w, https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/08/image-1.jpeg?w=1460&amp;ssl=1 1460w, https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/08/image-1.jpeg?w=2190&amp;ssl=1 2190w" sizes="(max-width: 225px) 100vw, 225px" /></a><figcaption id="caption-attachment-767" class="wp-caption-text">0.96&#8243; based on SSD1306 and 1.3&#8243; based on SH1106 running the Plane Spotter</figcaption></figure>
<p><span id="more-764"></span></p>
<h1>Adapting the code</h1>
<p>So how do you get those displays working with the <a href="https://blog.squix.org/weatherstation-ide-setup">WeatherStation</a> or the <a href="https://blog.squix.org/2016/07/esp8266-based-plane-spotter-how-to.html">PlaneSpotter</a>? The OLED library makes that really easy: you just have to change two lines of code. The include for the SH1106 driver has to be included and then the instantiation. Find the line</p>
<pre>#include &lt;SSD1306Wire.h&gt;</pre>
<p>and replace it with</p>
<pre>#include &lt;SH1106.h&gt;
</pre>
<p>The next step is to replace the instantiation of the driver:</p>
<pre>SSD1306Wire display(I2C_DISPLAY_ADDRESS, SDA_PIN, SDC_PIN);
</pre>
<p>and replace it with:</p>
<pre>SH1106  display(I2C_DISPLAY_ADDRESS, SDA_PIN, SDC_PIN);
</pre>
<p>Done! Easy, wasn&#8217;t it? The OLED library supports other types of displays or communication protocols. You kind out more about them here:<br />
<a href="https://github.com/squix78/esp8266-oled-ssd1306">https://github.com/squix78/esp8266-oled-ssd1306</a></p>
<h1>Summary</h1>
<p>With changing just a few lines you can get the WeatherStation and the PlaneSpotter working on the bigger 1.3&#8243; screens. The cost a little bit more but depending on your casing they are worth the money. By the way: the pixel density (DPI) is actually worse with the 1.3&#8243; displays since both types have the same resolution of 128&#215;64 pixels. You can find the displays on AliExpress, eBay or on Banggood and support the Blog by following this link.</p>
<h1>References</h1>
<ul>
<li><a href="https://github.com/squix78/esp8266-weather-station">https://github.com/squix78/esp8266-weather-station</a></li>
<li><a href="https://github.com/squix78/esp8266-oled-ssd1306" target="_blank" rel="noopener">https://github.com/squix78/esp8266-oled-ssd1306</a></li>
<li><a href="https://blog.squix.orghttps://www.banggood.com/1_3-Inch-4Pin-White-OLED-LCD-Display-12864-IIC-I2C-Interface-Module-p-1067874.html?p=6R31122484684201508S&#038;custlinkid=1587754" target="_blank" rel="noopener">1.3&#8243; OLED display on Banggood</a></li>
<li><a href="https://www.banggood.com/Geekcreit-0_96-Inch-4Pin-White-IIC-I2C-OLED-Display-Module-12864-LED-Geekcreit-for-Arduino-products-that-work-with-official-Arduino-boards-p-958196.html?p=0P21061109440201501M&amp;custlinkid=1587780" target="_blank" rel="noopener">0.96&#8243; OLED display on Banggood</a></li>
<li><a href="https://blog.squix.org/weatherstation-ide-setup" target="_blank" rel="noopener">WeatherStation Project Post</a></li>
<li><a href="https://blog.squix.org/2016/07/esp8266-based-plane-spotter-how-to.html" target="_blank" rel="noopener">PlaneSpotter Project Post</a></li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.squix.org/2016/08/esp8266-weather-station-on-a-big-screen.html/feed</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">764</post-id>	</item>
		<item>
		<title>ESP8266: SSD1306 Oled Library Release</title>
		<link>https://blog.squix.org/2016/06/esp8266-ssd1306-oled-library-release.html</link>
					<comments>https://blog.squix.org/2016/06/esp8266-ssd1306-oled-library-release.html#comments</comments>
		
		<dc:creator><![CDATA[Daniel Eichhorn]]></dc:creator>
		<pubDate>Sun, 05 Jun 2016 17:53:22 +0000</pubDate>
				<category><![CDATA[ESP8266 Peripherals]]></category>
		<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[OLED]]></category>
		<category><![CDATA[SSD1306]]></category>
		<category><![CDATA[weather station]]></category>
		<guid isPermaLink="false">http://blog.squix.org/?p=538</guid>

					<description><![CDATA[The &#8220;ESP8266 OLED SSD1306&#8243; is an open source library which allows you to control those pretty OLED modules from our beloved ESP8266 module. Fabrice Weinberg cleaned up all the ugly pieces of code which I initially wrote caused by my near C/C++ illiteracy. He also added support for ... <p><a class="read-more btn btn-secondary" href="https://blog.squix.org/2016/06/esp8266-ssd1306-oled-library-release.html">Read More</a></p>]]></description>
										<content:encoded><![CDATA[<p>The &#8220;<a href="https://github.com/squix78/esp8266-oled-ssd1306">ESP8266 OLED SSD1306&#8243;</a> is an open source library which allows you to control <a href="https://www.banggood.com/Geekcreit-0_96-Inch-4Pin-White-IIC-I2C-OLED-Display-Module-12864-LED-Geekcreit-for-Arduino-products-that-work-with-official-Arduino-boards-p-958196.html?p=0P21061109440201501M&amp;custlinkid=1587780">those pretty OLED modules</a> from our beloved ESP8266 module. <a href="https://github.com/FWeinb">Fabrice Weinberg</a> cleaned up all the ugly pieces of code which I initially wrote caused by my near C/C++ illiteracy. He also added support for Pasko&#8217;s <a href="https://github.com/pasko-zh/brzo_i2c" target="_blank" rel="noopener">BRZO I2C</a> library which is partially written in assembler and allows a much higher throughput over the I2C channel.<span id="more-538"></span></p>
<p>Fabrice&#8217;s video below compares the the two I2C implementations:</p>
<p><iframe src="https://player.vimeo.com/video/168362918" width="640" height="360" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p>Other changes:</p>
<ul>
<li>The font format was refactored for better memory efficiency and the web based font generator (<a href="http://oleddisplay.squix.ch/" target="_blank" rel="noopener">http://oleddisplay.squix.ch/</a>) now lets you generate font files for the older library versions or the new ones</li>
<li>The hardware protocol level implementations (SPI, I2C) have been separated from the low level graphical functions. This affects how you instantiate the display classes</li>
<li>To be open for future support of similar displays the core classes were renamed to Oled* instead of SSD1306</li>
<li>More graphical functions have been added, including drawing of circles, non-vertical lines and a progress bar</li>
<li>In case you want to use the display for simple log output you can now use print(..) and println(..) and the library will take care of scrolling. See Fabrice&#8217;s video below:</li>
</ul>
<p>&nbsp;</p>
<p><iframe src="https://www.youtube.com/embed/8Fiss77A3TE" width="560" height="315" frameborder="0" allowfullscreen="allowfullscreen"></iframe></p>
<p>&nbsp;</p>
<p>For a full list of new features and how to upgrade your existing code please have a look at the comprehensive upgrade guide: <a href="https://github.com/squix78/esp8266-oled-ssd1306/blob/master/UPGRADE-3.0.md">https://github.com/squix78/esp8266-oled-ssd1306/blob/master/UPGRADE-3.0.md</a></p>
<p><strong>Please note:</strong> this release will break with your code based on the older 2.0.0 version. In case you have created fonts you&#8217;ll have to re-generate them as well. This also affects the <a href="https://github.com/squix78/esp8266-weather-station">Weather Station</a> library!</p>
<p>Many thanks again to <strong>Fabrice Weinberg</strong> and all other contributors to make this release possible!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.squix.org/2016/06/esp8266-ssd1306-oled-library-release.html/feed</wfw:commentRss>
			<slash:comments>28</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">538</post-id>	</item>
	</channel>
</rss>
