-->

Monday, June 25, 2018

Sponsored Links

NodeMCU - Wikipedia
src: upload.wikimedia.org

NodeMCU is an open source IoT platform. These include firmware running on the ESP8266 Wi-Fi SoC from the Espressive System, and hardware based on the ESP-12 module. The term "NodeMCU" by default refers to the firmware rather than the development tools. Firmware uses the Lua scripting language. It's based on the eLua project, and is built on the Espressif Non-OS SDK for ESP8266. It uses many open source projects, such as lua-cjson, and spiff.


Video NodeMCU



Histori

NodeMCU was created shortly after ESP8266 came out. On December 30, 2013, Espressif Systems started production of ESP8266. ESP8266 is a Wi-Fi SoC integrated with the Tensilica Xtensa LX106 core, which is widely used in IoT applications (see related projects). NodeMCU started on October 13, 2014, when Hong did the first nodemcu-firmware file to GitHub. Two months later, the project expanded to include an open hardware platform when developer Huang R performed gerber files from the board of ESP8266, named devkit v0.9. Later that month, Mr. PM moved the MQTT client library from Contiki to the ESP8266 SoC platform, and committed to the NodeMCU project, then NodeMCU can support the IoT MQTT protocol, using Lua to access the MQTT broker. Another important update was made on January 30, 2015, when Devsaurus moved the u8glib project to NodeMCU, enabling NodeMCU to easily push the LCD screen, Screen, OLED, even VGA.

In summer 2015, the creators leave the firmware project and a group of independent but dedicated contributors take over. In summer 2016, NodeMCU includes over 40 different modules. Due to resource constraints, users need to select the relevant modules for their project and build firmware tailored to their needs.

Maps NodeMCU



Related projects

ESP8266 Arduino Core

As Arduino.cc began to develop new MCU boards based on non-AVR processors such as ARM/SAM MCU and used in Arduino Due, they need to modify the Arduino IDE so it would be relatively easy to change the IDE to support alternative tool chain to allow Arduino C/C to compiled into this new processor. They do this by introducing Board Manager and SAM Core. "Core" is a collection of software components required by the Board Manager and Arduino IDE to compile the Arduino C/C source file into the target MCU machine language. Some creative fans of ESP8266 have developed the Arduino core for the ESP8266 WiFi SoC available on the GitHub ESP8266 Core webpage. This is popularly called "ESP8266 Core for Arduino IDE" and has become one of the leading software development platforms for various modules and development boards based on ESP8266, including NodeMCUs.

Getting started with NodeMCU (ESP8266 tutorial #1) - YouTube
src: i.ytimg.com


Pin from NodeMCU

NodeMCU provides access to GPIO (Input/Output General Purpose) and to develop the purpose under the pin mapping table of the API documentation should be referenced.

[*] D0 (GPIO16) can only be used to read/write GPIO. No support for open-drain/interrupt/pwm/i 2c/ow.

New 2018 Ver NodeMCU LUA WiFi Internet ESP8266 Module Board for ...
src: s3-ap-southeast-1.amazonaws.com


Sample code

The NodeMCU repository contains its own collection of complicated code samples. Additionally the NodeMCU documentation provides a small example for most functions and modules.

Connect to AP

GPIO Control

HTTP Request

Do something similar using an HTTP module:

HTTP server

Connected to MQTT Broker

UDP client and server


NodeMCU ESP8266 WiFi V1.0 Rev 2.0 Dev Board Lua Arduino Raspberry ...
src: learcnc.rexkal.com


See also

  • ESP8266
  • ESP32
  • Easy ESP
  • Internet stuff
  • MCU (Micro Control Unit)

IoT - Arduino รข€
src: cdn.instructables.com


References


NodeMCU-32S ESP32 WiFi, Bluetooth, USB, PCB Antenna, ESP-32S ...
src: data.modtronix.com


External links

  • Official website

Source of the article : Wikipedia

Comments
0 Comments