毒鸡汤墨水屏日历

Overview

缘由

前两个星期,无意中在小米有品的商店中看到一款电子墨水屏的日历,如下图。觉得挺有意思。刚好新冠疫情前期时,在家闲得慌也用微雪的墨水屏做过一个展示COVID数据的可穿戴设备外挂。 简单评估了下觉得这玩意儿也不难,那就自己做一个毒鸡汤电子墨水屏日历吧。

秒秒测电子墨水屏日历

方案选型

硬件

  • 屏幕:在这样的电子产品中,屏幕可能会是硬件成本最大的一块了。从某些评测视频中看到,秒秒测的这款电子日历为了降低硬件成本应该是没有采用并口的墨水屏方案,只能全刷屏幕且刷新率较低,尺寸为5.83寸。恰好微雪也有一款同尺寸的屏幕如下图分辨率为648*480,基于SPI接口,我猜测和秒秒测应该是同类型/型号的面板,于是毫不犹豫的采用了这款。此屏幕零售价格为231元。如果您希望未来通过树莓派或者其他Arduino设备来驱动他,可以选择带有适配板的套装价格为283.5元。还有就是,现在随着电子墨水屏技术的发展其实也有了彩色的,例如微雪这里也有可额外显示红色或者黄色的版本。不过成本自然就上去了,同时如果您想要复用我的代码,可能也或多或少需要做些少量改动。

微雪5.83寸电子墨水屏模块

微雪电子墨水屏适配板

  • 计算单元:目前使用乐鑫的ESP32芯片可能是个最佳选择,自带2.4G无线网络和蓝牙,具有充足的引脚。动手能力强的可以自己买基于ESP32的模组然后整合到自己的板子里,当然也可以采用市面上各种各样基于ESP32的开发板(当然,前面这两种方式都需要买屏幕时顺便买上适配板,好将屏幕的软排线转换为SPI接口)。作为我这种硬件手残党,加上为了快速出东西,自然还是选用微雪的自带了软排线接口的基于ESP32的墨水屏开发板了,价格78.75元。

ESP32模组

ESP32 DevKitC开发板

微雪ESP32电子墨水屏开发板

  • 电源:在开发过程中,可以通过电脑上的USB接口用micro USB线直接通过开发板来进行供电和调试工作。如果您想要在实际使用中摆脱开电源线的话,我建议您从伟大的某宝上找一块自带micro USB充放接口的锂电池。根据电池的容量不同价格可能不一,不过一般也都是在50元以下,可选择的太多这里我就不放链接了。 因为缺少电压/电量检测,很容易造成锂电过放,所以不建议用我下图这种电池(除非您买的电池是本身有电量显示的)。。。而且我手里的这块微雪的板子的针脚都被我剪断并用热熔胶粘到了镜框背面,所以短期内可能无法进行电池电压检测相关的尝试,主要的是,大家的电源可能不一样,而且接到主板上的方式也不一样比较难做一个统一的电池电源电量检测方案。所以,目前建议大家要么买带有电量显示的锂电池,要么用其他USB电源直接供电。

  • 最后。。。别忘了。。。框架: 根据您的实际情况,找个合适的镜框/盒子什么的,当然您愿意的话裸板挂在墙上也不是不可以。

