<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Nodemcu on RETRO.MOE</title><link>https://retro.moe/tag/nodemcu/</link><description>Recent content in Nodemcu on RETRO.MOE</description><image><title>RETRO.MOE</title><url>https://retro.moe/images/papermod-cover.png</url><link>https://retro.moe/images/papermod-cover.png</link></image><generator>Hugo -- 0.146.0</generator><language>en</language><copyright>Ricardo Quesada</copyright><lastBuildDate>Sun, 27 Mar 2016 21:21:04 +0000</lastBuildDate><atom:link href="https://retro.moe/tag/nodemcu/feed.xml" rel="self" type="application/rss+xml"/><item><title>C64 Remote Controller: NodeMCU vs. Adafruit Huzzah vs. SparkFun Thing vs...</title><link>https://retro.moe/2016/03/27/c64-remote-controller-nodemcu-vs-adafruit-huzzah-vs-sparkfun-thing-vs/</link><pubDate>Sun, 27 Mar 2016 21:21:04 +0000</pubDate><guid>https://retro.moe/2016/03/27/c64-remote-controller-nodemcu-vs-adafruit-huzzah-vs-sparkfun-thing-vs/</guid><description>&lt;h3 id="requirements-for-the-c64-controller">Requirements for the c64 controller&lt;/h3>
&lt;ul>
&lt;li>A micro-controller. It doesn&amp;rsquo;t need to be very powerful, just powerful enough
to handle some UDP connections and configuring some GPIOs.&lt;/li>
&lt;li>Flash-able firmware: If possible with support
for &lt;a href="https://www.arduino.cc/en/Main/Software">Arduino IDE&lt;/a> (or similar). C++
preferred. &lt;a href="http://micropython.org/">Micropython&lt;/a> could be a nice backup plan.&lt;/li>
&lt;li>WiFi&lt;/li>
&lt;li>Some GPIOs&lt;/li>
&lt;/ul>
&lt;h3 id="which-module-to-choose">Which module to choose&lt;/h3>
&lt;p>There are many alternatives, and these are the ones that I evaluated:&lt;/p>
&lt;ul>
&lt;li>&lt;a href="http://www.arduino.cc/en/Main/ArduinoBoardUno">Arduino&lt;/a> + &lt;a href="http://www.arduino.cc/en/Main/ArduinoWiFiShield101">WiFi shield&lt;/a>
or &lt;a href="http://espressif.com/en/products/hardware/esp8266ex/overview">ESP8266&lt;/a>:
This is the first option that I evaluated thanks
to &lt;a href="http://www.lemon64.com/forum/viewtopic.php?t=60046">different&lt;/a> &lt;a href="http://retroinvaders.com/commodoremania/foro/index.php/topic,1525.0.html">suggestions&lt;/a>.
But since the ESP8266 already comes with a flash-able firmware, there was no
need to use the Arduino part. I discarded this option, but I liked the ESP8266
part.&lt;/li>
&lt;li>&lt;a href="https://www.adafruit.com/products/2471">Adafruit Huzzah&lt;/a>
breakout ($9.95) / &lt;a href="https://www.adafruit.com/products/2821">Adafruit Feather Huzzah&lt;/a> ($
15.95): An ESP8266 based module. I like Adafruit products since they are very
well tested, they give you support, have very good documentation. But they are
usually on the pricy side. All ESP8266 boards are supported by
the&lt;a href="https://github.com/esp8266/Arduino">Arduino IDE&lt;/a> which is a very good
thing.(I ordered one Feather Huzzah).&lt;/li>
&lt;li>&lt;a href="https://www.sparkfun.com/products/13231">SparkFun ESP8266 Thing&lt;/a> ($15.95):
Similar to the Feather Huzzah.&lt;/li>
&lt;li>&lt;a href="http://www.aliexpress.com/af/nodemcu.html">NodeMCU&lt;/a> (~$4.00): Very similar
too Adafruit Huzzah and SparkFun ESP8266 Thing. I&amp;rsquo;m not sure who built the
first module (Adafruit, SparkFun or NodeMCU), although I wouldn&amp;rsquo;t be surprised
if NodeMCU was the first one. There is a lot of innovation in China in this
area. NodeMCU comes with a firmware that supports Lua, which is nice for
faster development. You should know that the Lua firmware could be installed
in the other modules as well, and you can run C++ firmwares on NodeMCU as
well. There are three different NodeMCU brands:
&lt;ul>
&lt;li>Amica: Which seems to be the official one, although I didn&amp;rsquo;t know this
when I decided to buy the LoLin.&lt;/li>
&lt;li>LoLin: It seems that it is no longer produced by WeMos. (I ordered one of
this too).&lt;/li>
&lt;li>DOIT: I know nothing about it.&lt;/li>
&lt;/ul>
&lt;/li>
&lt;li>&lt;a href="http://www.wemos.cc/Products/d1_mini.html">Mini D1&lt;/a> (~$4.00): Another
ESP8266-based module similar to the previous ones. It is produced
by &lt;a href="http://www.wemos.cc/">WeMos&lt;/a>, the same as the NodeMCU LoLin. My theory is
that WeMos realized that there was more money in trying to
create &lt;a href="http://www.wemos.cc/Products/mini_shields.html">their own ecosystem&lt;/a>
rather than just cloning NodeMCU. It has 11 GPIOs, instead of the 9 offered by
Adafruit Huzzah, which is good (I ordered a few of this one too).&lt;/li>
&lt;li>There were other
alternatives, &lt;a href="https://www.sparkfun.com/products/13774">like the SparkFun Particle Photon&lt;/a>($
19.00), based on non-ESP8266 micro-controllers. They were a bit more powerful,
but also more expensive. And don&amp;rsquo;t support the Arduino IDE. So, for the moment
I discarded them.&lt;/li>
&lt;/ul>
&lt;h3 id="setting-up-lolin-nodemcu">Setting up LoLin NodeMCU&lt;/h3>
&lt;figure>
&lt;img loading="lazy" src="https://retro.moe/wp-content/uploads/2016/03/img%5F4002.jpg?w=576" width="379"/>
&lt;/figure>
&lt;h4 id="ch340g-drivers">CH340G drivers&lt;/h4>
&lt;p>The first one to arrive was the LoLin NodeMCU (the Adafruit Feather Huzzah and
the Mini D1 will arrive later this week), so I started playing with the NodeMCU.&lt;/p></description></item></channel></rss>