Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
project:nodemcu:en [2017/03/11 22:23]
licho [Hardware]
project:nodemcu:en [2019/02/22 07:25] (current)
cyberian
Line 1: Line 1:
 |**Project owner:**| [[user:​lichnak|lichnak]],​ [[user:​peterbay,​|PeterBay]] | |**Project owner:**| [[user:​lichnak|lichnak]],​ [[user:​peterbay,​|PeterBay]] |
-|**Interested:​** |  |+|**Interested:​** | [[user:​cyberian|Cyberian]] ​|
 |**Related:​**| | |**Related:​**| |
 |**Reference:​**| https://​Espressif.com | |**Reference:​**| https://​Espressif.com |
-| **License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​3.0/|Uveďte původ-Zachovejte licenci; CC BY-SA]] ​ |+| **License:​** | [[https://​creativecommons.org/​licenses/​by-sa/​4.0/|Attribution-ShareAlike 4.0 International; CC BY-SA]] ​ |
 ====== NodeMCU ====== ====== NodeMCU ======
 {{project:​nodemcu-style5-150px.png_150x150.png}} {{project:​nodemcu-style5-150px.png_150x150.png}}
Line 23: Line 23:
   * CPU: 80/160 MHz Tensilica Xtensa LX106   * CPU: 80/160 MHz Tensilica Xtensa LX106
   * RAM: 64 KiB of instruction RAM, 96 KiB of data RAM   * RAM: 64 KiB of instruction RAM, 96 KiB of data RAM
-  * Flash: 512M - 4M, velikost zaleží na modelu ​ESP8266+  * Flash: 512M - 4M, depends on model of ESP8266
   * Embedded WiFi transceiver   * Embedded WiFi transceiver
   * 16 GPIO pins, SPI, I2C, I2S, UART, 10-bit ADC   * 16 GPIO pins, SPI, I2C, I2S, UART, 10-bit ADC
Line 34: Line 34:
  
 {{project:​nodemcu_devkit_v1.0_pinmap.png}} {{project:​nodemcu_devkit_v1.0_pinmap.png}}
 +
 +=== Important warnings ===
 +
 +  * Pin D0 (''​GPIO16''​) can be use only as //gpio// read/write and doesn'​t support //​interrupt/​pwm/​i2c/​ow//​.
 +  * During each reboot, reset or wake activity pin ''​GPIO15''​ ''​MUST''​ be set to ''​LOW''​ and pin ''​GPIO2''​ ''​MUST''​ be set to ''​HIGH''​. Caution requires pin ''​GPIO0'',​ when ''​GPIO0''​ is set to ''​HIGH''​ then boots into ''​RUN''​ mode. when ''​GPIO0''​ is set to ''​LOW''​ then boots into ''​FLASH''​ mode.
 +  * If your intesion is use ''​SLEEP''​ mode, then interconnect pins ''​GPIO16''​ and ''​RST'',​ and then ''​GPIO16''​ will be set to ''​LOW''​ after each wake activity.
 +
 +===== Firmware =====
 +
 +Programming nodeMCU requires programming model similiar to [[|Node.js]] with exception of using LUA instead of JavaScript. Best practices is to select for programming models asynchronous and even-driven models.
 +
 +NodeMCU Documentation [[https://​github.com/​nodemcu/​nodemcu-firmware|page]].
 +
 +NodeMCU firmware can have various modules enabled, which extends capabilities of eLua language used in nodeMCU firmware.
 +NodeMCU firmware is open-source and you can get compiled firmware several ways.
 +
 +  - Cloud service with firmware module wizard configuration [[https://​nodemcu-build.com/​|NodeMCU BUILD]]
 +  - Compile firmware in [[https://​hub.docker.com/​r/​marcelstoer/​nodemcu-build/​|Docker Image]]
 +  - Create your own linux build environment to compile firmware
 +  - Download existing firmware(s) with modules from 3rd party vendors
 +
 +
 +===== IoT Infrastructure =====
 +
 +Let's introduce initial idea about sensors data processing and controlling of remote devices. Main communicatin and controlling compoments are base on technologies ''​TCPIP'',​ ''​MQTT''​ and ''​REST API''​.
 +
 +{{project:​wiki_nodemcu_mqtt_infra.png?​750}}  ​
 +  ​
 +===== Labka nodeMCU Developer Kit =====
 +
 +Labka nodeMCU Developer Kit provide guidence through installation of software compoments for development and testing purposes of IoT Infrastructure. ​ Among other things Labka nodeMCU Developer Kit brings comfort into IoT development.  ​
 +
 +  * [[:​project:​nodemcu_lbe:​en|Linux Firmware Build Environment for nodeMCU firmware]]
 +  * [[:​project:​nodemcu_ubudev:​en|Developer'​s IDE for nodeMCU on Ubuntu]]
 +  * [[:​project:​nodemcu_windev:​en|Developer'​s IDE for nodeMCU on Windows 10]]
 +  * [[:​project:​nodemcu_le:​en|LUA Scripting environment in nodeMCU firmware]]
 +
 +
 +===== Prototypes =====
 +
 +Prototypized hardware and software technology sets to be included in IoT Infrastructure
 +
 +  * [[:​project:​nodemcu_httpd:​en|NodeMCU HTTP Server]]
 +  * [[:​project:​nodemcu_mqtt:​en|NodeMCU MQTT Client]]
 +  * [[:​project:​nodemcu_ps:​en|Perimetr Server]]
 +  * [[:​project:​nodemcu_ccs:​en|Central Control Server]]
 +  * [[:​project:​nodemcu_lsa:​en|Labka Smart API]]
 +  * [[:​project:​nodemcu_sd:​en|Smart Dashboard]]
 +  * [[:​project:​nodemcu_ma:​en|Mobile Applications]]
 +
 +
  • project/nodemcu/en.1489267391.txt.gz
  • Last modified: 2017/03/11 22:23
  • by licho