This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
nodemcu [2015/05/08 04:03] emoon |
nodemcu [2016/02/13 12:50] terrye |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== NodeMCU ====== | ====== NodeMCU ====== | ||
+ | |||
+ | The name **NodeMCU** refers to two separate components: | ||
+ | |||
+ | * The NodeMCU **firmware** which provides a Lua development and execution environment which can run on //any// ESP8266 module with a minimum of 512Kb Flash Memory. | ||
+ | * The NodeMCU Inc manufactured **development kits**. These are low-cost breadboard-friendly modules which are aimed at providing a simple to configure and set up, hardware platform for developing ESP8266-based Lua IoT applications. | ||
+ | |||
+ | ===== Firmware ===== | ||
+ | |||
+ | This is hosted on Github in the [[https://github.com/nodemcu/nodemcu-firmware|Nodemcu Firmware Repository]] with the [[https://nodemcu.readthedocs.org/en/dev/#nodemcu-documentation|NodeMCU Documentation]] online, and an [[nodemcu-unofficial-faq|nodeMCU Unofficial FAQ]] maintained on this wiki for answers to your "Frequently Asked Questions". | ||
===== Hardware ===== | ===== Hardware ===== | ||
- | NodeMCU devkit is a development kit for NodeMCU firmware.\\ It will make NodeMCU more easy. With a micro USB cable, you can connect NodeMCU devkit to your laptop and flash it without any trouble, just like Arduino.\\ It is an open hardware, with ESP-12 core with 32Mbits(4MBytes) flash. | + | NodeMCU devkit is a development kit for NodeMCU firmware. It's aim is to make NodeMCU firmware development more easy. With a micro USB cable, you can connect NodeMCU devkit to your laptop and flash it without any trouble, just like Arduino. It is an open hardware, with ESP-12 core with 32Mbits(4MBytes) flash. |
==== Devkit 0.8 ==== | ==== Devkit 0.8 ==== | ||
- | It is the original design of NodeMCU devkit. Very old and never sell on shop. It can't automatic flash firmware. | + | This was the original design of NodeMCU devkit which never released on general sale. |
- | + | ||
- | {{:devkit_0.8.jpg?600|}} | + | |
==== Devkit 0.9 ==== | ==== Devkit 0.9 ==== | ||
Line 16: | Line 23: | ||
==== Devkit 1.0 ==== | ==== Devkit 1.0 ==== | ||
- | It is the 5th design of NodeMCU devkit. It uses CP2102 as UART bridge, and can flash firmware automatically by using nodemcu-flasher. It support apple's MAC OS. | + | It is the 5th design of NodeMCU devkit. This uses CP2102 as UART bridge, and can flash firmware automatically by using nodemcu-flasher. It also supports Apple's MAC OS. |
{{:devkit_1.0.jpg?600|}} | {{:devkit_1.0.jpg?600|}} | ||
Line 35: | Line 42: | ||
* Build-in json, file, timer, pwm, i2c, spi, 1-wire, net, mqtt, coap, gpio, wifi, adc, uart and system api. | * Build-in json, file, timer, pwm, i2c, spi, 1-wire, net, mqtt, coap, gpio, wifi, adc, uart and system api. | ||
* GPIO pin re-mapped, use the index to access gpio, i2c, pwm. | * GPIO pin re-mapped, use the index to access gpio, i2c, pwm. | ||
- | * Both Integer(less memory usage) and Float version firmware provided. | + | * Both Floating Point and Integer versions of the firmware can be built. |
===== Dependencies ===== | ===== Dependencies ===== | ||
- | * Build on ESP8266 sdk 0.9.5 | + | * Build on ESP8266 the current Espressif non-OS SDK. |
* Lua core based on eLua project | * Lua core based on eLua project | ||
* cjson based on lua-cjson | * cjson based on lua-cjson | ||
Line 52: | Line 59: | ||
//Better run file.format() after flash// | //Better run file.format() after flash// | ||
- | ===== Connect the hardware in serial ===== | + | ===== Connect to the hardware via serial interface ===== |
+ | Need to explain how to connect up serial portion. | ||
baudrate:9600 | baudrate:9600 |