Git Product home page Git Product logo

lilygo_epd47_time_show_weather_nbiot's Introduction

lilygo_epd47_time_show_weather_nbiot

一.功能:
1.lilygo 4.7寸墨水屏每日1次通过互联网获取并显示天气,
2.待机状态低能耗约0.24ma. 每天唤醒1次,电流约70ma, 一般80秒后进入休眠待机状态, 18650电池供电理论预期应在3-5个月
3.本代码是 https://github.com//lilygo_epd47_time_show_weather 的扩展版本,用于墨水屏扩展连接wifi上网不方便的场景, 不用局限于放在wifi路由器附近. 规避了esp32连接wifi偶尔会连接不上的稳定性问题.

二.硬件
(一).NBIOT用sim7020c
1.lilygo-epd47 4.7寸墨水屏 + 锂电池
2.2.0mm转2.54mm杜邦线10cm 4线
3.sim7020c 开发板
ESP32 sim7020c (接线)
3.3V VBAT
GND GND
12 TXD
13 RXD


(二).NBIOT用
1.lilygo-epd47 4.7寸墨水屏 + 锂电池
2.2.0mm转2.54mm杜邦线10cm 4线
3. 开发板
ESP32 --qs100 (接线)
3.3V 3.3V
GND GND
12 TXD
13 RXD


三.代码:
根据所用NBIOT模块不同选择不同目录下的程序:
1.epd47_sim7020_timer_weather
nbiot用sim7020c
2.epd47_qs100_timer_weather
nbiot用

烧录到ESP32开发板
A.软件: arduino 1.8.19
B.用到库文件:
https://github.com/espressif/arduino-esp32 版本:1.0.6
https://github.com/bblanchon/ArduinoJson 版本: 6
https://github.com/adafruit/RTClib RTClib
https://github.com/Xinyuan-LilyGO/LilyGo-EPD47 墨水屏驱动库
https://github.com/ivanseidel/LinkedList 列表对象,处理汉字用
C.开发板选择:TTGO-T-WATCH 参数选默认 (字库文件较大,仅用到其分区定义)
注: 较新的arduino版本才有这个开发板定义: TTGO T-Watch
参考:https://github.com/Xinyuan-LilyGO/TTGO_TWatch_Library
D.选择端口,点击烧录

lilygo_epd47_time_show_weather_nbiot's People

Contributors

lixy123 avatar

Stargazers

 avatar vad babushkin avatar

Watchers

 avatar

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.