Search found 10 matches

by usmanmehmood55
Tue Apr 26, 2022 4:42 am
Forum: ESP-IDF
Topic: Modem sleep in ESP32-C3
Replies: 0
Views: 1739

Modem sleep in ESP32-C3

Hi. I have been trying to implement modem sleep in the ESP32-C3, more specifically for BLE, since I could not find a singular function that handles modem sleep. The current draw when modem is on, is about 80 mA, and when modem has not been turned on, the average current draw is 10 mA. So far I have ...
by usmanmehmood55
Fri Apr 22, 2022 5:05 am
Forum: ESP-IDF
Topic: BLE Mesh Low Power Node (LPN) baseline current
Replies: 7
Views: 4698

Re: BLE Mesh Low Power Node (LPN) baseline current

In that case i would suggest to open issue on github. Here is interesting issue about BLE power consumption with old esp32, but may give you some answers: https://github.com/espressif/esp-idf/issues/947 Thank you for that link, it contains a lot of useful information for me. I'll open an issue for ...
by usmanmehmood55
Tue Apr 19, 2022 4:55 am
Forum: ESP-IDF
Topic: BLE Mesh Low Power Node (LPN) baseline current
Replies: 7
Views: 4698

Re: BLE Mesh Low Power Node (LPN) baseline current

Then try to flash hello world example with deep sleep and compare current consumption. The deep sleep current is about 7uA. Light sleep current is about 120uA. However, when I turn on LPN mode in the sdkconfig, and let it automatically go to LPN mode's light sleep, it is 10mA. I do not understand t...
by usmanmehmood55
Mon Apr 18, 2022 4:51 am
Forum: ESP-IDF
Topic: BLE Mesh Low Power Node (LPN) baseline current
Replies: 7
Views: 4698

Re: BLE Mesh Low Power Node (LPN) baseline current

chegewara wrote:
Sun Apr 17, 2022 5:58 am
This is not normal for ble mesh, but it may be normal for the board you are using, assuming its devkit.
It's a custom designed PCB.
by usmanmehmood55
Fri Apr 15, 2022 9:01 am
Forum: ESP-IDF
Topic: BLE Mesh Low Power Node (LPN) baseline current
Replies: 7
Views: 4698

BLE Mesh Low Power Node (LPN) baseline current

Hi.

I am developing a low power BLE mesh node using an ESP32C3. My baseline current in sleep is 10mA, which is pretty terrible for light sleep. Is it the usual sleep baseline current in an low power node? Or am I doing something wrong?
by usmanmehmood55
Thu Mar 10, 2022 8:03 am
Forum: ESP-IDF
Topic: Change the name of the node in the esp ble mesh
Replies: 5
Views: 6485

Re: Change the name of the node in the esp ble mesh

Just wanted to point out that for the ESP32-C3, it can be done by

Code: Select all

bt_mesh_set_device_name(const char *name);
by usmanmehmood55
Tue Mar 08, 2022 5:43 am
Forum: ESP-IDF
Topic: ESP32-C3 booting straight into deep sleep instead of normal mode
Replies: 1
Views: 1760

ESP32-C3 booting straight into deep sleep instead of normal mode

I'm trying to make an ultra low-power passive sensor with the ESP32-C3. Getting it into deep sleep brings the current down to about 7uA. However, when the ESP resets, or boots, there is a massive 90mA spike that will most definitely make quick work of the poor CR2032 coin cell. I have a few ceramic ...
by usmanmehmood55
Fri Feb 18, 2022 5:54 am
Forum: ESP-IDF
Topic: ESP-IDF BLE GATT client demo not building, build.ninja not found
Replies: 0
Views: 1129

ESP-IDF BLE GATT client demo not building, build.ninja not found

Hi. I just recently installed the ESP-IDF and used the VS-Code extension with it. I built some simple C programs, and the blinky program. All those worked perfectly. But when I built a new project with BLE GATT client as a template, it just doesn't build. I have made no changes to it whatsoever, jus...
by usmanmehmood55
Thu Feb 04, 2021 5:22 am
Forum: ESP32 Arduino
Topic: How to increase WiFi throughput
Replies: 3
Views: 5840

Re: How to increase WiFi throughput

The data transfer rate depends on the protocol used - http-udp-tcp-ftp etc. I check transfer data from sdcard on ftp, the max speed 1MByte/sec. But this also includes the reading time of the sdcard Could you perhaps show me how to do that as well? 1 MByte/s is well above what I want to achieve, so ...
by usmanmehmood55
Wed Feb 03, 2021 8:07 am
Forum: ESP32 Arduino
Topic: How to increase WiFi throughput
Replies: 3
Views: 5840

How to increase WiFi throughput

Hi. I am trying to send ADC data to a webpage created on an AP generated by the ESP32 itself, using the following code: #include <Arduino.h> #include "WiFi.h" #include "ESPAsyncWebServer.h" const char *ssid = "dataAP"; const char *password = "123456789"; AsyncWebServer server(80); #define ADC_PIN 10...