Hello forum!
I am stuck on the question about proper design of threading for my LilyGO T-Watch 2020 V1 which is ESP32 based.
And I am looking for opinions, and ideas, and guides .. think-tank alike. Everyone is welcome to give an idea or add on proper design (ofc something not very extensive I mean. as shorter as better if possible ).
So.. I need to separate the WiFi/Httpclient related tasks from the task related to the drawing of the user interface and the interactivity, but in the same time I need to preserve as much as possible the small battery the device coming with.
Since the project which I am thinking of is waking every 2-3 minutes and checking the server for new things, and if there is - to show them to me, else just going back to sleep.
So.. I am thinking of Light Sleep mode to keep the things on ( since there will be always calculations in progress which I need to check much frequently ), and Wifimulti - since i have a few AP's.
Wondering as well if it is a good idea to lower the frequence to 80MHz to preserve the battery, and if it is - then shall I suffer some heavy problems with the Wifi or connection , range , or anything else ?
Please add whatever You believe it can give me some headwind or safe me from some bad situation.
Thanks in advance fellows !
Proper design of threading
Return to “General Discussion”
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 66 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.