软件

  • 框架:ESP32上的应用程序可以采用多种软件框架和语言来开发,例如Espressif自己的EDF-IDF框架,或者大家熟悉的Arduino。对我来说,还是用Arduino比较方便点,毕竟里面有许多大量的现成的第三方库可以使用。
  • 开发工具:虽然使用了Arduino框架,但是我还是放弃了Arduino自有的IDE,那玩意儿太难用了,谁用谁知道。都2020年(误,写文档的今天已经是2021年了)我自然是推荐使用Visual Studio Code了,和Git的整合,各种语法高亮快捷跳转。。。相比之下Arduino IDE简直是小盆友的玩具。使用VSCode你来开发Arduino应用的话也还有两个选择,使用微软自己的Arduino插件,或者使用PlatformIO。它也是VSCode的插件,但是内置了各种嵌入式硬件平台和框架和库的整合。用它来做Arduino开发简直要爽到飞起。不过PlatformIO和微软的Arduino插件有冲突只能二选一(我个人还是推荐PlatformIO)。尤其是本Repo中工程为PlatformIO工程,如果您希望在VSC中最小改动进行部署的话,那么您也使用PaltformIO是最好的选择。当然,使用原生 Arduino IDE 需要有一点点小的改动。PlatformIO IDE
  • 相关类库: 在本软件开发中,主要用到了如下第三方库
    • Adafruit GFX: 由著名的电子硬件社区Adafruit提供的一套图形图像引擎。做各种需要显示输出的Arduino应用一般都少不了它了。
    • GxEPD2:基于Adafruit_GFX库来驱动各种电子墨水屏。
    • U8g2 for Adafruit GFX:一套基于U8g2字体引擎来通过Adafruit GFX来显示文字的第三方库。
    • 对于中文字库的生成我使用了前几天撸的一个懒人工具来配合U8g2 for Adafruit GFX.
    • ArduinoJSON:要处理JSON字符串现在少不了它了。
  • 相关服务
    • 毒鸡汤:毒鸡汤的内容并没有采用网络上现有的某个API来处理,而是直接硬编码到了src/toxicsoul.h里。一是觉得又要申请什么API Key之类的太麻烦,服务还不一定长期有效,二是觉得内容不可控有点不放心。所以只不过随手从网上搜了搜一些别人提供的毒鸡汤内容,然后综合整理去重,简单的清洗掉过长或者过时,或者一眼看上去就比较三俗的内容。当然,我也没有耐心挨个去看这好几千条,所以毕竟会有疏忽的地方。如果您有更好的内容或者觉得现有内容有不合适的地方或者说您觉得哪些内容侵犯了您的权利,欢迎提出PR。
    • IP地址查询:用来通过当前设备的IP地址查询得知当前位置。具体可见 src/MyIP.hsrc/MyIP.cpp
    • 字体:项目中的字体使用了造字工房的部分非商用字体来生成。如您要使用,请确保在其授权范围内使用。
    • 天气服务:这里用了和风天气开发平台的服务。所以需要您前往注册账号并获取到自己的一个应用程序Key来替换src/config.h中的占位符。具体相关代码可以参见 src/QWeather.hsrc/QWeather.cpp
const String QWEATHER_API_KEY = "********************";

装配

硬件

连接您的电子墨水屏到微雪的ESP32开发板上,其实很简单,就一个软排线接口,插上口按下卡扣就好。就不多说了。

软件

VSCode和PlatformIO IDE的安装我也不在累述,请自行完成。需要注意以下两点:

  • 修改和风天气API的Key,别忘了

- 从VSCode中分别按照以下步骤从PlatformIO的插件里分别Build和上传文件分区镜像(就是那些天气图标什么的)和程序固件。

如果一切顺利,在VSCode里PlatformIO的串口监视器里就能看到输出的信息了。

成品

只需要简单的替换源代码中你的和风天气API的Key,然后把程序烧录到开发板里,用热熔胶和其他工具把它固定到镜框里,连接上电源。一个毒鸡汤电子墨水屏日历就完工了。 毒鸡汤电子墨水屏日历 成品背面 成品 成品

待优化

  • 加入ESP32的睡眠模式处理来节电,(已经完成)
  • 增加更多内容。。。数据都有就看怎么画好看了。
  • u8g2Fonts引擎和GxEPD2原生绘图之间的冲突问题,目前只能先写完文字刷新后再重新画图然后再刷新。存在二次刷新问题。
  • 改善网络的刷新机制,目前比较懒,所以是每次请求时都会刷新。(使用Deep Sleep机制,所以还是每次都刷新一下好)
  • 清理不必要的字体/缩减字体文件大小。目前为了省事儿,所以打包进了太多字体占用了太多空间,回头有时间得要清理下。
