Differences

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

Link to this comparison view

Next revision
Previous revision
Next revision Both sides next revision
project:nodemcu_windev:en [2017/03/11 19:18]
licho created
project:nodemcu_windev:en [2017/03/11 23:52]
licho [Upload NodeMCU firmware]
Line 3: Line 3:
 |**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/|Creative Commons Attribution-ShareAlike; CC BY-SA]] ​ | 
-===== NodeMCU - Developer'​s IDE for nodeMCU on Windows 10 =====+===== Developer'​s IDE for nodeMCU on Windows 10 =====
 Goal of this guide is to build Integrated Developement Environment (IDE) for work and development of nodeMCU solutions on operating system Windows 10. Goal of this guide is to build Integrated Developement Environment (IDE) for work and development of nodeMCU solutions on operating system Windows 10.
  
 === Content === === Content ===
-  * [[nodemcu_windev#Upload NodeMCU firmware|Upload NodeMCU firmware]] +  * [[#Upload NodeMCU firmware|Upload NodeMCU firmware]] 
-  * [[nodemcu_windev#ESP8266 Flasher Tool|SP8266 Flasher Tool]] +  * [[#ESP8266 Flasher Tool|SP8266 Flasher Tool]] 
-  * [[nodemcu_windev#Upload LUA skripts to ESP8266|Upload LUA skripts to ESP8266]] +  * [[#Upload LUA skripts to ESP8266|Upload LUA skripts to ESP8266]] 
-  * [[nodemcu_windev#ESPlorer Tool|ESPlorer Tool]] +  * [[#ESPlorer Tool|ESPlorer Tool]] 
-  * [[nodemcu_windev#Install MongoDB Serveru|Install MongoDB Serveru]] +  * [[#Install MongoDB Serveru|Install MongoDB Serveru]] 
-  * [[nodemcu_windev#Install Node.js|Install Node.js]] +  * [[#Install Node.js|Install Node.js]] 
-  * [[nodemcu_windev#Instalal Python|Install Python]] +  * [[#Instalal Python|Install Python]] 
-  * [[nodemcu_windev#Install Node-Red|Install Node-Red]] +  * [[#Install Node-Red|Install Node-Red]] 
-  * [[nodemcu_windev#Install Mosquitto MQTT Broker|Install Mosquitto MQTT Broker]] +  * [[#Install Mosquitto MQTT Broker|Install Mosquitto MQTT Broker]] 
-  * [[nodemcu_windev#Testing MQTT protocol with MQTTLens|Testing MQTT protocol with MQTTLens]]+  * [[#Testing MQTT protocol with MQTTLens|Testing MQTT protocol with MQTTLens]]
    
 ==== Upload NodeMCU firmware ==== ==== Upload NodeMCU firmware ====
  
-In guide [[nodemcu_lbe:​en|Linux Firmware Build Environment]] we went through steps how to compile nodeMCU firmware. Now we need upload firmware into ESP8266. For this purpose are available scripts and programs on the internet. Here we describe tool for Windows written in Delphi[[https://​github.com/​nodemcu/​nodemcu-flasher|NodeMCU-Flasher]].+In guide [[nodemcu_lbe:​en|Linux Firmware Build Environment]] we went through steps how to compile nodeMCU firmware. Now we need upload firmware into ESP8266. For this purpose are available ​virious ​scripts and programs on the internet. Here we describe tool for Windows written in Delphi[[https://​github.com/​nodemcu/​nodemcu-flasher|NodeMCU-Flasher]].
  
-Before we start uploading firmware enable ​''​FLASH''​ mode. Flash mode can enable ​by pushing ''​FLASH''​ button on nodeMCU or before reboot set ''​GPIO0''​ pin to value ''​LOW''​. [[nodemcu#Důležité upozornění|Důležité upozornění]]+Enable ​''​FLASH''​ mode before start uploading firmware. Flash mode can be enabled ​by pushing ''​FLASH''​ button on nodeMCU or before reboot set ''​GPIO0''​ pin to ''​LOW''​. [[https://​labka.cz/​wiki/​doku.php?​id=project:​nodemcu:en#important_warnings|Important warnings]]
  
 ==== ESP8266 Flasher Tool ==== ==== ESP8266 Flasher Tool ====
Line 43: Line 43:
 </​code>​ </​code>​
  
-{{wiki_nodemcu_comport_win.png}}+{{project:wiki_nodemcu_comport_win.png}}
  
 === Procedure for uploading firmware === === Procedure for uploading firmware ===
   * Connect to serial port   * Connect to serial port
-{{ wiki_nodemcu_esp8266flasher_com.png?​300 }}+{{ project:wiki_nodemcu_esp8266flasher_com.png?​300 }}
   * Change setting for communication with ESP8266 Flasher   * Change setting for communication with ESP8266 Flasher
-{{ wiki_nodemcu_esp8266flasher_config.png?​300 }}+{{ project:wiki_nodemcu_esp8266flasher_config.png?​300 }}
   * Upload monolitic firmware //​flash.bin//​ with ESP8266Flasher.exe to adress //0x00000//   * Upload monolitic firmware //​flash.bin//​ with ESP8266Flasher.exe to adress //0x00000//
-{{ wiki_nodemcu_esp8266flasher_mono.png?​300 }}+{{ project:wiki_nodemcu_esp8266flasher_mono.png?​300 }}
   * Upload compiled bootloader //​bin/​0x00000.bin//​ to adress //0x00000// and firmware //​bin/​0x10000.bin//​ to adress //0x10000//   * Upload compiled bootloader //​bin/​0x00000.bin//​ to adress //0x00000// and firmware //​bin/​0x10000.bin//​ to adress //0x10000//
-{{ wiki_nodemcu_esp8266flasher_dual.png?​300 }}+{{ project:wiki_nodemcu_esp8266flasher_dual.png?​300 }}
   * Confirm previous steps to upload firmware to ESP8266   * Confirm previous steps to upload firmware to ESP8266
-{{ wiki_nodemcu_esp8266flasher_flashing.png?​300 }}+{{ project:wiki_nodemcu_esp8266flasher_flashing.png?​300 }}
   * Wait for success   * Wait for success
-{{ wiki_nodemcu_esp8266flasher_success.png?​300 }}+{{ project:wiki_nodemcu_esp8266flasher_success.png?​300 }}
  
 ==== Upload LUA skripts to ESP8266 ==== ==== Upload LUA skripts to ESP8266 ====
Line 63: Line 63:
  
 ==== ESPlorer Tool==== ==== ESPlorer Tool====
-ESPlorer is IDE for ESP8266, primary supporting LUA, MicroPython and sevel AT commands for ESP8266 . ESPlorer requirers installed package JAVA Standard Edition verion 7 and higher.+ESPlorer is IDE for ESP8266, primary supporting LUA, MicroPython and sevel AT commands for ESP8266. ESPlorer requirers installed package JAVA Standard Edition verion 7 and higher.
  
  
Line 71: Line 71:
 Download ESPlorer [[http://​esp8266.ru/​esplorer/#​download|here]]. Download ESPlorer [[http://​esp8266.ru/​esplorer/#​download|here]].
  
-Supported platforms ​platformy:+Supported platforms:
  
   * Windows(x86,​ x86-64)   * Windows(x86,​ x86-64)
Line 78: Line 78:
   * Mac OS X(x86, x86-64, PPC, PPC64)   * Mac OS X(x86, x86-64, PPC, PPC64)
   ​   ​
-{{ wiki_nodemcu_esplorer.png }}+{{ project:wiki_nodemcu_esplorer.png }}
  
 Output from ESPlorer console Output from ESPlorer console
Line 130: Line 130:
 </​code>​ </​code>​
  
-For semi-automated I wrote in PowerShellu ​5 [[https://​github.com/​lichnak/​nodemcu-labka/​blob/​master/​doc/​wiki/​cs/​InstallMongoDB.ps1|MongDB Installation PowerShell Script]]+For semi-automated I wrote in PowerShell ​5 [[https://​github.com/​lichnak/​nodemcu-labka/​blob/​master/​doc/​wiki/​cs/​InstallMongoDB.ps1|MongDB Installation PowerShell Script]]
    
 ==== Install Node.js ====  ==== Install Node.js ==== 
-[[http://​nodejs.org/​|Node.js]] is an open-source,​ cross-platform JavaScript runtime environment for developing a diverse variety of server tools and applications. Although Node.js is not a JavaScript framework,​[4] many of its basic modules are written in JavaScript, and developers can write new modules in JavaScript. The runtime environment interprets JavaScript using Google'​s V8 JavaScript engine..+[[http://​nodejs.org/​|Node.js]] is an open-source,​ cross-platform JavaScript runtime environment for developing a diverse variety of server tools and applications. Although Node.js is not a JavaScript framework,​[4] many of its basic modules are written in JavaScript, and developers can write new modules in JavaScript. The runtime environment interprets JavaScript using Google'​s V8 JavaScript engine.
  
 Project documenation of [[https://​nodejs.org/​download/​release/​latest/​docs/​api/​|Node.js API]] Project documenation of [[https://​nodejs.org/​download/​release/​latest/​docs/​api/​|Node.js API]]
Line 141: Line 141:
   * Download 64-bit verion of Node.js (32-bit is for hipsters) [[https://​nodejs.org/​download/​release/​v7.0.0/​node-v7.0.0-x64.msi|node-v7.0.0-x64.msi]]   * Download 64-bit verion of Node.js (32-bit is for hipsters) [[https://​nodejs.org/​download/​release/​v7.0.0/​node-v7.0.0-x64.msi|node-v7.0.0-x64.msi]]
   * Install ''​node-v7.0.0-x64.msi''​ package, deafault install path is ''​C:​\Program Files\nodejs''​   * Install ''​node-v7.0.0-x64.msi''​ package, deafault install path is ''​C:​\Program Files\nodejs''​
-  * If you didn't select option ''​Add PATH'',​ then add node.js install path to systéem variale ​''​PATH'' ​+  * If you didn't select option ''​Add PATH'',​ then add node.js install path to system variable ​''​PATH'' ​
   * Now that the ''​PATH''​ variable is set correctly, you will still encounter errors. Manually go into the AppData directory and you will find that there is no npm directory inside Roaming. Manually create this directory.   * Now that the ''​PATH''​ variable is set correctly, you will still encounter errors. Manually go into the AppData directory and you will find that there is no npm directory inside Roaming. Manually create this directory.
 <​code>​ <​code>​
Line 262: Line 262:
 </​code>​ </​code>​
  
-Nyní můžeme spustit ​Node-RED editor ​na [[http://​localhost:​1880|http://​localhost:​1880]]+Now your can find your Node-RED editor ​installation at [[http://​localhost:​1880|http://​localhost:​1880]]
  
-{{wiki_nodemcu_windev_nodered.png}}+{{project:wiki_nodemcu_windev_nodered.png}}
  
 ==== Install Mosquitto MQTT Broker ==== ==== Install Mosquitto MQTT Broker ====
Line 327: Line 327:
 For testing of MTTQ Broker and data on MQTT protocal is used Chrome extensinon MQTTLens For testing of MTTQ Broker and data on MQTT protocal is used Chrome extensinon MQTTLens
  
-{{wiki_nodemcu_mqttlens.png?​750}}+{{project:wiki_nodemcu_mqttlens.png?​750}}
  
  • project/nodemcu_windev/en.txt
  • Last modified: 2017/03/26 12:52
  • by licho