Search found 50 matches
- Mon May 14, 2018 12:44 pm
- Forum: ESP-IDF
- Topic: How to measure pulse width on an HC-SR04
- Replies: 3
- Views: 6414
Re: How to measure pulse width on an HC-SR04
Be careful. The ESP32 allows approx max 3.3V DC on its input pins. But the operating voltage of that unit is 5V DC; I asssume it also emits max 5V DC on the output pin(s).
- Tue May 01, 2018 10:31 pm
- Forum: General Discussion
- Topic: Weirdness with logging.
- Replies: 8
- Views: 8461
Re: Weirdness with logging.
The ESP-IDF Wifi component used to set its own log level. I don't know if that is still the case in the current master branch.
I still do this in my projects:
````
// Production: dump less messages
esp_log_level_set("wifi", ESP_LOG_WARN);
esp_log_level_set("tcpip_adapter", ESP_LOG_WARN);
````
I still do this in my projects:
````
// Production: dump less messages
esp_log_level_set("wifi", ESP_LOG_WARN);
esp_log_level_set("tcpip_adapter", ESP_LOG_WARN);
````
- Sat Apr 28, 2018 9:33 am
- Forum: ESP-IDF
- Topic: how to resolving dependencies in eclipse IDE?
- Replies: 1
- Views: 3143
Re: how to resolving dependencies in eclipse IDE?
1. You have defined the ESP-IDF include directories under the section "Assembler" but the ESP-IDF include headers are C code. So you need to define them under the section "GNU C". Goto Project Properties => C/C++ General => "Path & Symbols" property page => tabIncludes: For Language="GNU C" Do: add ...
- Wed Apr 18, 2018 8:26 pm
- Forum: General Discussion
- Topic: ESP-32 mesh function
- Replies: 16
- Views: 28780
Re: ESP-32 mesh function
@kolban maybe this high level overview http://esp-idf.readthedocs.io/en/latest ... /mesh.html
- Mon Apr 16, 2018 9:07 am
- Forum: General Discussion
- Topic: Getting Local Time without gmt Offset after Deep Sleep
- Replies: 3
- Views: 7759
Re: Getting Local Time without gmt Offset after Deep Sleep
In ESP-IDF you would do this: void mjd_set_timezone_utc() { ESP_LOGD(TAG, "%s()", __FUNCTION__); // @special "" means timezone UTC (Specifying "UTC" does not work!) setenv("TZ", "", 1); tzset(); } void mjd_set_timezone_amsterdam() { ESP_LOGD(TAG, "%s()", __FUNCTION__); // @doc https://remotemonitori...
- Fri Feb 16, 2018 10:04 am
- Forum: General Discussion
- Topic: MSYS2 is slow on Windows 10
- Replies: 30
- Views: 43347
Re: MSYS2 is slow on Windows 10
Thanks for the tip ESP_Angus to exclude MSYS2 and the project folders in Windows Defender. The time to run a make under Windows is now comparable to the time to run a make in a VM running on the same Windows box.
- Thu Feb 01, 2018 9:19 am
- Forum: General Discussion
- Topic: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE
- Replies: 5
- Views: 7707
Re: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE
Your test example works fine on my board.
Maybe I have to wire in stronger pullup resistor (they are still on order).
Maybe I have to wire in stronger pullup resistor (they are still on order).
- Thu Feb 01, 2018 8:59 am
- Forum: General Discussion
- Topic: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE
- Replies: 5
- Views: 7707
Re: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE
Thanks for the test. 1. I have tried with various other pins but no luck. 2. I have a few other boards on order and I will retest with those. 3. Do you know if the default sdkconfig must be changed for the dev board Adafruit Huzzah32 ESP32 (on top of the Serial flasher config)? https://learn.adafrui...
- Wed Jan 31, 2018 10:33 am
- Forum: General Discussion
- Topic: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE
- Replies: 5
- Views: 7707
Re: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE
Are you sure you don't just see the effect of contact bounce on the mechanical bits of your sensors? I'm not sure but I don't think that is happening. 1. I have created a feedback loop in the GPIO MUX from the input sensor to the output LED (on the board) and the LED follows cleanly the changes to ...
- Tue Jan 30, 2018 2:54 pm
- Forum: General Discussion
- Topic: Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE
- Replies: 5
- Views: 7707
Output pin interrupt type GPIO_INTR_POSEDGE behaves like GPIO_INTR_ANYEDGE
Hi, Environment: the latest ESP-IDF from Github and the board Adafruit HUZZAH32 (rev1) and a sensor such as the KY-032 Obstacle avoidance sensor, the SW-180 Tilt Sensor, SW-420 Vibration Sensor which all output a digital signal 0 or 1. I have configured the output pin interrupt type as GPIO_INTR_POS...