Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maybe Problem with my screen configuration #90

Closed
schymatter opened this issue Apr 5, 2024 · 23 comments
Closed

Maybe Problem with my screen configuration #90

schymatter opened this issue Apr 5, 2024 · 23 comments

Comments

@schymatter
Copy link

Dear lmarzen,

After upload successfully,My screen was lit up but turn to black seconds later,I hardly see information on screen.How to fix it?It circulated about every 10 min.
Thanks!

@lmarzen
Copy link
Owner

lmarzen commented Apr 5, 2024

If the information is faint, this typically indicates low voltage to the panel. Check that the switch on your driver board is set correctly to 0.47.

To better help you, please share what driver board, panel, and esp32 board you are using.

@schymatter
Copy link
Author

如果信息很模糊,这通常表明面板电压较低。检查驱动板上的开关是否正确设置为 0.47。

为了更好地帮助您,请分享您正在使用的驱动板、面板和esp32板。

微信图片_20240405211221
I use the type-c connect to my computer as the 3.7V battery ,is it OK? Or , the 3.7v battery is involved.

@lmarzen
Copy link
Owner

lmarzen commented Apr 5, 2024

Type-C and/or 3.7v battery is fine.

What driver board are you using? The DESPI-C02 or the Waveshare E-Paper Driver HAT rev2.2/rev2.3?

@schymatter
Copy link
Author

schymatter commented Apr 5, 2024

E-Paper Driver HAT rev2.3

@schymatter
Copy link
Author

Type-C and/or 3.7v battery is fine.

What driver board are you using? The DESPI-C02 or the Waveshare E-Paper Driver HAT rev2.2/rev2.3?

Now,Low battery shown on screen

@lmarzen
Copy link
Owner

lmarzen commented Apr 5, 2024

The rev2.3 is not officially supported by this project, instead, you should buy the DESPI-C02.

There have been similar reports of issues with low contrast using the rev2.3 #42 #62 #82. Some people have found working solutions for the rev2.3 so if you are dedicated to making the rev2.3 work, then start there.

@schymatter
Copy link
Author

Hi Imarzen,
I change the board to DESPI-C02 ,but the screen is still so weak to see.Maybe somewhere connection is not available
微信图片_20240414202120
.Would you please give some advise,thanks!

@lmarzen
Copy link
Owner

lmarzen commented Apr 14, 2024

Please confirm the following:

  • that the switch on your DESPI-CO2 is set correctly to 0.47
  • that #define DISP_BW_V2 and #define DRIVER_DESPI_C02 are uncommented in config.h
  • that you are running the latest software

If none of those things are the problem, please provide your serial monitor output.

@lmarzen
Copy link
Owner

lmarzen commented Apr 14, 2024

I also just noticed that your wiring for your DESPI might be incorrect. (though it is hard to tell from the blurry image)

One error is that it looks like SCK goes to 3.3V in your photo (your white wire).

Please confirm that your wiring matches what is shown in this wiring diagram.

image

@schymatter
Copy link
Author

我还注意到您的 DESPI 接线可能不正确。 (虽然从模糊的图像中很难看出)

一个错误是,在你的照片中 SCK 看起来像是 3.3V(你的白线)。

请确认您的接线与此接线图中所示的接线相符。

图像

I connect 3v3 pin and BME-pwr directly to 3v3,if not ,my screen turn to blurred after upload,is it OK?

@lmarzen
Copy link
Owner

lmarzen commented Apr 14, 2024

Please send a clearer picture of your wiring.

@schymatter
Copy link
Author

请发送更清晰的接线图片。

微信图片_20240415004940

@lmarzen
Copy link
Owner

lmarzen commented Apr 14, 2024

Your wiring looks good.

How about...

Please confirm the following:

  • that the switch on your DESPI-CO2 is set correctly to 0.47
  • that #define DISP_BW_V2 and #define DRIVER_DESPI_C02 are uncommented in config.h
  • that you are running the latest software

If none of those things are the problem, please provide your serial monitor output.

@schymatter
Copy link
Author

  • uncommented

After uncommented,errors appear
微信图片_20240415010755

@lmarzen
Copy link
Owner

lmarzen commented Apr 14, 2024

Means your code should look like this...

// E-PAPER PANEL
// This project supports the following E-Paper panels:
//   DISP_BW_V2 - 7.5in e-paper (v2)      800x480px  Black/White
//   DISP_3C_B  - 7.5in e-Paper (B)       800x480px  Red/Black/White
//   DISP_7C_F  - 7.3in ACeP e-Paper (F)  800x480px  7-Color
//   DISP_BW_V1 - 7.5in e-paper (v1)      640x384px  Black/White
// Uncomment the macro that identifies your physical panel.
#define DISP_BW_V2
// #define DISP_3C_B
// #define DISP_7C_F
// #define DISP_BW_V1

