Weather informer on color e-paper display

About three years ago I bought a color e-paper display “Waveshare 4.2 inch e-paper module” on Ali, motivated mainly by the desire to try the new technology with my own hands.





The display can display 3 colors (white, black, red) with a resolution of 400 x 300 dots. Connection interface - SPI. In total, you need to connect five information signals: DIN, CLK, CS, BUSY, RESET. Plus, of course, GND and power.





: , . .





, . .

.





: e-paper , .

, , , .





, :))





, ESP8266 Loader.ino, Waveshare. esp8266 , .

, … .. , .





, . , , ( ), . .





, , …





. « », « », « » (-, ..)

, , . , .





, , . , . , .

, .





: , Wi-Fi c , IIS. IIS . , 1 . ESP8266.





, , . LiFePO4. ESP8266. , .





, LiFePo4 4 -. – , . 800 . 4 . , , LiFePo4 18650 26650. 18650 , .

.





LiFePO4 3.6 . LiFePO4. TP5000.





ESP8266

, , -, 1.5 , - , Wi-Fi . 40 , Wi-Fi. , ESP8266 TPL5110. TPL5110 . TPL5110 P-MOSFET . TPL5110 . 0 1. : , . . . . 1 . , IIS. 2.5 . , 1 , .





1 8 . .

– , , , . , , , .





TPL5110 , 2 . . .





ESP8266 TPL5110

ESP8266 . , - - . UART 76 , – 50 . , .





, .    , ESP8266 - .





– D1 (GPIO5). . TPL5110. TPL5110 , .





:





1. “DONE” TPL5110 . 570 .

2. GPIO5 .





ESP8266 :)





– , TPL5110. , DONE. , , , .. .





Iphone 4S. Gas Gauge bq27541 HDQ ( , , ..) LiFePo4. , , TI , bq27541 . . . , , , . .





bq27541 . ESP8266 , – (1 ) EEPROM . , LiFePo4 . , .

ESP8266 .





, . : « 0 !»

, 0 .





- , , .

. .

, .





, 0 , .





, Espressif Systems , . « ».





LiFeP04 , 2700 , 3000 . :).





.1. 4, . , . ESP8266 . - .





Fig 1. Schematic diagram of the Informer
1. Informer

Bluetooth , TX . . , Bluetooth ESP8266 . . 2.





Fig.  2 Debug informer mode
. 2

3 , Bluetooth.





Fig 3. Debug information of the informer on the tablet screen
3.

4 Bluetooth.





Fig.  4. An informer in debug mode with a Bluetooth module and a large red LED.
. 4. Bluetooth .

GxEPD_WiFi_Example Jean-Marc Zingg.





 .





– , , . , , , , , Core, , HEAP.





, . – , Windows.





IIS. , .





-, JSON , esp8266. , .. .





API .  .





– , . . , (. 5), – (. 6).





Fig 5. Image at normal battery voltage
5.
Fig 6. Display at low battery voltage
6.

-90 , .





IIS





.   . , - IIS.





:

.





, . 67 , 72 . , . .. .





- « ». : , , . - .





, .

, .





There is a subtlety: you need to enter a password when running a batch file. This can be easily done by sending a file with a password to the command input like this:





schtasks /change /tn !epaper2 /st 21:20:15 /sd 08.03.2021 < enter.txt







the enter.txt file contains the password and linefeed (pressing the Enter key)





Reception is very old, but quite working.





Results:





Fig 7. Informer on the wall in the hallway.
Fig 7. Informer on the wall in the hallway.

The informer has been successfully working for 3 months, the current battery voltage:





Fig 8. Battery voltage of the informer in millivolts.
Fig 8. Battery voltage of the informer in millivolts.

And according to calculations, the battery should last for 478 days.








All Articles