I don't get how wi-fi 6 works with the esp32-c6.
I am writing code for an esp32 Wi-Fi 6 Weather Station which will be take readings and then communicating via Wi-Fi to an MQTT server as well as a weather service for a total of about 1 second, and then be asleep for 15 minutes, after which time it will repeat that cycle.
In my testing the wifi-6 connection would only stay connected over the long term if the board went into automatic light sleep, which uses a bunch of current, for the entire sleep period - which is a far cry from what the people are talking about here: https://www.youtube.com/watch?v=NaoozZDanuM&t=105s
It may be an issue with my access point, but that is how the esp32-c6 is working for me on my network.
Also, while I 've read the documentation here: https://ieeexplore.ieee.org/stamp/stamp ... er=9481882 and I'm not fully clear on Targeted Wake Time (which may be part of the problem).
Fundamentally, I have two questions:
1. For the use case above, is the TWT:
(a) the 1 second which my device will be awake and communicating with the Access Point, or
(b) the 15 minutes after it finishing publishing to MQTTT, which it is targeted to asleep for and then wake up again?
The way I read the IEEE documentation, was that the answer should be (a) - with (b) being something called 'Doze', but I would love to have the confirmed.
2. If the answer to the question above is (b) how does the esp32-c6 know how to wake up. Can you just set a deep sleep timer for 15 minutes and it should be able to communicate over Wi-Fi without reconnecting once it comes out of deep sleep? If this is the case, I just couldn't get that to work at all for a 15 minute sleep time.
I've looked at Espressif's itwt example, but it didn't help because it doesn't show the program going to sleep.
Here is the code I have written and the power consumption results I have been getting:
https://github.com/roblatour/WeatherStation
Thanks in advance, I'd appreciate any insights you may have.
esp32-c6 and WiFi 6
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 91 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.