Updated Installing the software (markdown)
+10
-4
@@ -14,22 +14,28 @@ If you are Windows user or you just don't have git installed on your PC just dow
|
|||||||
|
|
||||||
We recommend using [Arduino IDE](https://www.arduino.cc/en/software/) for compiling the code. If you don't have it installed please visit official Arduino's website to download it.\
|
We recommend using [Arduino IDE](https://www.arduino.cc/en/software/) for compiling the code. If you don't have it installed please visit official Arduino's website to download it.\
|
||||||
After installing Arduino IDE you need to download board definitions for ESP32.
|
After installing Arduino IDE you need to download board definitions for ESP32.
|
||||||
1. Open Arduino IDE and in File tab select Preferences.
|
1. Open Arduino IDE and in File tab select Preferences.\
|
||||||
|

|
||||||
2. At the bottom you will see Additional Board Manager URLs field. You need to fill it with:\
|
2. At the bottom you will see Additional Board Manager URLs field. You need to fill it with:\
|
||||||
``https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json``
|
``https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json``
|
||||||
Then click OK button
|
Then click OK button
|
||||||
|

|
||||||
3. Now we need to open Board Manager. Select Tools > Board > Boards Manager
|
3. Now we need to open Board Manager. Select Tools > Board > Boards Manager
|
||||||
|

|
||||||
4. Search for ESP32 it should pop up (by Espressif Systems). Then click install
|
4. Search for ESP32 it should pop up (by Espressif Systems). Then click install
|
||||||
5. After installing close the window by clicking OK.
|

|
||||||
|
5. After installing close the window by clicking Close.
|
||||||
6. Select again Tools > Board and from ESP32 list search for ESP32 Dev Module. Then select it.
|
6. Select again Tools > Board and from ESP32 list search for ESP32 Dev Module. Then select it.
|
||||||
|
\
|
||||||
Now extract your previously downloaded code to folder named TEF6686_ESP32
|
Now extract your previously downloaded code to folder named TEF6686_ESP32
|
||||||
1. Double-click on TEF6686_ESP32.ino file to open it in Arduino IDE.
|
1. Double-click on TEF6686_ESP32.ino file to open it in Arduino IDE.
|
||||||
- If you didn't download libraries please follow these steps. Otherwise move to next step.
|
- If you didn't download libraries please follow these steps. Otherwise move to next step.
|
||||||
- In this step you need to download 3 ZIP libraries (TFT_eSPI, TimeLib, Hash). Links to them are included in the code (at the beginning of INO file)
|
- In this step you need to download 3 ZIP libraries (TFT_eSPI, TimeLib, Hash). Links to them are included in the code (at the beginning of INO file)
|
||||||
- Don't extract downloaded ZIP files. Move to Arduino IDE and select Sketch > Include Library > Add .ZIP library
|
- Don't extract downloaded ZIP files. Move to Arduino IDE and select Sketch > Include Library > Add .ZIP library
|
||||||
|

|
||||||
- Select downloaded libraries. After adding 3 libraries you can move to the next step.
|
- Select downloaded libraries. After adding 3 libraries you can move to the next step.
|
||||||
2. In the Arduino IDE Board Manager set the Partition scheme to Huge APP. (3MB APP / 1MB SPIFFS)
|
2. In the Arduino IDE Board Manager set the Partition scheme to Huge APP. (3MB APP / 1MB SPIFFS)
|
||||||
|

|
||||||
3. Modifying TFT_eSPI configuration. If you done that before please move to the next step.
|
3. Modifying TFT_eSPI configuration. If you done that before please move to the next step.
|
||||||
- Open your User_Setup.h file (located in Documents/Arduino/libraries/TFT_eSPI folder) with these values:
|
- Open your User_Setup.h file (located in Documents/Arduino/libraries/TFT_eSPI folder) with these values:
|
||||||
```
|
```
|
||||||
@@ -54,7 +60,7 @@ Now extract your previously downloaded code to folder named TEF6686_ESP32
|
|||||||
## Releases
|
## Releases
|
||||||
1. Hold your BOOT button* on your ESP32 and plug USB cable from ESP to your computer. Make sure that tuner is turned on but the screen is off.
|
1. Hold your BOOT button* on your ESP32 and plug USB cable from ESP to your computer. Make sure that tuner is turned on but the screen is off.
|
||||||
2. Extract downloaded ZIP file and run ``flash.bat`` file.
|
2. Extract downloaded ZIP file and run ``flash.bat`` file.
|
||||||
3. Enter your COM port number (if not sure go to step 3a)
|
3. Enter your COM port number (script will list all available ports if not go to step 3a)
|
||||||
- Press WIN+R and type ``devmgmt.msc`` or just run your Device Manager.
|
- Press WIN+R and type ``devmgmt.msc`` or just run your Device Manager.
|
||||||
- Your ESP32 should pop-up in Ports section with port name in the brackets that you need to give in flash.bat script
|
- Your ESP32 should pop-up in Ports section with port name in the brackets that you need to give in flash.bat script
|
||||||
4. The script will upload code to your ESP and end with "Leaving... Hard resetting via RTS pin..." message.
|
4. The script will upload code to your ESP and end with "Leaving... Hard resetting via RTS pin..." message.
|
||||||
|
|||||||
Reference in New Issue
Block a user