breakstring / einkcalendaroftoxicsoul Goto Github PK
View Code? Open in Web Editor NEW毒鸡汤墨水屏日历
License: MIT License
毒鸡汤墨水屏日历
License: MIT License
如果用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有一休眠函数,如果调用,可以缩短一半秒数快速进入休眠状态,
祝你能做出更省电的墨水屏方案.
在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
error adding file!
*** [.pio\build\esp32dev\spiffs.bin] Error 1
作者你好~ 我想知道你这个背后是怎么处理的.成品厚度大改多少? 我在想能不能用微积木做一个后盖.但是支架还没想好怎么处理
在通过 api.myip.la 请求获取到自己的IP地址和城市信息时,偶发性请求失败这样会造成后面的天气预报信息获取失败,目前初步推测或许和这套服务在美国从而网络线路上的问题有关。虽然这个服务使用了 ipip.net 的数据,但是 ipip.net 在国内并没有提供类似的API服务,而只是简单的一个直接输出纯文本信息的URL请求http://myip.ipip.net/,它的请求倒是挺稳定,但是在Arduino里用C/C++来拆解这个输出结果如下方所示,对我来说略麻烦。。。嗯,所以还是暂时搁置有空再改吧。
当前 IP:111.111.111.111 来自于:** 北京 北京 联通
我买回来量了下是9x7cm,网上的相框都是按寸来的,我查了下几寸的都不太合适?请问作者用的是什么尺寸的
hi,博主,我想问下这个锂电池是多少尺寸的(长宽高),谢谢啦
按照教程在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
`从和风天气中取到匹配城市: 重庆
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`
目前电量消耗似乎控制的还是不理想。尽管采用了 Deep Sleep 机制,但是我手里的这块电池一般情况下也就是2天就会耗尽电量。当然,还不清楚是否是我手里的这块电池以前过放引起容量减少。
目前看来,引起电量消耗过快主要有以下因素:
as title
在界面上同时需要写文字和绘制图片时,会导致实际上刷新两次,还没找到合适的解决方案。
目前加入 Deep Sleep 机制后,从 Deep Sleep 状态中恢复过来时有时候会出现无法自动连接上上次的网络的情况,会提示需要重新通过SmartConfg配置网络。这时候要么重新配置网络,要么拔掉电源重新启动都能解决。
后面我会抽时间看看这块儿还有没有什么优化的余地。
跑到upload这一步就一直在.........了
有没有成功的来教一下
{
"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
}
感谢您的项目,让我快速拥有了一个可爱的桌面小台历
我发现如果将配过网的设备带到新的wifi环境,就会无限load saved credentials 并restart,没有进入重新扫码配网环节。
还有,如果配置了错误的wifi信息(比如配了个5G的wifi),也会导致无限reload。
这个设置下重试计数会不会更好一些?
再次感谢您的项目
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.