NodeMCU v2: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 10: | Line 10: | ||
OK | OK | ||
But how do I load a LUA script onto it? The NodeMCU website says nowt, so a bit of web searching and it seems that Arduino IDE can be used - very cool! | But how do I load a LUA script onto it? The NodeMCU website says nowt, so a bit of web searching and it seems that Arduino IDE can be used - very cool! | ||
* http://esp8266.github.io/Arduino/versions/2.1.0/doc/installing.html | |||
The Boards Manager within recent Arduino releases takes care of the installation of toolchains and whatever magic that Arduino needs. It downloaded a metric shedload of stuff (153,527kb of who-knows-what!) and then... | |||
http://nodemcu.readthedocs.org/en/dev/en/ | |||
* http://nodemcu.readthedocs.org/en/dev/en/ | |||
== Links == | == Links == |
Revision as of 13:40, 3 March 2016
ESP8266 development board for wifi --Michael Erskine (talk) 13:39, 3 March 2016 (UTC)
So I sent off to China for a NodeMCU board (for £3.55 from http://www.ebay.co.uk/itm/291505733201 at time of writing) thinking that it might be fun to have something that talks over wifi, then forgot all about it. When it arrived in the post yesterday I wondered how I use it! I plugged it into a Windows 7 development PC with the micro USB and Windows went off and installed the CP2102 UART bridge driver. So then it presented itself as a serial port in the Windows Device Manager. I pointed a terminal at it (the free and relatively open Teraterm Pro) and after some faffing worked out it wanted a 115k baudrate. A little web searching revealed that it is expecting AT commands and there's a magic command "AT+GMR" - Cool!
AT+GMR AT version:0.40.0.0(Aug 8 2015 14:45:58) SDK version:1.3.0 Ai-Thinker Technology Co.,Ltd. Build:1.3.0.2 Sep 11 2015 11:48:04 OK
But how do I load a LUA script onto it? The NodeMCU website says nowt, so a bit of web searching and it seems that Arduino IDE can be used - very cool!
The Boards Manager within recent Arduino releases takes care of the installation of toolchains and whatever magic that Arduino needs. It downloaded a metric shedload of stuff (153,527kb of who-knows-what!) and then...