Navigation

    LILYGO

    • Register
    • Login
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. sq4cvh
    3. Posts
    S
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Best 0
    • Groups 0

    Posts made by sq4cvh

    • RE: Extending ESP NOW range by setting a slower data rate

      @jims123
      I'm using the Arduino framework, but I initialize ESP-NOW using the IDF function. I include in the project library:
      #include <esp_now.h>
      #include <esp_wifi.h>

      I initialize the WiFi interface like this:
      wifi_init();
      if (esp_now_init() != ESP_OK) {
      Serial.println("Error initializing ESP-NOW");
      return;
      }

      static void wifi_init()
      {
      ESP_ERROR_CHECK(esp_netif_init());
      wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
      ESP_ERROR_CHECK(esp_wifi_init(&cfg));
      ESP_ERROR_CHECK(esp_wifi_set_mode(WIFI_MODE_STA));
      ESP_ERROR_CHECK(esp_wifi_set_protocol( WIFI_IF_STA, WIFI_PROTOCOL_LR ));
      ESP_ERROR_CHECK(esp_wifi_set_storage(WIFI_STORAGE_RAM));
      ESP_ERROR_CHECK(esp_wifi_set_ps(WIFI_PS_NONE));
      ESP_ERROR_CHECK(esp_wifi_start());
      int8_t defaultWiFiPower;
      ESP_ERROR_CHECK(esp_wifi_get_max_tx_power(&defaultWiFiPower));
      Serial.printf("Default power: %d\r\n",defaultWiFiPower);
      ESP_ERROR_CHECK(esp_wifi_set_max_tx_power(MAX_WIFI_POWER));
      ESP_ERROR_CHECK(esp_wifi_set_country(&country));
      }

      I get a range on the built-in antennas of about 300m with the visibility of the antennas (no obstacles)

      posted in Technical Discussion
      S
      sq4cvh
    • LilyGo-T-SIM7080G power consumption

      Re: LilyGo-T-SIM7080G and PMU AXP2101

      Hi, I'm testing this device too, but not contented 😞

      Since the device is equipped with an LPWAN modem, a battery and solar charging, I was convinced that it could be used to build a final low-power IoT device.
      The scenario should look like this: the device works briefly, performs tasks (measurements), sends them to the cloud, then goes to sleep (deep sleep) and turns off the power to the sensors, it consumes very little power itself. Unfortunately, the designers connected the ESP32 power supply to the output of the PMU DC_DC1 converter, they did not even bother to connect it to the LDO !!!. It is true that you can programmatically turn off the DC_DC1 power supply, but then ESP will never wake up again. When the processor goes into deep sleep (it then consumes about 7uA) the whole device with the working DC_DC1 converter consumes 250 uA !!! this is suitable for scrap and not to work as an IoT 😞

      Is there a different power model in this module to significantly reduce power consumption in deep sleep mode?

      posted in Technical Discussion
      S
      sq4cvh