/
readme.txt
58 lines (40 loc) · 1.6 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
INSTRUCTIONS FOR OLIMEX ESP8266
[DEVELOPERS]
Build (From Source Code)
[Arduino IDE Setup]
1) Arduino/File -> Preferences -> Additional Boards Manager URLs: http://arduino.esp8266.com/stable/package_esp8266com_index.json
2) Tools -> Boards -> Board Manager -> esp8266 -> Install
3) Tools -> Boards -> Olimex MOD-WIFI-ESP8266-DEV -> Flash Size -> 2M (1M SPIFFS)
4) Tools -> Boards -> Debug Level -> None
[Build]
1) Run ./data.sh (data.ps1 Windows) build data directory
2) Open ESP8266.ino with Arduino IDE
3) Sketch -> Export compiled Binary
[USERS]
Setup (New from Factory)
1) Solder GPIO-0 bridge to 0 to enable UART
2) Connect ESP8266 to Serial (Note: 3.3V ONLY!)
3) Plugin to computer and check/install TTL-USB drivers
4) Run ./sketch.sh (sketch.ps1 Windows) flash "flash-sketch.bin"
5) Run ./spiffs.sh (spiffs.ps1 Windows) flash "flash-spiffs.bin"
6) Solder GPIO-0 bridge back to 1 to enable FLASH
7) Connect to inverter UART (see Wiring)
Setup (Upgrade Existing)
[Web Browser - Recommended]
1) Connect to ESP8266 WiFi
2) Go to http://192.168.4.1/update
[Computer]
1) Connect to ESP8266 (WiFi or Serial)
2) Run ./sketch.sh (sketch.ps1 Windows) flash "flash-sketch.bin"
3) Run ./spiffs.sh (spiffs.ps1 Windows) flash "flash-spiffs.bin"
Wiring
______
________|______|_______
| VCC TXD |
| x x x x x |
| x x x x x |
| GND RXD |
|_______________________|
Usage
1) Connect to WiFi SSID "Inverter" + Password "inverter123"
2) Open web browser and go to http://192.168.4.1