Issues
  • 关于ESP32节能

    关于ESP32节能

    如果用wifi, 连接路由器,获取信息的时间很难被缩短, 唤醒一次后的处理时间可能会需要10-20秒,且wifi电量消耗较大, 普通电池能撑到1-2周是其极限.如果想在节电上做到极致: 1.可考虑用两个ESP32,一个电池供电,定期蓝牙检查新信息并显示到墨水屏,快速休眠. 另一个负责缓存信息,不用电池,不考虑休眠. 前者如果5分钟一次唤醒, 每次唤醒时电量约在5秒×电流60ma, 平滩下来相当于平均1ma电流, 休眠时电流接近0, 算下来,18650电池 2000mah电量能支持约 2000×0.8/24/1= 2个月左右.
    2.不同的esp32板外围电路在休眠时耗电情况不一样,0.1-4ma不等. 3.GxEPD2有一休眠函数,如果调用,可以缩短一半秒数快速进入休眠状态, 祝你能做出更省电的墨水屏方案.

    opened by lixy123 8
  • vscode build报错

    vscode build报错

    按照教程在vscode中执行build错做之后,控制台显示如下:

    /Users/xxxx/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: cannot find crt1-sim.o: No such file or directory /Users/xxxx/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: cannot find _vectors.o: No such file or directory collect2: error: ld returned 1 exit status *** [.pio/build/esp32dev/firmware.elf] Error 1

    opened by corogoo 4
  • 更换了wifi环境,重连并没出现重新配网的二维码

    更换了wifi环境,重连并没出现重新配网的二维码

    感谢您的项目,让我快速拥有了一个可爱的桌面小台历

    我发现如果将配过网的设备带到新的wifi环境,就会无限load saved credentials 并restart,没有进入重新扫码配网环节。 还有,如果配置了错误的wifi信息(比如配了个5G的wifi),也会导致无限reload。

    这个设置下重试计数会不会更好一些?

    再次感谢您的项目

    opened by Algustav 4
  • 编译报错:xtensa-esp32-elf/bin/ld: cannot find crt1-sim.o: No such file or directory

    编译报错:xtensa-esp32-elf/bin/ld: cannot find crt1-sim.o: No such file or directory

    在build的过程中报错,尝试查找了一些原因,有认为是编译出来的ELF是32位,与系统的GCC不兼容,想问下您有什么解决方案吗?谢谢

    /Users/giotto/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: cannot find crt1-sim.o: No such file or director/
    /Users/giotto/.platformio/packages/toolchain-xtensa32/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: cannot find _vectors.o: No such file or directory
    collect2: error: ld returned 1 exit status
    *** [.pio/build/esp32dev/firmware.elf] Error 1
    
    OS: macOS
    IDE:Visualstudio Code + platformio
    
    opened by GiottoLee 3
  • 【已知问题】使用WiFiClientSecure访问 api.myip.la 的偶发性不稳定的问题

    【已知问题】使用WiFiClientSecure访问 api.myip.la 的偶发性不稳定的问题

    在通过 api.myip.la 请求获取到自己的IP地址和城市信息时,偶发性请求失败这样会造成后面的天气预报信息获取失败,目前初步推测或许和这套服务在美国从而网络线路上的问题有关。虽然这个服务使用了 ipip.net 的数据,但是 ipip.net 在国内并没有提供类似的API服务,而只是简单的一个直接输出纯文本信息的URL请求http://myip.ipip.net/,它的请求倒是挺稳定,但是在Arduino里用C/C++来拆解这个输出结果如下方所示,对我来说略麻烦。。。嗯,所以还是暂时搁置有空再改吧。

    当前 IP:111.111.111.111  来自于:中国 北京 北京  联通
    
    待解决 
    opened by breakstring 1
  • 内核崩溃是什么情况啊。。

    内核崩溃是什么情况啊。。

    `从和风天气中取到匹配城市: 重庆 https://devapi.qweather.com/v7/weather/now?gzip=n&location=101040100&key=*************&lang=zh&unit=m {"code":"200","updateTime":"2021-10-30T16:27+08:00","fxLink":"http://hfx.link/2c11","now":{"obsTime":"2021-10-30T16:10+08:00","temp":"19","feelsLike":"19","icon":"104","text":"阴","wind360":"90","windDir":"东风","windScale":"1","windSpeed":"4","humidity":"64","precip":"0.0","pressure":"989","vis":"11","cloud":"91","dew":"13"},"refer":{"sources":["QWeather","NMC","ECMWF"],"license":["no commercial use"]}} https://devapi.qweather.com/v7/air/now?gzip=n&location=101040100&key=******************&lang=zh {"code":"200","updateTime":"2021-10-30T15:58+08:00","fxLink":"http://hfx.link/2c14","now":{"pubTime":"2021-10-30T15:00+08:00","aqi":"43","level":"1","category":"优","primary":"NA","pm10":"43","pm2p5":"29","no2":"18","so2":"8","co":"0.5","o3":"71"},"station":[{"pubTime":"2021-10-30T15:00+08:00","name":"昌元","id":"CNA3610","aqi":"64","level":"2","category":"良","primary":"PM10","pm10":"78","pm2p5":"39","no2":"19","so2":"14","co":"0.4","o3":"82"},{"pubTime":"2021-10-30T15:00+08:00","name":"龙门街","id":"CNA3601","aqi":"42","level":"1","category":"优","primary":"NA","pm10":"42","pm2p5":"28","no2":"33","so2":"10","co":"0.7","o3":"82"},{"pubTime":"2021-10-30T15:00+08:00","name":"虎峰","id":"CNA3600","aqi":"56","level":"2","category":"良","primary":"PM10","pm10":"61","pm2p5":"36","no2":"17","so2":"11","co":"1.2","o3":"76"},{"pubTime":"2021-10-30T15:00+08:00","name":"书院路","id":"CNA3599","aqi":"52","level":"2","category":"良","primary":"PM2.5","pm10":"37","pm2p5":"36","no2":"16","so2":"6","co":"0.4","o3":"68"},{"pubTime":"2021-10-30T15:00+08:00","name":"高寺路","id":"CNA3485","aqi":"31","level":"1","category":"优","primary":"NA","pm10":"31","pm2p5":"19","no2":"12","so2":"8","co":"0.4","o3":"58"},{"pubTime":"2021-10-30T15:00+08:00","name":"行政中心","id":"CNA3484","aqi":"48","level":"1","category":"优","primary":"NA","pm10":"48","pm2p5":"31","no2":"29","so2":"14","co":"0.7","o3":"47"},{"pubTime":"2021-10-30T15:00+08:00","name":"西山","id":"CNA3483","aqi":"27","level":"1","category":"优","primary":"NA","pm10":"24","pm2p5":"18","no2":"8","so2":"6","co":"0.3","o3":"84"},{"pubTime":"2021-10-30T15:00+08:00","name":"芙蓉中路","id":"CNA3482","aqi":"30","level":"1","category":"优","primary":"NA","pm10":"30","pm2p5":"20","no2":"8","so2":"7","co":"0.5","o3":"75"},{"pubTime":"2021-10-30T15:00+08:00","name":"百安坝","id":"CNA3356","aqi":"31","level":"1","category":"优","primary":"NA","pm10":"31","pm2p5":"10","no2":"12","so2":"5","co":"0.2","o3":"61"},{"pubTime":"2021-10-30T15:00+08:00","name":"周家坝","id":"CNA3355","aqi":"20","level":"1","category":"优","primary":"NA","pm10":"20","pm2p5":"9","no2":"7","so2":"4","co":"0.2","o3":"50"},{"pubTime":"2021-10-30T15:00+08:00","name":"舟白","id":"CNA3354","aqi":"33","level":"1","category":"优","primary":"NA","pm10":"28","pm2p5":"23","no2":"7","so2":"8","co":"0.5","o3":"87"},{"pubTime":"2021-10-30T15:00+08:00","name":"迎宾大道","id":"CNA3353","aqi":"40","level":"1","category":"优","primary":"NA","pm10":"40","pm2p5":"20","no2":"10","so2":"8","co":"0.5","o3":"92"},{"pubTime":"2021-10-30T15:00+08:00","name":"桃源西路","id":"CNA3352","aqi":"41","level":"1","category":"优","primary":"NA","pm10":"41","pm2p5":"24","no2":"13","so2":"8","co":"0.5","o3":"66"},{"pubTime":"2021-10-30T15:00+08:00","name":"棠香","id":"CNA3351","aqi":"45","level":"1","category":"优","primary":"NA","pm10":"37","pm2p5":"31","no2":"17","so2":"11","co":"0.4","o3":"86"},{"pubTime":"2021-10-30T15:00+08:00","name":"滩子口","id":"CNA3350","aqi":"44","level":"1","category":"优","primary":"NA","pm10":"44","pm2p5":"28","no2":"8","so2":"14","co":"0.5","o3":"71"},{"pubTime":"2021-10-30T15:00+08:00","name":"人民东路","id":"CNA3349","aqi":"40","level":"1","category":"优","primary":"NA","pm10":"33","pm2p5":"28","no2":"11","so2":"7","co":"0.7","o3":"69"},{"pubTime":"2021-10-30T15:00+08:00","name":"春阳街","id":"CNA3348","aqi":"52","level":"2","category":"良","primary":"PM10","pm10":"54","pm2p5":"29","no2":"11","so2":"12","co":"0.6","o3":"81"},{"pubTime":"2021-10-30T15:00+08:00","name":"北山路","id":"CNA3347","aqi":"63","level":"2","category":"良","primary":"PM2.5","pm10":"62","pm2p5":"45","no2":"27","so2":"8","co":"0.7","o3":"61"},{"pubTime":"2021-10-30T15:00+08:00","name":"安康","id":"CNA3346","aqi":"22","level":"1","category":"优","primary":"NA","pm10":"9","pm2p5":"3","no2":"10","so2":"3","co":"0.5","o3":"70"},{"pubTime":"2021-10-30T15:00+08:00","name":"上清寺","id":"CNA3133","aqi":"50","level":"1","category":"优","primary":"NA","pm10":"50","pm2p5":"33","no2":"26","so2":"10","co":"0.9","o3":"84"},{"pubTime":"2021-10-30T15:00+08:00","name":"龙洲湾","id":"CNA3016","aqi":"48","level":"1","category":"优","primary":"NA","pm10":"47","pm2p5":"33","no2":"23","so2":"6","co":"0.7","o3":"61"},{"pubTime":"2021-10-30T15:00+08:00","name":"龙井湾","id":"CNA3015","aqi":"42","level":"1","category":"优","primary":"NA","pm10":"37","pm2p5":"29","no2":"19","so2":"6","co":"0.3","o3":"78"},{"pubTime":"2021-10-30T15:00+08:00","name":"歇台子","id":"CNA3014","aqi":"52","level":"2","category":"良","primary":"PM2.5","pm10":"45","pm2p5":"36","no2":"22","so2":"6","co":"0.5","o3":"79"},{"pubTime":"2021-10-30T15:00+08:00","name":"鱼新街","id":"CNA1429","aqi":"58","level":"2","category":"良","primary":"PM2.5","pm10":"50","pm2p5":"41","no2":"31","so2":"6","co":"0.6","o3":"53"},{"pubTime":"2021-10-30T15:00+08:00","name":"礼嘉","id":"CNA1427","aqi":"50","level":"1","category":"优","primary":"NA","pm10":"40","pm2p5":"35","no2":"23","so2":"1","co":"0.4","o3":"74"},{"pubTime":"2021-10-30T15:00+08:00","name":"新山村","id":"CNA1426","aqi":"57","level":"2","category":"良","primary":"PM10","pm10":"63","pm2p5":"38","no2":"34","so2":"10","co":"0.5","o3":"56"},{"pubTime":"2021-10-30T15:00+08:00","name":"空港","id":"CNA1425","aqi":"48","level":"1","category":"优","primary":"NA","pm10":"41","pm2p5":"33","no2":"18","so2":"9","co":"0.4","o3":"75"},{"pubTime":"2021-10-30T15:00+08:00","name":"白市驿","id":"CNA1422","aqi":"59","level":"2","category":"良","primary":"PM2.5","pm10":"58","pm2p5":"42","no2":"34","so2":"7","co":"0.5","o3":"63"},{"pubTime":"2021-10-30T15:00+08:00","name":"茶园","id":"CNA1421","aqi":"52","level":"2","category":"良","primary":"PM2.5","pm10":"52","pm2p5":"36","no2":"28","so2":"12","co":"0.2","o3":"65"},{"pubTime":"2021-10-30T15:00+08:00","name":"唐家沱","id":"CNA1420","aqi":"45","level":"1","category":"优","primary":"NA","pm10":"40","pm2p5":"31","no2":"17","so2":"9","co":"0.7","o3":"69"},{"pubTime":"2021-10-30T15:00+08:00","name":"南坪","id":"CNA1419","aqi":"59","level":"2","category":"良","primary":"PM10","pm10":"68","pm2p5":"31","no2":"18","so2":"12","co":"0.8","o3":"75"},{"pubTime":"2021-10-30T15:00+08:00","name":"虎溪","id":"CNA1418","aqi":"52","level":"2","category":"良","primary":"PM10","pm10":"54","pm2p5":"33","no2":"19","so2":"5","co":"0.9","o3":"80"},{"pubTime":"2021-10-30T15:00+08:00","name":"两路","id":"CNA1417","aqi":"43","level":"1","category":"优","primary":"NA","pm10":"41","pm2p5":"30","no2":"34","so2":"5","co":"0.6","o3":"58"},{"pubTime":"2021-10-30T15:00+08:00","name":"天生","id":"CNA1416","aqi":"42","level":"1","category":"优","primary":"NA","pm10":"33","pm2p5":"29","no2":"15","so2":"5","co":"0.3","o3":"74"},{"pubTime":"2021-10-30T15:00+08:00","name":"缙云山","id":"CNA1414","aqi":"40","level":"1","category":"优","primary":"NA","pm10":"35","pm2p5":"28","no2":"20","so2":"9","co":"0.8","o3":"70"}],"refer":{"sources":["QWeather","CNEMC"],"license":["no commercial use"]}} https://devapi.qweather.com/v7/weather/7d?gzip=n&location=101040100&key=**************&lang=zh&unit=m Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. Core 1 register dump: PC : 0x4018b817 PS : 0x00060e30 A0 : 0x800df3a3 A1 : 0x3ffb1ba0 A2 : 0x000000a8 A3 : 0x00000000 A4 : 0x00000011 A5 : 0x00000000
    A6 : 0x00000011 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x00000000 A10 : 0x3f4f91d9 A11 : 0x00000000 A12 : 0x00000003 A13 : 0x00000000
    A14 : 0x00000000 A15 : 0x00000011 SAR : 0x0000001f EXCCAUSE: 0x0000001c EXCVADDR: 0x000000b0 LBEG : 0x4000c28c LEND : 0x4000c296 LCOUNT : 0x00000000

    ELF file SHA256: 0000000000000000

    Backtrace: 0x4018b817:0x3ffb1ba0 0x400df3a0:0x3ffb1bc0 0x400df3d3:0x3ffb1be0 0x400d71a6:0x3ffb1c00 0x400d88ac:0x3ffb1c90 0x400d8f37:0x3ffb1da0 0x400e16da:0x3ffb1fb0 0x40090a46:0x3ffb1fd0

    Rebooting... ets Jun 8 2016 00:22:57`

    opened by Lasx 5
  • 编译报错,ToxicSoulCount未定义标识符。

    编译报错,ToxicSoulCount未定义标识符。

    {"resource":"/D:/eInkCalendarOfToxicSoul-main/src/main.cpp","owner":"C/C++","code":"20","severity":8,"message":"未定义标识符 "ToxicSoulCount"","source":"C/C++","startLineNumber":702,"startColumn":20,"endLineNumber":702,"endColumn":34}

    opened by onesmallstone 11
  • 【已知问题】进一步优化电量消耗

    【已知问题】进一步优化电量消耗

    目前电量消耗似乎控制的还是不理想。尽管采用了 Deep Sleep 机制,但是我手里的这块电池一般情况下也就是2天就会耗尽电量。当然,还不清楚是否是我手里的这块电池以前过放引起容量减少。

    目前看来,引起电量消耗过快主要有以下因素:

    1. 微雪的主板上有一个红色PWR电源指示LED,这个灯无法从代码中关闭。所以,就算进入Deep Sleep 状态,它也会亮着继续消耗电量。根据其原理图上所示,这个LED灯似乎是相对独立的,所以,如果觉得它碍事儿且耗电,然后您又有一定的动手能力,或许您可以将它直接焊掉。 image
    2. 在从 Deep Sleep 机制中恢复过来后,如果未能自动连接上网络,那么它会提示重新进入SmartConfig。(参见 #5 )如果这时候人不在跟前,未能及时配置网络,那么代码会持续等待 WiFi 的 SmartConfig。这时候也会在持续消耗电量.
    3. 刷新屏幕时,如果屏幕上同时存在文字和图案,实际上是刷新两次,也带来了额外的电量消耗。 #6
    opened by breakstring 6
Owner
Kenn Zhang
Kenn Zhang