lmarzen / esp32-weather-epd

A low-power E-Paper weather display powered by an ESP32 microcontroller. Utilizes the OpenWeatherMap API.
GNU General Public License v3.0
2.33k stars 179 forks source link

e-paper display palely #82

Closed Mor1arty closed 4 months ago

Mor1arty commented 4 months ago

Hello!

I'm using waveshare E-Paper_ESP32_Driver_Board with 7.5 inch e-Paper (V2).

I think my configurations are right as the e-Paper did display contents.

However, when the driver board restarted, the e-Paper faded in and out. After that, the e-Paper remained in pale pictures and words, which could be hardly seen without strong light.

I've tried the official display demo project, and the e-Paper could show everything normally.

Could you please help me fix it?

2141708069407_ pic_hd

e27e13a4c61c25c3408fc41c039ccc18

lmarzen commented 4 months ago

I just updated the pinout since some folks reported issues with the CS pin being shared by the LED pin of the firebeetle esp32-e board. https://github.com/lmarzen/esp32-weather-epd/issues/77 Consider updating your pinout as shown in the latest version of the readme to see if that fixes your issue.

Can you confirm which revision of the Waveshare HAT you are using? Other users of this project have reported trouble with Waveshare's new rev2.3 HAT. A number of workarounds have been suggested (see https://github.com/lmarzen/esp32-weather-epd/issues/62 https://github.com/lmarzen/esp32-weather-epd/issues/42), however, some of them may be a little out of date.

Mor1arty commented 4 months ago

Thanks for your help!

I'm using waveshare esp32 e-Paper Driver Board isntead of firebeetle esp32-e board.

I reset all my configurations and tighten the wires, then my problem fixed!

Thanks again!

lmarzen commented 4 months ago

Oh, I see. I don't have any experence with the waveshare esp32 board. Maybe the display init function needs to be tweaked? https://github.com/lmarzen/esp32-weather-epd/blob/main/platformio/src/renderer.cpp#L225

lmarzen commented 4 months ago

Try setting your switch to 0.47R (A).

It seems that for the driver hat, 0.47R is B, but on the esp32 waveshare board 0.47R is A?

Mor1arty commented 4 months ago

Try setting your switch to 0.47R (A).

It seems that for the driver hat, 0.47R is B, but on the esp32 waveshare board 0.47R is A?

Yes exactly!

The e-Paper works perfectly after I turn the switch on the esp32 waveshare board from B( by default) to A.

Thank you! You are so cool!

lmarzen commented 4 months ago

Glad to hear that was it!