Brief notes on ESP8266 or ESP32

migrate from https://cmakerhk.wordpress.com/2018/09/28/brief-notes-on-esp8266-or-esp32/


nodeMCU is a 3rd party of esp8266 with aid circuit.

There are muiltiple ways to use ESP8266:

Method 1 ESP8266 AT Bin V1.7.0 - Control AT Mode This allows you communicate with ESP8266 though USART with AT command, you can find this firmware on ESPRESSIF website
Method 2 nodeMCU Firmware This Firmware allows you to write Lua Script to run on ESP8266
Method 3 Arduino IDE By adding the hardware library to Arduino IDE, this allows you to write code on Arduino IDE, and use the similar syntax on Arduino on ESP8266
Method 4 Official SDK It provides two SDK, NONOS SDK, and FreeRTOS SDK, this allows you to write C lang and official API on the ESP8266 chip
M1 you must have something to send the AT Command

M2, M3, M4 allow you to build standalone ESP8266 program

AT, NONOS, FreeRTOS:
https://www.espressif.com/en/products/hardware/esp8266ex/resources

nodeMCU:
https://github.com/nodemcu/nodemcu-firmware
https://github.com/nodemcu/nodemcu-firmware/blob/master/docs/en/flash.md

Arduino IDE:
https://github.com/esp8266/Arduino

Some information online is quite confusing. With Arduino connecting the ESP8266 but using the Arduino IDE, Some are AT command, Some are using the Arduino IDE hardware library………….

##It is fking hard to find the information online…… I spend a whole month to figure out all the relationship ((( don’t blame me stupid

ESP-Link:
https://github.com/jeelabs/esp-link
https://github.com/arduino-org/Esp-Link