// E-PAPER DRIVER BOARD
// Uncomment the macro that identifies your driver board hardware.
#define DRIVER_DESPI_C02
// #define DRIVER_WAVESHARE

@schymatter
Copy link
Author

意味着你的代码应该是这样的......

// E-PAPER PANEL
// This project supports the following E-Paper panels:
//   DISP_BW_V2 - 7.5in e-paper (v2)      800x480px  Black/White
//   DISP_3C_B  - 7.5in e-Paper (B)       800x480px  Red/Black/White
//   DISP_7C_F  - 7.3in ACeP e-Paper (F)  800x480px  7-Color
//   DISP_BW_V1 - 7.5in e-paper (v1)      640x384px  Black/White
// Uncomment the macro that identifies your physical panel.
#define DISP_BW_V2
// #define DISP_3C_B
// #define DISP_7C_F
// #define DISP_BW_V1

// E-PAPER DRIVER BOARD
// Uncomment the macro that identifies your driver board hardware.
#define DRIVER_DESPI_C02
// #define DRIVER_WAVESHARE

Just like this before

@lmarzen
Copy link
Owner

lmarzen commented Apr 14, 2024

Please provide your serial monitor output.

@schymatter
Copy link
Author

Please provide your serial monitor output.

--- Terminal on COM3 | 115200 8-N-1
--- Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
--- More details at https://bit.ly/pio-monitor-filters
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
ets Jul 29 2019 12:21:46

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13232
load:0x40080400,len:3028
entry 0x400805e4
E (583) esp_core_dump_flash: Core dump data check failed:
Calculated checksum='ec239e63'
Image checksum='33333333'
Battery voltage: 4178mv
Connecting to 'HUAWEI-XB'...............................................................................................................................................................................................
IP: 192.168.1.116
Waiting for SNTP synchronization.............
Monday, April 15, 2024 11:23:43
Attempting HTTP request: api.openweathermap.org/data/3.0/onecall?lat=39.800713&lon=116.342904&lang=en&units=standard&exclude=minutely&appid={API key}
200 OK
Attempting HTTP request: api.openweathermap.org/data/2.5/air_pollution/history?lat=39.800713&lon=116.342904&start=1713108229&end=1713194628&appid={API key}
200 OK
Reading from BME280... Success
_PowerOn : 125996
Busy Timeout!
_Update_Full : 10001121
Busy Timeout!
_PowerOff : 10001115
Awake for 42.036s
Entering deep sleep for 356s

@lmarzen
Copy link
Owner

lmarzen commented Apr 15, 2024

Busy Timeout! is unexpected and typically indicates a wiring issue, pin configuration issue (config.cpp), or incorrect switch position on driver board.

What model of epaper panel are you using? I just assumed that it was the 7.5in e-paper (v2) 800x480px Black/White. If it is the colored version make sure the correct panel is selected in config.h.

@schymatter
Copy link
Author

Busy Timeout!是意外的,通常表示接线问题、引脚配置问题 (config.cpp) 或驱动板上的开关位置不正确。

您使用什么型号的电子纸面板?我只是假设它是 7.5 英寸电子纸 (v2) 800x480px 黑白。如果是彩色版本,请确保在 config.h 中选择了正确的面板。

7.5in e-Paper (B) 800x480px Red/Black/White

@lmarzen
Copy link
Owner

lmarzen commented Apr 15, 2024

BINGO! I should have asked that earlier.

Try this...

// E-PAPER PANEL
// This project supports the following E-Paper panels:
//   DISP_BW_V2 - 7.5in e-paper (v2)      800x480px  Black/White
//   DISP_3C_B  - 7.5in e-Paper (B)       800x480px  Red/Black/White
//   DISP_7C_F  - 7.3in ACeP e-Paper (F)  800x480px  7-Color
//   DISP_BW_V1 - 7.5in e-paper (v1)      640x384px  Black/White
// Uncomment the macro that identifies your physical panel.
// #define DISP_BW_V2
#define DISP_3C_B
// #define DISP_7C_F
// #define DISP_BW_V1

@schymatter
Copy link
Author

BINGO! I should have asked that earlier.

Try this...

// E-PAPER PANEL
// This project supports the following E-Paper panels:
//   DISP_BW_V2 - 7.5in e-paper (v2)      800x480px  Black/White
//   DISP_3C_B  - 7.5in e-Paper (B)       800x480px  Red/Black/White
//   DISP_7C_F  - 7.3in ACeP e-Paper (F)  800x480px  7-Color
//   DISP_BW_V1 - 7.5in e-paper (v1)      640x384px  Black/White
// Uncomment the macro that identifies your physical panel.
// #define DISP_BW_V2
#define DISP_3C_B
// #define DISP_7C_F
// #define DISP_BW_V1

I got it.That's the key.Thanks a lot!

@lmarzen
Copy link
Owner

lmarzen commented Apr 15, 2024

Perfect! Glad to hear you got it working. Enjoy your weather display!

@lmarzen lmarzen closed this as completed Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants