Arduino IDE Installation
Computer Requirements
You'll need a Windows, Mac or Linux computer and Internet connection.
The Arduino IDE software is supported on:
Windows 10 or newer with 32-bit and 64-bit systems
Mac OS 10.10 or newer
Linux: 32 bits, 64 bits, ARM, ARM64
Chromebook
You can use a Chromebook if you enable it for Linux. (Caution: advanced skill level!)
Note that the "Arduino Web Editor" does not support the ESP8266 microncontroller, so we can't use that.
Here is a video that demonstrates how to set this up:
Arduino IDE on Chromebook
USB connections
If your computer has only USB C ports, you'll need a USB C adapter or hub to connect your microcontroller via the USB A cable.
USB C ports look like this: (new notebooks and MacBooks use these)
Arduino IDE Software Installation and Setup
Follow these instructions to Install the Arduino IDE [https://www.arduino.cc/en/software]
Install the CH340 drivers if needed [https://www.wemos.cc/en/latest/ch340_driver.html].
Download links:Mac OSX (Pre 10.14 Mojave *only*) V1.5
(For Mac OSX 10.14 and newer, do not install the driver.)
Add support for the ESP8266 D1 Mini board:
Details:
https://learn.sparkfun.com/tutorials/esp8266-thing-hookup-guide/installing-the-esp8266-arduino-addonFile ... Preferences
"Additional Board Manager URLs"
Copy/paste:
http://arduino.esp8266.com/stable/package_esp8266com_index.json
Click OK.Tools ... Board ... Board Manager ...
Search for esp8266
Select :
esp8266 by ESP8266 Community
Click Install.Tools ... Board ...
Select:
ESP8266 ... LOLIN(WEMOS) D1 Mini (clone)
(Leave all other values as default)
Libraries:
Sketch ... Include Library ... Manage Libraries ...
Search for and install the following libraries:
WiFi Manager by Tablatronix [https://github.com/tzapu/WiFiManager]
ThingSpeak by Mathworks
ESPSoftwareSerial by Dirk Kaar
Test your Arduino IDE installation
Tools ... Port
Look at the list of communication ports (there may be no ports lists)
Connect the USB cable to the ESP8266 board and your notebook
Tools ... Port
Select the new port, which should be the ESP8266 board
File ... New
Select all the text and delete it.
Copy the following Arduino sketch:
#define LED_BUILTIN 2
void setup() {
pinMode(LED_BUILTIN, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, LOW); // D1 Mini: turns the LED *on*
delay(1000);
digitalWrite(LED_BUILTIN, HIGH); // D1 Mini: turns the LED *off*
delay(1000);
}
Sketch ... Upload
Save the sketch when prompted.
Wait for the Arduino compiler to run and upload the program to the ESP8266.
If everything is OK, the last line in the status window, at the bottom of the Arduino IDE, should be:
Hard resetting via RTS pin...Then, the blue LED on the ES8266 board should be blinking once per second.
If this isn't working, ask for assistance.