Tutorial Arduino Firmware Upload

From Let's Control It
Revision as of 15:23, 19 January 2016 by Admin (talk | contribs)
Jump to navigation Jump to search

Download and installing the Arduino IDE

Download and install Arduino 1.6.5. from https://www.arduino.cc/en/Main/Software

Launch arduino.exe and select preferences

Tutorial Arduino IDE1.png


Enter the URL for additional boards. Currently we use a the 2.0.0. stable version so you should enter:

http://arduino.esp8266.com/stable/package_esp8266com_index.json

Tutorial Arduino IDE2.png


Now navigate to the board manager

Tutorial Arduino IDE3.png


You should see the ESP option

Tutorial Arduino IDE4.png


Click install (this will take some time, be patient, it should download approx. 450 MB)

Tutorial Arduino IDE5.png

Download ESP Easy Firmware

Download the latest version from sourceforge: http://sourceforge.net/projects/espeasy/files

Tutorial FirmWare Easy1.png


The zipfile contains two folders. Unpack the zipfile to some folder of your own choice

Tutorial FirmWare Easy2.png


The libraries folder has 4 libraries. These folder should be copied to the Arduino libraries folder

Tutorial FirmWare Easy3.png


This is the folder structure for Arduino IDE. You can see the libraries folder in here.

Tutorial FirmWare Easy4.png


Once the additional libraries are copied, it should look like this:

Tutorial FirmWare Easy5.png

Compile and upload

Launch Arduino IDE and navigatie to the ESPEasy folder. Open ESPEasy.ino

Tutorial FirmWare Easy6.png


It's important the select the right ESP board. In our case we use the NodeMCU V1.0 board:

Tutorial FirmWare Easy7.png


If you use a generic ESP module with 512k Flash, like the blue colored ESP-01 or the ESP-12 or ESP-201, you have to set parameters manually. In this case it is very important to select the right SPIFFS size!!:

Tutorial Firmware Easy7A.png


And select the right COM port:

Tutorial FirmWare Easy8.png


Finally, upload the sketch to your ESP board:

Please remember to set the esp module in programming mode by pushing and holding the flash button, and pushing the reset button once.

Tutorial FirmWare Easy9.png


If all went well, the result in your status window should look like this:

Tutorial FirmWare Easy10.png