Search found 1602 matches

by ESP_igrr
Mon Apr 06, 2020 7:47 pm
Forum: Hardware
Topic: Detect if USB is connected
Replies: 1
Views: 72

Re: Detect if USB is connected

Hi CtnAdrian, On the ESP32 development boards, USB is provided by an external component, usually a CP2102, CP2104 or FT223H chip. These chips do have outputs to indicate whether USB is connected (check respective datasheets). However on all the boards I know these outputs are not wired to the ESP32....
by ESP_igrr
Mon Apr 06, 2020 7:40 pm
Forum: ESP32 IDF
Topic: Power Management - Automatic Light Sleep - Issues
Replies: 1
Views: 57

Re: Power Management - Automatic Light Sleep - Issues

Hi chofsass, The tick count will indeed drift in the automatic light sleep scenario. Please use esp_timer or gettimeofday for time keeping. These might still drift, depending on the RTC clock source, but much slower (within 1%, https://github.com/espressif/esp-idf/issues/4856). As for printf, UART o...
by ESP_igrr
Sun Apr 05, 2020 10:56 am
Forum: ESP32 IDF
Topic: How to get IP address?
Replies: 4
Views: 296

Re: How to get IP address?

I think the printf usage is correct, this is indeed how IPSTR and IP2STR should be used. You might be confused about the expect result though. If the ESP32 is connected to an AP, it gets a local address from this IP. The address printed by the ESP indeed looks like a local address. On the other hand...
by ESP_igrr
Sun Apr 05, 2020 10:51 am
Forum: Hardware
Topic: Alternatives for programming ESP32-CAM
Replies: 1
Views: 85

Re: Alternatives for programming ESP32-CAM

If you have the 2nd ESP board (ESP32 or ESP8266) you can use it as a serial adapter for programming. To do this, connect TXD, RXD, GND pins of two boards. Connect EN pin of the NodeMCU board to GND — this will keep the ESP32 module on this board in reset, so that it doesn't interfere. Then reset ESP...
by ESP_igrr
Sun Apr 05, 2020 10:46 am
Forum: ESP32 IDF
Topic: Bluedroid source - where to sind?
Replies: 1
Views: 242

Re: Bluedroid source - where to sind?

You can find Bluedroid code at https://github.com/espressif/esp-idf/tr ... /bluedroid (for the latest IDF master branch).

I'm afraid I don't recognize what "esp_idf_Tools_V2_2", but Bluedroid code in IDF is always distributed in source form.
by ESP_igrr
Sun Apr 05, 2020 10:40 am
Forum: ESP-IDF 中文讨论版
Topic: esp-idf-tools-setup-2.3.exe安装出现错误
Replies: 3
Views: 337

Re: esp-idf-tools-setup-2.3.exe安装出现错误

HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out. Looks like a network issue, perhaps try again, or configure pip to use mirror? (pip.ini on Windows, see https://topic.alibabacloud.com/a/pypi-china-mirror-how-many-and-domestic-python-users-how-to-use-pypi-mirror-source-_...
by ESP_igrr
Wed Apr 01, 2020 10:49 pm
Forum: ESP32 IDF
Topic: Two projects, two IDF versions
Replies: 1
Views: 206

Re: Two projects, two IDF versions

Hi GreenGiant, It should be possible to use multiple IDF versions side by side. Run the installer for one version, ask it to create a shortcut on the desktop. After it is done, rename the shortcut (e.g. IDF v4.1). Then run the installer again, this time pointing to the other IDF directory. The 2nd s...
by ESP_igrr
Wed Apr 01, 2020 10:41 pm
Forum: ESP32 IDF
Topic: Bigger partition table uses more heap on same hardware
Replies: 2
Views: 210

Re: Bigger partition table uses more heap on same hardware

Hi Leander, It looks like the NVS partition size in your 16MB partition table is bigger than in the 4 MB partition. NVS keeps some data structures in heap for every page (which is 4kB, i.e. one SPI flash sector). The minimum amount of extra RAM usage per page is 128 bytes; maximum is 640 bytes (ment...
by ESP_igrr
Tue Mar 31, 2020 9:28 am
Forum: Hardware
Topic: SD Interface on PICO-D4
Replies: 1
Views: 140

Re: SD Interface on PICO-D4

Hi jasenharris,

I can confirm that HS1 pins of SDMMC peripheral can not be used on PICO-D4, because they would conflict with SPI Flash.
by ESP_igrr
Tue Mar 31, 2020 7:49 am
Forum: ESP32 IDF
Topic: How to reduce the size of the generated binary? Is it possible to disable unused components?
Replies: 1
Views: 99

Re: How to reduce the size of the generated binary? Is it possible to disable unused components?

Hi Gustavo, First I would suggest to analyze what actually gets included into the application, by running 'idf.py size-components' (or 'make size-components', if you are using GNU Make). This will give you a list of per component sizes. Usually if you aren't explicitly using a component in your app,...

Go to advanced search