This How-To is based on this great explanations by tttapa
-
Install esptool
-
Get the latest NONOS firmware from here
-
Extract the firmware and navigate into the bin directory of the extracted firmware
$ cd ~/Downloads/ESP8266_NONOS_SDK-3.0/bin
-
Build up the schematic shown here
-
Connect the Arduino via USB to your pc and check the port with
dmesg
-
Note the port, it should look something like /dev/ttyACM3
-
Put the ESP into program mode by following these steps:
- Press and hold the "Reset"-Button
- Press and hold the "Progam"-Button
- Release the "Reset"-Button
- Release the "Program"-Button
-
Flash the latest firmware with the following command:
$ esptool -p /dev/ttyACM3 --chip esp8266 write_flash -fm dio 0x00000 boot_v1.7.bin 0x10000 at/1024+1024/user1.2048.new.5.bin 0xfc000 esp_init_data_default_v08.bin 0xfe000 blank.bin
- Start Arduino and open Preferences window.
- Enter
https://arduino.esp8266.com/stable/package_esp8266com_index.json
into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas. - Open Boards Manager from Tools > Board menu and find esp8266 platform.
- Select the version you need from a drop-down box.
- Click install button.
- Don’t forget to select your ESP8266 board from Tools > Board menu after installation.
- Open Manage Libraries... from Tools and find PubSubClient by Nick O' Leary.
- Select the version you need from a drop-down box.
- Click install button.
- Open Manage Libraries... from Tools and find OneWire by Jim Studt.
- Select the version you need from a drop-down box.
- Click install button.
- Open Manage Libraries... from Tools and find DallasTemperature by Miles Burton.
- Select the version you need from a drop-down box.
- Click install button.
- board esp8266 (v2.3.0)
- lib PubSubClient (v2.6.0)
- lib OneWire (v2.3.4)
- lib DallasTemperature (v3.8.0)
Every help is appreciated, take a look at the Contributing file.