I just got some esp8266 NodeMCU chips, which I want to use for IoT. I understand that these chips are programmed with Lua code. Is this correct?

I found online that I can program these chips with the arduino IDE.

1) Does the arduino code get compiled to Lua?

2) Are there any alternative IDEs for programming these chips?

3) As AVR is used to program Atmel chips on Arduino, is there an equivalent for esp8266s?


this post is related.

What does the 'NodeMCU' in 'esp8266 NodeMCU' mean, as opposed to plain old 'esp8266'.


Any ESP8266 board can be programmed in the Arduino environment, provided you install the ESP8266 addon.

See here for instructions: https://learn.sparkfun.com/tutorials/esp8266-thing-hookup-guide/installing-the-esp8266-arduino-addon

The NodeMCU is just a name of one of the boards that are populated with the ESP8266 MCU. You have other names such as Wemos which is another popular board.

The programming language in Arduino IDE is a language that is merely a set of C/C++ functions, which are then compiled to a binary file which is uploaded to the Microcontroller's Flash memory.

IF you want to use LUA, there are a few IDEs that can be used such as ESPlorer (https://esp8266.ru/esplorer/), but other are available as well.

You can find more info on the ESP8266 here: https://www.esp8266.com/wiki/doku.php


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.