ESP8266 Support WIKI

User Tools

Site Tools


start-with-esp-12-arduino

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
Next revision Both sides next revision
start-with-esp-12-arduino [2018/04/01 09:29]
jpascher [Setup and start test program blink]
start-with-esp-12-arduino [2018/04/01 10:21]
jpascher [Setup and start test program blink]
Line 30: Line 30:
   * Plugin Adapter (without ESP connected) to USB and check in Windows with Hardware manager that the added COM port ist working. And verify the COM"​XX"​ in use. You may use Putty to test the COM port with RXD and TXD connected toggelter. This will give you an echo on the Terminal all you type comes back to the display. ​   * Plugin Adapter (without ESP connected) to USB and check in Windows with Hardware manager that the added COM port ist working. And verify the COM"​XX"​ in use. You may use Putty to test the COM port with RXD and TXD connected toggelter. This will give you an echo on the Terminal all you type comes back to the display. ​
   * Install Arduino form "​https://​www.arduino.cc/​en/​Main/​Donate" ​   * Install Arduino form "​https://​www.arduino.cc/​en/​Main/​Donate" ​
-  * Open in Arduino "​File"​ -> "​Preferences"​ window and add in an additional Board Manager URL: http://​arduino.esp8266.com/​versions/​2.3.0/​package_esp8266com_index.json  +  * Open in Arduino "​File"​ -> "​Preferences"​ window and add in an additional Board Manager URL:​http://​arduino.esp8266.com/​versions/​2.4.1/​package_esp8266com_index.json 
-  * Type in "​esp8266"​ and select the correct chip in the popup window.  ​+  * Type in "​esp8266"​ and select the correct chip in the popup window. And select the latest version.  ​
   * Open in Arduino "​Tools"​ -> Board:"​xxxxxxx"​ Board manager window and find Board name: "​NodeMCU 1.0 (ESP-12E Module)"​   * Open in Arduino "​Tools"​ -> Board:"​xxxxxxx"​ Board manager window and find Board name: "​NodeMCU 1.0 (ESP-12E Module)"​
   * Open in Arduino "​Tools"​ -> PORT:"​xxx"​ the port your Adapter is on.    * Open in Arduino "​Tools"​ -> PORT:"​xxx"​ the port your Adapter is on. 
   * Open in Arduino "​File"​ -> "​Examples"​ and find -> "​Examples for NodeMCU 1.0 (ESP-12E Module)"​ ->  and then "​ESP8266"​ -> then"​BlinkWithoutDelay"​ Example.   * Open in Arduino "​File"​ -> "​Examples"​ and find -> "​Examples for NodeMCU 1.0 (ESP-12E Module)"​ ->  and then "​ESP8266"​ -> then"​BlinkWithoutDelay"​ Example.
-  * Add the following Line on top of the Example: **#define LED_BUILTIN 2** This is needed because the Example is written for a different board. The blue LED is in PIN 2not on PIN 1.+  * Add the following Line on top of the Example: **#define LED_BUILTIN 2** (This is needed because the Example is written for a ESP-01 module and not for ESP-12. The blue LED is on internal ​PIN 2 not on PIN 1. There seams to be some confusion on Port numbering. On the board is written TXD0 for this pin. Alternativ one can install the latest Master version from Git as explained here: https://​github.com/​esp8266/​Arduino) ​
   * Turn on the program swish on the board or on the adapter. -> Push reset. ​   * Turn on the program swish on the board or on the adapter. -> Push reset. ​
   * In Arduino push the upload (Blue error ->) and wait until 100% is reached. While uploading the blue LED on the board is flashing.   * In Arduino push the upload (Blue error ->) and wait until 100% is reached. While uploading the blue LED on the board is flashing.
start-with-esp-12-arduino.txt · Last modified: 2018/08/26 17:47 by rudy