if my esp32 is connected to wifi before going into deep sleep, is there any advantage to issuing the commands:
esp_wifi_stop();
esp_wifi_deinit();
before
going into deep sleep?
I'm thinking perhaps that may tell the AP that the wifi will no longer be required and save resources there, until the ...
Search found 12 matches
- Fri Jun 16, 2023 9:56 pm
- Forum: General Discussion
- Topic: stopping wifi before going into deep sleep?
- Replies: 1
- Views: 2605
- Fri Jun 02, 2023 11:09 pm
- Forum: General Discussion
- Topic: esp32-c6 and WiFi 6
- Replies: 0
- Views: 3296
esp32-c6 and WiFi 6
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 ...
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 ...
- Tue May 09, 2023 2:37 pm
- Forum: Hardware
- Topic: ESP32-C6 how to enable WiFi 6
- Replies: 0
- Views: 1537
ESP32-C6 how to enable WiFi 6
I am using the ESP-IDF with the (still in development) version 5.1, and an ESP32-C6.
One of the features of the ESP32-C6 is WiFi support.
How do I enable that in my code?
More specifically, I added:
ESP_ERROR_CHECK(esp_wifi_set_protocol(ESP_IF_WIFI_STA , WIFI_PROTOCOL_11AX));
just prior to ...
One of the features of the ESP32-C6 is WiFi support.
How do I enable that in my code?
More specifically, I added:
ESP_ERROR_CHECK(esp_wifi_set_protocol(ESP_IF_WIFI_STA , WIFI_PROTOCOL_11AX));
just prior to ...
- Sat Jul 25, 2020 12:56 pm
- Forum: General Discussion
- Topic: driving a RGB LED (WS2812) on an esp32-s2-saola-1
- Replies: 4
- Views: 10593
Re: driving a RGB LED (WS2812) on an esp32-s2-saola-1
Thank you, but adding:
#define FASTLED_RMT_MAX_CHANNELS 1
#define FASTLED_RMT_BUILTIN_DRIVER 1
#define FASTLED_INTERRUPT_RETRY_COUNT 1
In any combination did not resolve the rebooting problem.
Adding
#define FASTLED_RMT_BUILTIN_DRIVER 1
did turn the LED red when it was supposed to, but ...
#define FASTLED_RMT_MAX_CHANNELS 1
#define FASTLED_RMT_BUILTIN_DRIVER 1
#define FASTLED_INTERRUPT_RETRY_COUNT 1
In any combination did not resolve the rebooting problem.
Adding
#define FASTLED_RMT_BUILTIN_DRIVER 1
did turn the LED red when it was supposed to, but ...
- Fri Jul 24, 2020 10:05 pm
- Forum: General Discussion
- Topic: driving a RGB LED (WS2812) on an esp32-s2-saola-1
- Replies: 4
- Views: 10593
driving a RGB LED (WS2812) on an esp32-s2-saola-1
I have an esp32-s2-saola-1 which has an addressable RGB LED (WS2812), driven by GPIO18 as described here:
https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/hw-reference/esp32s2/user-guide-saola-1-v1.2.html
Problem is I haven't yet found an Arduino compatible library to drive the RGB led ...
https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/hw-reference/esp32s2/user-guide-saola-1-v1.2.html
Problem is I haven't yet found an Arduino compatible library to drive the RGB led ...
- Tue Jul 21, 2020 9:40 pm
- Forum: Hardware
- Topic: input voltage for esp32-s2-saola-1
- Replies: 2
- Views: 7394
Re: input voltage for esp32-s2-saola-1
thank you, that was very helpful.
- Sat Jul 18, 2020 8:26 pm
- Forum: Hardware
- Topic: input voltage for esp32-s2-saola-1
- Replies: 2
- Views: 7394
input voltage for esp32-s2-saola-1
Can anyone confirm the input voltage range for the esp32-s2-saola-1 board; wondering if it can handle 7.5v in?
- Wed Jul 08, 2020 1:42 am
- Forum: ESP32 Arduino
- Topic: Connecting esp32-S2 dev board to DS3231 clock
- Replies: 6
- Views: 13387
Re: Connecting esp32-S2 dev board to DS3231 clock
ESP_Sprite: thank you very much, that was exactly what I needed to know - indeed pins 8 and 9 are the two to use.
- Mon Jul 06, 2020 11:10 pm
- Forum: ESP32 Arduino
- Topic: Connecting esp32-S2 dev board to DS3231 clock
- Replies: 6
- Views: 13387
Re: Connecting esp32-S2 dev board to DS3231 clock
Thank you but I really don't understand.
Are you saying I can use any two GPIO pins?
If yes, how do I tell the ESP32-S2 dev board ( ESP32-S2-Saola-1) which GPIO I am using for SDA and SCL?
For example, on a ESP32 Dev Kit 1, GPIO21 is SDA and GPIO22 is I2C SCL - so I just use those two pins.
But ...
Are you saying I can use any two GPIO pins?
If yes, how do I tell the ESP32-S2 dev board ( ESP32-S2-Saola-1) which GPIO I am using for SDA and SCL?
For example, on a ESP32 Dev Kit 1, GPIO21 is SDA and GPIO22 is I2C SCL - so I just use those two pins.
But ...
- Mon Jul 06, 2020 2:11 am
- Forum: General Discussion
- Topic: When will ESP32-S2 add to Arduino?
- Replies: 10
- Views: 18847
Re: When will ESP32-S2 add to Arduino?
This video shows how to set up the Arduino IDE for use with an esp32-s2
https://www.youtube.com/watch?v=L6IoSVdKwNM
please note, at 7:35 there is a reference to running get.exe
on my system I had to run this as an administrator for the setup to work correctly
https://www.youtube.com/watch?v=L6IoSVdKwNM
please note, at 7:35 there is a reference to running get.exe
on my system I had to run this as an administrator for the setup to work correctly