Difference between revisions of "IoT - ESP-Everything!"

From The TinkerNet Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
There are a number of cheap modules available that are basically either carriers for ESP modules or extensions of the ESP modules..
 
There are a number of cheap modules available that are basically either carriers for ESP modules or extensions of the ESP modules..
  
The [https://docs.wemos.cc/en/latest/d1/d1_mini.html LOLIN D1 mini] is a favourite...  It's "breadboard friendly" (as long as you don't mind it using up most of the width.)  It has on-board regulation to run off 5V.  AND solves the gpio0 issue.
+
The [https://docs.wemos.cc/en/latest/d1/d1_mini.html LOLIN D1 mini] is a favourite...  It's "breadboard friendly" (as long as you don't mind it using up most of the width.)  It has on-board regulation to run off 5V.  It also has an onboard USB to Serial chip '''AND''' solves the gpio0 issue.
  
 
Sadly, most of these are in form factors that are not conducive to embedding in a finished project.
 
Sadly, most of these are in form factors that are not conducive to embedding in a finished project.

Revision as of 20:30, 13 October 2020

My personal response to the weirdness that is ESP module form factors.

My introduction to ESP was the ESP-07.

It's an awesome module to play with. But it has a few issues.

The Issues

Issue #1: ESP devices run on 3.3V, not the ubiquitous 5V you can easily get by grabbing the nearest spare phone charger. This one's pretty simple. Put a 3.3V regulator in there. (I tend to grab the AMS1117-3.3. Cheap & easy...)

Issue #2: Every standard ESP module has a weird pinout at a weird pin pitch. Dunno why. They just do. Even the ESP-01 has a pain-in-the-ass pin layout. (but, at least it's on 0.1" spacing. Too bad it's designed to avoid breadboard compatibility...)

Issue #3: The most annoying one... To program an ESP chip, you have to hold gpio0 low during bootup or reset. Then you have to reset the board again to get out of programming mode. I get why they did it this way, but it's annoying.

Some available solutions

There are a number of cheap modules available that are basically either carriers for ESP modules or extensions of the ESP modules..

The LOLIN D1 mini is a favourite... It's "breadboard friendly" (as long as you don't mind it using up most of the width.) It has on-board regulation to run off 5V. It also has an onboard USB to Serial chip AND solves the gpio0 issue.

Sadly, most of these are in form factors that are not conducive to embedding in a finished project.

Also... I have an aversion to permanently installing a UART chip in devices that, once finished, will likely never need them again. When I'm working on a microcontroller project, I have a selection of UART modules handy to simply connect for programming. Afterwards, it's a redundant item.

So...

What I've done to try & solve a few of these issues