<?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>ESP8266 Hacks &#8211; Squix &#8211; TechBlog</title>
	<atom:link href="https://blog.squix.org/category/esp8266-hacks/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-Hack &#8211; Piggybacking OLED display on WeMos D1 Mini</title>
		<link>https://blog.squix.org/2016/06/esp8266-hack-piggybacking-oled-display-on-wemos-d1-mini.html</link>
					<comments>https://blog.squix.org/2016/06/esp8266-hack-piggybacking-oled-display-on-wemos-d1-mini.html#comments</comments>
		
		<dc:creator><![CDATA[Daniel Eichhorn]]></dc:creator>
		<pubDate>Thu, 09 Jun 2016 19:24:51 +0000</pubDate>
				<category><![CDATA[ESP8266 Hacks]]></category>
		<category><![CDATA[ESP8266-projects]]></category>
		<category><![CDATA[ESP8266]]></category>
		<category><![CDATA[weather station]]></category>
		<category><![CDATA[WeMos D1 Mini]]></category>
		<guid isPermaLink="false">http://blog.squix.org/?p=555</guid>

					<description><![CDATA[Inspired by Mike Rankin&#8217;s (@mikerankin) beautiful crossovers between an ESP8266 ESP-01 and an 0.96 Inch OLED I2C display I decided to try if there wasn&#8217;t an easy hack to marry the two components with as  little soldering as possible. After turning, connecting and flashing different combinations of ... <p><a class="read-more btn btn-secondary" href="https://blog.squix.org/2016/06/esp8266-hack-piggybacking-oled-display-on-wemos-d1-mini.html">Read More</a></p>]]></description>
										<content:encoded><![CDATA[<p>Inspired by Mike Rankin&#8217;s (<a href="https://twitter.com/mikerankin" target="_blank" rel="noopener">@mikerankin</a>) beautiful crossovers between an ESP8266 ESP-01 and an 0.96 Inch OLED I2C display I decided to try if there wasn&#8217;t an easy hack to marry the two components with as  little soldering as possible.<span id="more-555"></span></p>
<p>After turning, connecting and flashing different combinations of the two modules I finally found one that only requires you to solder 4 connections. Assuming that your display&#8217;s connectors are in the order GND, VCC, SCL and SDA just place the display on the bottom of your WeMos D1 Mini so that the two GND&#8217;s are connected with each other. VCC connects to D4, SCL to D3 and SDA to D2. I&#8217;m aware that I am &#8220;cheating&#8221; the D4 connector into being the power source, but I couldn&#8217;t find any data about the max. current the display draws. If you want to be 100% save add a connection between VCC (on the display) and 3V3 instead. Let me know in the comments if you are convinced that I&#8217;m doing something reckless.</p>
<figure id="attachment_554" aria-describedby="caption-attachment-554" style="width: 300px" class="wp-caption aligncenter"><a href="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-8.jpeg?ssl=1"><img data-recalc-dims="1" fetchpriority="high" decoding="async" data-attachment-id="554" data-permalink="https://blog.squix.org/2016/06/esp8266-hack-piggybacking-oled-display-on-wemos-d1-mini.html/image-27" data-orig-file="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-8.jpeg?fit=4032%2C3024&amp;ssl=1" data-orig-size="4032,3024" 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;1465499443&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.15&quot;,&quot;iso&quot;:&quot;200&quot;,&quot;shutter_speed&quot;:&quot;0.03030303030303&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="WeMos D1 Mini Oled Display Hack" data-image-description="" data-image-caption="&lt;p&gt;128&#215;64 OLED display directly soldered on a WeMos D1 Mini Running the Weather Station Code&lt;/p&gt;
" data-medium-file="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-8.jpeg?fit=300%2C225&amp;ssl=1" data-large-file="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-8.jpeg?fit=730%2C548&amp;ssl=1" class="size-medium wp-image-554" src="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-8.jpeg?resize=300%2C225&#038;ssl=1" alt="128x64 OLED display directly soldered on a WeMos D1 Mini" width="300" height="225" srcset="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-8.jpeg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-8.jpeg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-8.jpeg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-8.jpeg?w=1460&amp;ssl=1 1460w, https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-8.jpeg?w=2190&amp;ssl=1 2190w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-554" class="wp-caption-text">128&#215;64 OLED display directly soldered on a WeMos D1 Mini running the Weather Station Code</figcaption></figure>
<figure id="attachment_552" aria-describedby="caption-attachment-552" style="width: 300px" class="wp-caption aligncenter"><a href="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-6.jpeg?ssl=1"><img data-recalc-dims="1" decoding="async" data-attachment-id="552" data-permalink="https://blog.squix.org/2016/06/esp8266-hack-piggybacking-oled-display-on-wemos-d1-mini.html/image-25" data-orig-file="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-6.jpeg?fit=4032%2C3024&amp;ssl=1" data-orig-size="4032,3024" 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;1465499425&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;4.15&quot;,&quot;iso&quot;:&quot;200&quot;,&quot;shutter_speed&quot;:&quot;0.03030303030303&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;1&quot;}" data-image-title="Back Side of OLED display WeMos D1 Mini Hack" data-image-description="" data-image-caption="&lt;p&gt;128&#215;64 OLED display directly soldered on a WeMos D1 Mini Running the Weather Station Code&lt;/p&gt;
" data-medium-file="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-6.jpeg?fit=300%2C225&amp;ssl=1" data-large-file="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-6.jpeg?fit=730%2C548&amp;ssl=1" class="size-medium wp-image-552" src="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-6.jpeg?resize=300%2C225&#038;ssl=1" alt="128x64 OLED display directly soldered on a WeMos D1 Mini Running the Weather Station Code" width="300" height="225" srcset="https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-6.jpeg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-6.jpeg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-6.jpeg?resize=1024%2C768&amp;ssl=1 1024w, https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-6.jpeg?w=1460&amp;ssl=1 1460w, https://i0.wp.com/blog.squix.org/wp-content/uploads/2016/06/image-6.jpeg?w=2190&amp;ssl=1 2190w" sizes="(max-width: 300px) 100vw, 300px" /></a><figcaption id="caption-attachment-552" class="wp-caption-text">WeMos D1 Mini with Piggyback Oled display</figcaption></figure>
<p>If you are following my VCC-D4 hack from above make sure that you enable D4 for output and to set it to HIGH:</p>
<blockquote><p>pinMode(D4, OUTPUT);<br />
digitalWrite(D4, HIGH);</p></blockquote>
<p>&nbsp;</p>
<p><strong>Resources</strong></p>
<ul>
<li><a href="https://github.com/squix78/esp8266-weather-station" target="_blank" rel="noopener">WeatherStation on Github</a></li>
</ul>
<p>&nbsp;</p>
<p><strong>Shopping List</strong></p>
<ul>
<li><a href="https://blog.squix.org/product/1632" target="_blank" rel="noopener">WeatherStation Kit for Soldering</a> (you are supporting my blog)</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">SSD1306 0.96 Inch Oled Display</a> (from Banggood)</li>
<li><a href="/go/wemosd1mini" target="_blank" rel="noopener">WeMos D1 Mini</a> (from Banggood)</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.squix.org/2016/06/esp8266-hack-piggybacking-oled-display-on-wemos-d1-mini.html/feed</wfw:commentRss>
			<slash:comments>7</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">555</post-id>	</item>
	</channel>
</rss>
