-->
Page 1 of 3

About using NODEMCU as arduino

PostPosted: Sat Nov 07, 2015 8:27 pm
by Mike Lo
Hi guys:
I am new to here. I have a question about using NODEMCU 1.0 as Arduino. i have tried many instruction to make nodemcu an arduino. But non of them works. I wonder if any one has a experience about it. And also is there any way I can updat the nodemcu firmware to latest version?

Re: About using NODEMCU as arduino

PostPosted: Sun Nov 08, 2015 6:10 pm
by electronrancher
Sure, this works fine.

1) Plug NodeMCU into PC, install driver if needed. Remember what serial port it represents
2) Put NodeMCU into firmware upload mode: Hold RST and FLASH buttons, Release RST, Release FLASH.
3) Configure Arduino (Tools menu) to NodeMCU board, your serial port, flash size, etc.
4) Upload sketch.

Now your NodeMCU is flashed with your Arduino sketch. To make it a NodeMCU again, just get the NodeMCU flasher, which will come with the latest NodeMCU firmware bundled in it.

Re: About using NODEMCU as arduino

PostPosted: Mon Nov 09, 2015 12:00 pm
by Silux
After you have downloaded the addon there shouldn't be problems using it as a normal arduino(choose the right board).

Re: About using NODEMCU as arduino

PostPosted: Mon Nov 09, 2015 12:16 pm
by kolban
Howdy Mike,
As I understand it, NodeMCU is a strategy composed of two things ... NodeMCU DevKit and NodeMCU LUA. The first is a physical board based on the ESP8266. The second is firmware that can be loaded into an ESP8266 (including NodeMCU DevKit) that provides an implementation of the LUA programming language.

With these concepts in mind, what I sense you are asking about is using a NodeMCU DevKit as a platform on which you can write C applications using the Arduino IDE that also leverage the Arduino specification for library interfaces? Is this also your understanding?

Arduino is itself a "strategy" ... it is a series of boards that are based on the ATmel processors which have well defined pin definitions. In addition, Arduino provides a development environment called the Arduino IDE that allows programmers to write applications in C using a set of libraries that simplify the task.