Giter Club home page Giter Club logo

einkcalendaroftoxicsoul's Introduction

GitHub Streak

Anurag's github stats

Top Langs

einkcalendaroftoxicsoul's People

Contributors

breakstring avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

einkcalendaroftoxicsoul's Issues

关于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有一休眠函数,如果调用,可以缩短一半秒数快速进入休眠状态,
祝你能做出更省电的墨水屏方案.

编译报错: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

背面是怎么处理的

作者你好~ 我想知道你这个背后是怎么处理的.成品厚度大改多少? 我在想能不能用微积木做一个后盖.但是支架还没想好怎么处理

【已知问题】使用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  来自于:** 北京 北京  联通

想问下用的几寸的相框

我买回来量了下是9x7cm,网上的相框都是按寸来的,我查了下几寸的都不太合适?请问作者用的是什么尺寸的

关于锂电池大小

hi,博主,我想问下这个锂电池是多少尺寸的(长宽高),谢谢啦

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

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

`从和风天气中取到匹配城市: 重庆
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天就会耗尽电量。当然,还不清楚是否是我手里的这块电池以前过放引起容量减少。

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

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

build和upload的成功了,但是屏幕没有反应

image
build 的过程中出现了一个warning,但是也就是向下转型,按道理不会影响什么吧
image

还有就是QWeather.h中<Vector>这个库显示不存在,我就换成了<vector>这里是不是打错大小写?

有没有成功的一起交流一下,我上传好几次屏幕都没有反应,但是运行官方给的demo是没有任何问题的。

编译报错,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
}

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

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

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

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

再次感谢您的项目

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.