Skip to content

Commit d2504d1

Browse files
committed
SmallBatteryFix & OpenSourcing Schematics, PCB, 3D_Files and more
1 parent 124c5bc commit d2504d1

15 files changed

+39
-43
lines changed

3D Case/BackBezel.3mf

93.8 KB
Binary file not shown.

3D Case/FrontBezel.3mf

43.8 KB
Binary file not shown.
134 KB
Loading
209 KB
Loading
574 KB
Loading
290 KB
Loading
237 KB
Loading
298 KB
Loading

ESP32-e-Paper-Weather-Display.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,9 @@ boolean UpdateLocalTime() {
664664
//#########################################################################################
665665
void DrawBattery(int x, int y) {
666666
uint8_t percentage = 100;
667-
float voltage = analogRead(35) / 4096.0 * 7.46;
667+
float voltage = analogRead(35) / 4096.0 * 6.96;
668668

669-
if (voltage > 1) { // Show voltage only display if there is a valid reading
669+
if ((voltage > 3.0f) && (voltage < 4.9f)) { // Show voltage only display if there is a valid reading
670670
Serial.println("Voltage = " + String(voltage));
671671
percentage = constrain((voltage - 3.5f) * 100.0f / (4.2f - 3.5f), 0, 100);
672672
drawString(x - 5, y, String(percentage) + "%", RIGHT);

README.md

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,6 @@
11
# ESP32-e-Paper-Weather-Display
22
An ESP32 and an ePaper Display reads [Open Weather Map](https://openweathermap.org/) and displays the weather
33

4-
----
5-
ORIGINAL DONE BY G6EJD
6-
7-
----
8-
9-
So please visit his page for the original software: https://github.com/G6EJD/ESP32-e-Paper-Weather-Display
10-
11-
----
12-
ORIGINAL DONE BY G6EJD
13-
14-
----
15-
164
Take a look at the V2 Marani Version. If you like it, download it, if not, take the original one from G6EJD
175

186
I just enhanced his version, like:
@@ -26,35 +14,6 @@ I just enhanced his version, like:
2614
- Moved some Status-Infos to better suitable places
2715
- Stronger lines in Weather Symbols and Wind graphics
2816

29-
30-
31-
----
32-
ORIGINAL DONE BY G6EJD
33-
34-
----
35-
36-
37-
38-
----
39-
ORIGINAL DONE BY G6EJD
40-
41-
----
42-
43-
44-
45-
----
46-
ORIGINAL DONE BY G6EJD
47-
48-
----
49-
50-
51-
52-
----
53-
ORIGINAL DONE BY G6EJD
54-
55-
----
56-
57-
5817
Download the software to your Arduino's library directory.
5918

6019
1. From the examples, choose depending on your module either

0 commit comments

Comments
 (0)