Arduino with Built-In Wi-Fi

This post describes the HiLetgo Wemos D1 Mini Development Board ESP8285.

This board is a combination of an Arduino and a Wi-Fi chip in a package that is approximately 1 inch by 1 inch.  Here are the steps to program it:

Connect using the standard CH340/341 USB driver for your OS

https://wiki.wemos.cc/downloads

Be sure to select the 8285 board in the Arduino IDE board menu (if you select 8266 you may have issues).

And the one piece of information that is difficult to find online:

Tools->Reset Method, set it to “nodemcu”.

This is often the reason of issues with uploading/executing.

Update the boards for ESP8266.  Then you are able to see extra options that allow this board work.
Arduino IDE: 1.8.8 on macOS 10.14
Board Package: esp8266 by ESP8266 Community version 2.5.0-beta2
Board: Generic ESP8285 Module
CPU Freq: 80MHz
Flash Size: 1M (no SPIFFS)
Upload Speed: 115200
Crystal Freq: 26MHz
Reset Method: nodemcu
Debug Port: Disabled
Debug Level: None
lwIP Variant: v2 Lower Memory
VTables: Flash
Exceptions: Enabled
Builtin LED: 2
Erase Flash: Only Sketch
Port: /dev/cu.wchusbserial1420

Once you have it connecting and uploading sketches properly, this is the sketch that works for blink:

void setup() {
pinMode(2, OUTPUT);
}

void loop() {
digitalWrite(2, HIGH);
delay(1000);
digitalWrite(2, LOW);
delay(1000);

Leave a Reply

Your email address will not be published. Required fields are marked *