Skip to content

Commit 76cdcf6

Browse files
committed
new updates
1 parent 819a582 commit 76cdcf6

40 files changed

+2550
-1259
lines changed

ESPTiny-Plant.ino

Lines changed: 1155 additions & 631 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,25 +10,24 @@ This is the next evolution from the original [ATtiny13 Plant](https://github.com
1010
- Battery Deep Sleep (20μA)
1111
- Modular PCB (ESP-12E Module, TP4056)
1212

13+
<p align="center">
14+
1315
![Photo](Web/img/photo.jpg?raw=true)
1416

15-
![GUI](Web/img/interface.png?raw=true)
17+
![Diagram](Web/img/diagram.png?raw=true)
18+
19+
</p>
1620

1721
## Download
1822

19-
[ESP8266 Firmware](../../releases/download/1.0/ESPTiny-Plant-Firmware.zip)
23+
[ESP8266 Firmware](../../releases/download/latest/ESPTiny-Plant-Firmware.zip)
2024

2125
## Connect
2226

2327
SSID: Plant
2428
Password: (blank)
2529
Interface: http://192.168.8.8
2630

27-
## Update
28-
29-
1) Connect to ESP8266 WiFi
30-
2) Go to http://192.168.8.8/update
31-
3231
## BOM (Bill of Materials)
3332

3433
| Part | Value | Function |
@@ -46,34 +45,37 @@ This is the next evolution from the original [ATtiny13 Plant](https://github.com
4645

4746
For 12V Battery use HT7533**-2** Regulator
4847

49-
## Diagram
48+
## Technical
5049

51-
![Diagram](Web/img/diagram.png?raw=true)
50+
<p align="center">
5251

5352
![Technical](Web/img/technical.png?raw=true)
5453

54+
</p>
55+
5556
## Build
5657

5758
Sketch (Firmware)
5859

5960
1. Install [Arduino IDE](https://www.arduino.cc/en/main/software)
6061
2. Arduino/File -> Preferences -> Additional Boards Manager URLs: http://arduino.esp8266.com/stable/package_esp8266com_index.json
6162
3. Tools -> Boards -> Board Manager -> esp8266 -> Install
62-
4. Tools -> Boards -> NodeMCU 1.0 -> Flash Size -> 4M (3M SPIFFS)
63+
4. Tools -> Boards -> NodeMCU 1.0 -> Flash Size -> 4M (2M SPIFFS)
6364
5. Sketch -> Export compiled Binary
6465

65-
Additional Libraries
66+
Firmware Binary: `build/esp8266.esp8266.nodemcuv2/ESPTiny-Plant.ino.bin`
6667

67-
https://github.com/me-no-dev/ESPAsyncWebServer
68-
https://github.com/devyte/ESPAsyncDNSServer
69-
https://github.com/me-no-dev/ESPAsyncTCP
70-
https://github.com/me-no-dev/ESPAsyncUDP
71-
https://github.com/mobizt/ESP-Mail-Client
68+
Additional Libraries
7269

70+
* https://github.com/me-no-dev/ESPAsyncWebServer
71+
* https://github.com/devyte/ESPAsyncDNSServer
72+
* https://github.com/me-no-dev/ESPAsyncTCP
73+
* https://github.com/me-no-dev/ESPAsyncUDP
74+
* https://github.com/mobizt/ESP-Mail-Client
7375

74-
FileSystem (Web Interface)
76+
File System (Web Interface)
7577

76-
1. Run "littlefs-build-mac" (Mac) to build LittleFS "/data"
78+
1. Run "littlefs-build-mac" (Mac) or "littlefs-build-win.ps1" (Windows) to build. LittleFS Binary: `build/flash-littlefs.bin`
7779

7880
**Note:** Files must be GZIP'ed. HTTP server sends compressed code to the Browser for decompression.
7981
```
@@ -82,9 +84,9 @@ response->addHeader("Content-Encoding", "gzip");
8284

8385
Flashing Options:
8486

85-
1. [Wireless - Web Interface](http://192.168.8.8/update)
86-
2. [USB-Serial/TTL - Arduino LittleFS Plugin](https://github.com/earlephilhower/arduino-esp8266littlefs-plugin)
87-
3. USB-Serial/TTL - Script "littlefs" (Mac)
87+
1. Wireless - Web Browser [http://192.168.8.8/update](http://192.168.8.8/update)
88+
2. USB-Serial/TTL - [Arduino LittleFS Plugin](https://github.com/earlephilhower/arduino-esp8266littlefs-plugin)
89+
3. USB-Serial/TTL - Script "littlefs-flash-mac" (Mac) or "littlefs-flash-win.ps1" (Windows)
8890

8991
![Flash](Web/img/flash.png?raw=true)
9092

Web/css/bootstrap.css

100644100755
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Web/css/bootstrap.slate.css

100644100755
Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Web/css/rangeslider.css

100644100755
File mode changed.

Web/favicon.ico

100644100755
File mode changed.

Web/graph.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<script src="js/graph.js"></script>
3535
</head>
3636
<body>
37+
<div class="toast-container position-absolute top-0 end-0 p-3" id="notify" style="z-index:2000"></div>
3738
<div class="container-fluid d-flex flex-column">
3839
<div class="row d-flex mt-4">
3940
<div class="col-auto mr-auto mb-auto mt-auto" id="buildGraphButtons"></div>
@@ -53,8 +54,7 @@
5354
</div>
5455
</div>
5556
<div class="row p-4">
56-
<div class="col" id="buildGraphSlider">
57-
</div>
57+
<div class="col" id="buildGraphSlider"></div>
5858
</div>
5959
<div class="row mt-4"></div>
6060
</div>

Web/img/diagram.drawio

100644100755
File mode changed.

Web/img/diagram.png

100644100755
File mode changed.

Web/img/flash.drawio

100644100755
File mode changed.

0 commit comments

Comments
 (0)