The code
void app_main()
{
esp_err_t ret = nvs_flash_init();
if (ret == ESP_ERR_NVS_NO_FREE_PAGES || ret == ESP_ERR_NVS_NEW_VERSION_FOUND)
{
ESP_ERROR_CHECK(nvs_flash_erase());
ret = nvs_flash_init();
}
ESP_ERROR_CHECK(ret);
esp_log_level_set("*", ESP_LOG_NONE);
GPIO_Init();
UART ...
Search found 19 matches
- Sun Dec 05, 2021 7:07 am
- Forum: General Discussion
- Topic: UART flooded with messages
- Replies: 0
- Views: 2648
- Thu Jul 08, 2021 6:57 am
- Forum: General Discussion
- Topic: AT commands return ERROR.
- Replies: 3
- Views: 4670
Re: AT commands return ERROR.
Thank you.
- Wed Jul 07, 2021 5:49 am
- Forum: General Discussion
- Topic: UDP multicast connection with ESP modules.
- Replies: 2
- Views: 4357
- Mon Jul 05, 2021 5:39 am
- Forum: General Discussion
- Topic: UDP multicast connection with ESP modules.
- Replies: 2
- Views: 4357
UDP multicast connection with ESP modules.
I connect to a common AP with several ESP modules. Or alternatively I configure a softAP on one and connect to it with others.
Then I should create a connection
AT+CIPSTART="UDP","172.16.1.154",8000,1112,2 - if AT+CIPMUX=0
AT+CIPSTART=4,"UDP","172.16.1.154",8000,1112,0 - if AT+CIPMUX=1
But what if ...
Then I should create a connection
AT+CIPSTART="UDP","172.16.1.154",8000,1112,2 - if AT+CIPMUX=0
AT+CIPSTART=4,"UDP","172.16.1.154",8000,1112,0 - if AT+CIPMUX=1
But what if ...
- Mon Jun 28, 2021 1:16 pm
- Forum: General Discussion
- Topic: AT commands return ERROR.
- Replies: 3
- Views: 4670
AT commands return ERROR.
Some of it is OK
ATE0
OK
AT+GMR
AT version:0.21.0.0
SDK version:0.9.5
OK
But most of the commands return ERROR. For example
AT+CWMODE_CUR=?
ERROR
What can be a problem?
ATE0
OK
AT+GMR
AT version:0.21.0.0
SDK version:0.9.5
OK
But most of the commands return ERROR. For example
AT+CWMODE_CUR=?
ERROR
What can be a problem?
- Mon Jun 07, 2021 11:10 am
- Forum: IDEs for ESP-IDF
- Topic: Eclipse code run problem.
- Replies: 0
- Views: 3095
Eclipse code run problem.
I build a project in Eclipse successfully.
Build complete (0 errors, 0 warnings): D:\Workspace_Eclipse\agro_sense\build
Then I set a COM port in Launch Target and when I try to run I get
Exception occurred executing command line.
Cannot run program "C:\cygwin64\bin\python" (in directory "D ...
Build complete (0 errors, 0 warnings): D:\Workspace_Eclipse\agro_sense\build
Then I set a COM port in Launch Target and when I try to run I get
Exception occurred executing command line.
Cannot run program "C:\cygwin64\bin\python" (in directory "D ...
- Thu Sep 03, 2020 9:55 am
- Forum: General Discussion
- Topic: How to run menuconfig?
- Replies: 2
- Views: 3677
How to run menuconfig?
How can I run menuconfig on a project in ESP8266_RTOS_SDK? Windows command line doesn't recognize it.
- Fri Aug 14, 2020 12:47 pm
- Forum: General Discussion
- Topic: A battery measurement
- Replies: 2
- Views: 3388
Re: A battery measurement
It will be 1.8v?That depends on the battery, but generally, no. You need a voltage divider to bring the voltage in range of the ADC.
- Fri Aug 14, 2020 6:44 am
- Forum: General Discussion
- Topic: A battery measurement
- Replies: 2
- Views: 3388
A battery measurement
I'm planning to power my ESP32 board directly from a battery. How can I measure the state of the battery to alert a user on low battery?
May I apply VCC directly to an analog input to measure the battery voltage?
May I apply VCC directly to an analog input to measure the battery voltage?
- Thu Aug 13, 2020 7:16 am
- Forum: Hardware
- Topic: How to measure a battery.
- Replies: 3
- Views: 7726
How to measure a battery.
I'm planning to power my ESP32 board directly from a battery. How can I measure the state of the battery to alert a user on low battery?
May I apply VCC directly to an analog input to measure the battery voltage?
May I apply VCC directly to an analog input to measure the battery voltage?