<?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/"
	>

<channel>
	<title>ESP31 Archives - Digital Me</title>
	<atom:link href="https://ba0sh1.com/tag/esp31/feed/" rel="self" type="application/rss+xml" />
	<link>https://ba0sh1.com/tag/esp31/</link>
	<description>Electronics, Computers at leisure time</description>
	<lastBuildDate>Mon, 11 Jul 2022 04:58:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.1</generator>
	<item>
		<title>First sight into ESP32</title>
		<link>https://ba0sh1.com/2015/12/26/first-signt-into-esp32/</link>
					<comments>https://ba0sh1.com/2015/12/26/first-signt-into-esp32/#comments</comments>
		
		<dc:creator><![CDATA[Baoshi]]></dc:creator>
		<pubDate>Fri, 25 Dec 2015 16:32:18 +0000</pubDate>
				<category><![CDATA[Project]]></category>
		<category><![CDATA[ESP31]]></category>
		<category><![CDATA[ESP32]]></category>
		<category><![CDATA[TFT]]></category>
		<guid isPermaLink="false">https://www.ba0sh1.com/?p=1151</guid>

					<description><![CDATA[<p>So I am one of the 200 lucky bastards who receive the Espressif ESP32 beta units. It arrives in a nicely printed packaging which resembles very much like a jewel box. And...</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2015/12/26/first-signt-into-esp32/">First sight into ESP32</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>So I am one of the 200 lucky bastards who receive the Espressif ESP32 beta units. It arrives in a nicely printed packaging which resembles very much like a jewel box. And the item inside is really a piece of jewelry.</p>
<p><span id="more-1151"></span></p>
<figure id="attachment_1152" aria-describedby="caption-attachment-1152" style="width: 640px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="wp-image-1152 size-full" src="https://ba0sh1.com/wp-content/uploads/2015/12/3df35-esp31-box.png" alt="ESP31 packaging" width="640" height="480" srcset="https://ba0sh1.com/wp-content/uploads/2015/12/3df35-esp31-box.png 640w, https://ba0sh1.com/wp-content/uploads/2015/12/3df35-esp31-box-300x225.png 300w" sizes="(max-width: 640px) 100vw, 640px" /><figcaption id="caption-attachment-1152" class="wp-caption-text">ESP31 packaging</figcaption></figure>
<p>Appearantly the breakout board, &#8220;ESP_Module_Testboard&#8221;, is little bit too wide for breadboard use, (leaving one row on each side), I decided to make a quick development board. The end result looks like this.</p>
<figure id="attachment_1154" aria-describedby="caption-attachment-1154" style="width: 800px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="wp-image-1154 size-full" src="https://ba0sh1.com/wp-content/uploads/2015/12/c1fb2-esp31-devboard.png" alt="ESP31 development board" width="800" height="600" srcset="https://ba0sh1.com/wp-content/uploads/2015/12/c1fb2-esp31-devboard.png 800w, https://ba0sh1.com/wp-content/uploads/2015/12/c1fb2-esp31-devboard-300x225.png 300w, https://ba0sh1.com/wp-content/uploads/2015/12/c1fb2-esp31-devboard-768x576.png 768w" sizes="(max-width: 800px) 100vw, 800px" /><figcaption id="caption-attachment-1154" class="wp-caption-text">ESP31 development board</figcaption></figure>
<p>Some notes about the board:</p>
<ul>
<li>Pin &#8220;EN&#8221; has a 10k pull-up resistor. The reset button pulls &#8220;EN&#8221; down. ESP31 does not come with a RESET pin, it seems EN does the same.</li>
<li>Pin &#8220;IO0&#8221; has a 10k pull-up resistor. The &#8220;IO0&#8221; pin pulls it down. Low level on IO0 during reset allows the ESP31 to enter programming mode. This is very much the same as ESP8266. I am not sure if the pull-up resistor is needed because it seems there is one built-in. Nevertheless I just put one for safety reason.</li>
<li>The red board is a FTDI USB-Serial converter. The board is set to 3.3V I/O. The orange color jumper wire from FTDI board is to get 5V power from USB, feed through an AMS1117-3.3 to power the ESP31 module. I used a 100uF output tantinium capacitor. It seems this setup is not good enough. I&#8217;ll explain later.</li>
</ul>
<p>With the board on hand, it is now time to setup development environment. There are excellent guides at <a href="http://www.instructables.com/id/Beginners-ESP32-Guide-to-Assembly-Testing/" target="_blank" rel="noopener">http://www.instructables.com/id/Beginners-ESP32-Guide-to-Assembly-Testing/</a>, as well as LadyAda&#8217;s live show <a href="https://www.youtube.com/watch?v=HCGHb0OVz1s" target="_blank" rel="noopener">https://www.youtube.com/watch?v=HCGHb0OVz1s</a></p>
<p>New year is around the corner and I am so eager to continue my new year greeting video &#8220;series&#8221;. It natually envolves into this:</p>
<p><iframe loading="lazy" title="Merry Christmas from ESP31" width="640" height="360" src="https://www.youtube.com/embed/6SR7anr_Xi4?feature=oembed" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p>
<p>And the source code too: <a href="https://github.com/baoshi/ESP32-XMAS" target="_blank" rel="noopener">https://github.com/baoshi/ESP32-XMAS</a></p>
<p>Again some notes about the source code:</p>
<ul>
<li>The TFT screen contains 128&#215;160 pixels, at 16bit/pixel it amounts to 40kB/frame, or 320kbits/frame. The SPI bus is running at 13.3MHz, that works out around 40fps. Due to some coding overhead the fastest I can achieve is about 25fps. But again becaused of the latency at WiFi side, I&#8217;m currently running the screen at 10fps. That is only 400kB/s for WiFi traffic, which is significantly slower than the claimed 140Mb/s rated speed. Of course there is huge room for improvement at software side.</li>
<li>The ESP31 seems to take more power than it&#8217;s predecessor ESP8266. The above mentioned AMS1117-3.3 cannot provide enough juice. The phenomenon is garbaged output from serial port, lost WiFi connection, or failed with exception after reset. It could be a thermal issue. I ended up using a lab power supply then all the problems are gone. My supply registered 170mA when WiFi is active. Of course it includes the LCD comsumption. I will do some further investigation at a later time.</li>
<li>I encouontered some WiFi abnormalities that the connection speed slows down significantly from time to time. Reset the chip will resolve the issue. For the time being I havn&#8217;t fully dig into it.</li>
<li>Other than these, ESP31 (ESP32 Beta) and the current SDK (1.1.0) seems quite stable.</li>
</ul>
<p>To all my readers or viewers I take this oppotunity to wish you a Merry Christmas and Happy New Year. See you next year.</p>
<p>The post <a rel="nofollow" href="https://ba0sh1.com/2015/12/26/first-signt-into-esp32/">First sight into ESP32</a> appeared first on <a rel="nofollow" href="https://ba0sh1.com">Digital Me</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://ba0sh1.com/2015/12/26/first-signt-into-esp32/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
	</channel>
</rss>
