NodeMCU

from Wikipedia, the free encyclopedia
NodeMCU
developer ESP8266 open source community
License (s) MIT license ( free software )
Architecture (s) ESP-8266
nodemcu firmware
Evaluation platform for NodeMCU

NodeMCU is a free operating system under MIT license for the low-cost 32-bit - microcontroller esp8266 the Chinese company espressif to build wireless -based networks. The application programs are written in the Lua script language and allow comparatively easy access to the hardware of the microcontroller. The beginnings of NodeMCU go back to October 2014 development work by a GitHub user named Hong . The evaluation board is also called NodeMCU and allows programming in Lua as well as programming in C ++ and Arduino.

construction

The operating system kernel of NodeMCU consists of different modules, which are individually combined during the kernel development and form the actual operating system kernel. For example, there are modules such as spiffs , a file system with wear leveling , modules for supporting digital input and output and an analog interface, the timer and UART interface. The WLAN interface integrated in the ESP8266 and, based on it, the Transmission Control Protocol / Internet Protocol (TCP / IP) are supported by their own modules which allow network integration. Higher protocols such as Network Time Protocol (NTP) for synchronizing the time or the MQTT protocol for querying sensor data or transmitting control data for actuators are also available as part of NodeMCU. Various sensors such as temperature or humidity sensors can be integrated as a module by NodeMCU . The operating system kernel including individual modules can also be created using web services.

By using the programming language Lua, no integrated development environment (IDE) is required for developing your own application programs . In principle, a simple text editor is sufficient for creating Lua scripts ; the text files created in this way are stored directly in the NodeMCU file system and executed from there. Due to the high level of abstraction, typical tasks such as connecting to a wireless access point can be implemented with a few lines of program code in Lua. In addition, programs can also be created using other programming environments such as B. the Arduino IDE can be created.

Simple hardware modules, based on the ESP-12 hardware module with integrated USB interface, are available as open hardware for the evaluation and as a development platform for NodeMCU .

See also

Individual evidence

  1. Zeroday: A lua based firmware for wifi-soc esp8266 . Retrieved June 13, 2018.
  2. Hari Wiguna: NodeMCU LUA firmware . Retrieved June 13, 2018.
  3. Hong: First commit of NodeMCU firmware . Retrieved June 13, 2018.
  4. ESP8266 community wiki: NodeMCU . Retrieved August 10, 2019.
  5. Pellepl: Wear leveled SPI flash file system for embedded devices . Retrieved June 13, 2018.
  6. NodeMCU Documentation - API reference. Retrieved June 13, 2018 .
  7. NodeMCU custom builds. Retrieved June 13, 2018 .
  8. nodemcu-devkit. Retrieved June 13, 2018 .