Search found 63 matches

by kurtzweber
Mon Nov 02, 2020 7:47 am
Forum: ESP32 Arduino
Topic: DFU with Arduino and esp32s2
Replies: 3
Views: 287

Re: DFU with Arduino and esp32s2

strange, if I run the same command in a python shell it works fine: C:\Users\kw\esp-idf>python Python 2.7.17 (v2.7.17:c2f86d86e6, Oct 19 2019, 20:49:36) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from future.utils import iteritems ...
by kurtzweber
Mon Nov 02, 2020 7:44 am
Forum: ESP32 Arduino
Topic: DFU with Arduino and esp32s2
Replies: 3
Views: 287

Re: DFU with Arduino and esp32s2

Thanks for your reply! It sounds good... the only problem is that I can't run the mkdfu.py utility on my Windows laptop: C:\Users\kw\esp-idf>mkdfu.py Traceback (most recent call last): File "C:\Users\kw\esp-idf\tools\mkdfu.py", line 25, in <module> from future.utils import iteritems ImportError: No ...
by kurtzweber
Sun Nov 01, 2020 2:46 pm
Forum: ESP32 Arduino
Topic: DFU with Arduino and esp32s2
Replies: 3
Views: 287

DFU with Arduino and esp32s2

Hi! I'd like to use DFU mechanism: https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/api-guides/dfu.html to upload my sketches on a devboard based on the esp32s2 chip. At the moment it seems that a specific menu choice is not available, but is it there a way to do it manually? For what I...
by kurtzweber
Mon May 14, 2018 8:28 pm
Forum: General Discussion
Topic: [VIDEO] Freshen - device management for ESP32
Replies: 4
Views: 2845

Re: [VIDEO] Freshen - device management for ESP32

Hi can't compile the library (freshen.h) with the latest esp-idf... In file included from C:/msys32/home/kw/tutorial/freshen/main/main.c:11:0: C:/msys32/home/kw/tutorial/freshen/main/freshen.h:1644:15: error: field 'conn' has incomplete type struct conn conn; ^ C:/msys32/home/kw/tutorial/freshen/mai...
by kurtzweber
Mon Mar 26, 2018 3:17 pm
Forum: General Discussion
Topic: No esp_ble_gap_config_scan_rsp_data() ?
Replies: 4
Views: 2593

Re: No esp_ble_gap_config_scan_rsp_data() ?

thanks again, it works fine!
by kurtzweber
Mon Mar 26, 2018 6:44 am
Forum: General Discussion
Topic: No esp_ble_gap_config_scan_rsp_data() ?
Replies: 4
Views: 2593

Re: No esp_ble_gap_config_scan_rsp_data() ?

Hi

thanks for your response.
How can I pass the two structs to the driver? I have to call the function esp_ble_gap_config_adv_data(&adv_data) twice?
by kurtzweber
Sun Mar 25, 2018 2:02 pm
Forum: General Discussion
Topic: No esp_ble_gap_config_scan_rsp_data() ?
Replies: 4
Views: 2593

No esp_ble_gap_config_scan_rsp_data() ?

Hi from what I could find, it seems that a function to set the scan response data is missing in the framework. We do have the corresponding event: ESP_GAP_BLE_SCAN_RSP_DATA_SET_COMPLETE_EVT and we also have a member (set_scan_rsp) in the esp_ble_adv_data_t struct that it seems to suggest that you ca...
by kurtzweber
Thu Jan 25, 2018 12:54 pm
Forum: General Discussion
Topic: ADC calibration with VREF
Replies: 5
Views: 12184

Re: ADC calibration with VREF

Undestood, thanks!
by kurtzweber
Thu Jan 25, 2018 12:17 pm
Forum: General Discussion
Topic: ADC calibration with VREF
Replies: 5
Views: 12184

Re: ADC calibration with VREF

Hi thanks for your reply... I was able indeed to use the read value in: esp_adc_cal_get_characteristics(V_REF, ADC_ATTEN_DB_11, ADC_WIDTH_BIT_12, &characteristics); but this method assumes you measure the voltage for each board you program and adapt the code accordingly... I was looking for a "softw...
by kurtzweber
Thu Jan 25, 2018 9:01 am
Forum: General Discussion
Topic: ADC calibration with VREF
Replies: 5
Views: 12184

ADC calibration with VREF

Hi all I'm trying to follow the instruction on the official documentation to calibrate the ADC: https://esp-idf.readthedocs.io/en/latest/api-reference/peripherals/adc.html I was able to route the internal VREF to GPIO25 and read the value with a multimeter, it's 1.146V: ESP_ERROR_CHECK(adc2_vref_to_...

Go to advanced search