* The settings & partition size in Arduino Studio are easy to get wrong. [https://openinverter.org/forum/viewtopic.php?p=29523#p29523]
* [[File:ESP8266 communication with DuPont jump leads and without.png|thumb|If experiencing connection issues, try different cables to rule out bad connectors ( apparently common with recent Olimex)]]The settings & partition size in Arduino Studio are easy to get wrong. [https://openinverter.org/forum/viewtopic.php?p=29523#p29523]
* If you get any of: 1) incomplete responses via HTTP 2) patchy WiFi on a logic board 3) parameters from logic board not loading in web interface; you can try powering the ESP8266 from a different source, or connect it via DuPont leads to rule out connector & plug issues (see photographs).
* If you get any of: 1) incomplete responses via HTTP 2) patchy WiFi on a logic board 3) parameters from logic board not loading in web interface; you can try powering the ESP8266 from a different source, or connect it via DuPont leads to rule out connector & plug issues (see photographs).
* If you are all out of luck, there are alternative boards discussed here [https://openinverter.org/forum/viewtopic.php?t=2299][[File:Esp8266 debugging help.png|thumb|You can try different power sources or different leads when experiencing communication issues.]]
* If you are all out of luck, there are alternative boards discussed here [https://openinverter.org/forum/viewtopic.php?t=2299]
Revision as of 09:21, 3 May 2022
The Olimex MOD-WIFI-ESP8266 WiFi expansion module is commonly used to provide WiFi connectivity and interface for several inverter controllers including the OpenInverter system. This module connects to the controllers via the UEXT header connector.
3.1. Download latest Arduino IDE and install it to PC
3.2. Buy a Weimos D1 mini ESP8266 board with FTDI and get CH340 driver from https://www.wemos.cc/en/latest/d1/d1_mini.html (or use Olimex)
3.3. Inside Arduino IDE install ESP8266
- open the Preferences window
- enter https://arduino.esp8266.com/stable/pack ... index.json into the Additional Board Manager URLs
- open Boards Manager from Tools > Board menu and install esp8266 platform. I select LOLIN D1 R2 mini board, settings are in the pic
3.4. Install ESP8266 Filesystem Uploader
- Download https://github.com/esp8266/arduino-esp8 ... n/releases python support files
- extract file to Arduino IDE tools folder like you see here https://randomnerdtutorials.com/install ... duino-ide/
- restart Arduino for changes to come into effect
3.5. Download Johannes Web interface code here: https://github.com/jsphuebner/esp8266-web-interface
- put the code in the same dir as the ino file, default FSBrowser
- make another dir Data inside first and copy everything here again (i am not sure which files are correct, so i just copy them again) this are the SPIFFS
3.6. Connect board to USB and select correct COM port and rest of settings
- if you used a new board you have to select "erase flash: sketch + wifi settings" so the board will erase its password
- click upload and wait for interface to reset the board
- select tools/ESP8266 sketch data upload and wait for the board to reset
- connect to the board and go to http://192.168.4.1/ to set your wifi settings inside interface
WiFi doesn't show up
- in Arduino studio Tools -> Serial Monitor gives debug info of the chip. If the Serial Monitor says "Unknown command sequence" you need to change the TTL
- if GPIO0 is not resoldered, the chip is in programming mode and will not boot from the flash code
FileNotFound Error in WebInterface
Upload the files from the repository https://github.com/jsphuebner/esp8266-web-interface with below command:
If experiencing connection issues, try different cables to rule out bad connectors ( apparently common with recent Olimex)The settings & partition size in Arduino Studio are easy to get wrong. [1]
If you get any of: 1) incomplete responses via HTTP 2) patchy WiFi on a logic board 3) parameters from logic board not loading in web interface; you can try powering the ESP8266 from a different source, or connect it via DuPont leads to rule out connector & plug issues (see photographs).
If you are all out of luck, there are alternative boards discussed here [2]