G6EJD / ESP32-e-Paper-Weather-Display

An ESP32 and 2.9", 4.2" or 7.5" ePaper Display reads Weather Underground data via their API and then displays the weather
Other
946 stars 206 forks source link

missing battery voltage display #174

Closed xsnoopy1958 closed 2 years ago

xsnoopy1958 commented 2 years ago

Hi, I am using your ESP32-e-Paper-Wather-Display with waveshare 4,2 inch display and LOLIN32. It is very impressive and i like it very much. But I miss the battery voltage display on the e-Paper.

Can you help please? Thank you in advance.

Bernd

G6EJD commented 2 years ago

That’s because your board is a copy Lolin32 and does not include the voltage sensing input. To fix this you’d need to wire 2 resistors as a voltage divider, so one resistor connects to the Vbat or Battery + terminal the other end to GPIO 35 then from GPIO 35 to Ground via another resistor, both values should be equal and of value 330K each.

xsnoopy1958 commented 2 years ago

Hi, Thank you very much for the solution with the voltage divider. It work perfect Joe.

I have an additional question about the 3 day forecast. In the timeline it says 0, 1 and 2.what does 0 mean for example? Is this the current day? What time is then exactly under the 0?

Thank you in advance for your explanation.

Best regards Bernd

Sent from MailDroid

-----Original Message----- From: G6EJD @.> To: G6EJD/ESP32-e-Paper-Weather-Display @.> Cc: xsnoopy1958 @.>, Author @.> Sent: Mo., 21 Feb. 2022 14:46 Subject: Re: [G6EJD/ESP32-e-Paper-Weather-Display] missing battery voltage display (Issue #174)

That’s because your board is a copy Lolin32 and does not include the voltage sensing input. To fix this you’d need to wire 2 resistors as a voltage divider, so one resistor connects to the Vbat or Battery + terminal the other end to GPIO 35 then from GPIO 35 to Ground via another resistor, both values should be equal and of value 330K each.

-- Reply to this email directly or view it on GitHub: https://github.com/G6EJD/ESP32-e-Paper-Weather-Display/issues/174#issuecomment-1046897879 You are receiving this because you authored the thread.

Message ID: @.***>

G6EJD commented 2 years ago

Good to hear that’s working.

Day-0 is today and then so-on, there was not enough space on screen to put a full word. You can get the time if you wish from the JSON data, the functions are in the code to do that.