Search found 6 matches

by apurva
Thu Feb 06, 2020 3:55 pm
Forum: General Discussion
Topic: ADC with Deep Sleep
Replies: 4
Views: 5332

Re: ADC with Deep Sleep

Noted. Thank you for your help!
by apurva
Wed Feb 05, 2020 7:14 pm
Forum: General Discussion
Topic: ADC with Deep Sleep
Replies: 4
Views: 5332

Re: ADC with Deep Sleep

Isn't that function used if I want to use ADC in sleep using the ULP? I want to minimize the current consumption of the ESP32 as much as possible while in deep sleep. Would I be able to use rtc_gpio_isolate() for the GPIO pin that I am using to read the ADC or would it affect the readings? I am also...
by apurva
Wed Feb 05, 2020 4:04 pm
Forum: General Discussion
Topic: ADC with Deep Sleep
Replies: 4
Views: 5332

ADC with Deep Sleep

Hello. I am trying to implement ADC read with the ESP32 periodically going into deep sleep. Will esp_adc_cal_get_voltage() give the correct voltage reading for subsequent function calls if I just initialize the ADC once before the first deep sleep cycle and then just toggle it using adc_power_on() a...
by apurva
Thu Nov 28, 2019 8:49 pm
Forum: General Discussion
Topic: Timer alarm triggers at wrong value
Replies: 2
Views: 2862

Timer alarm triggers at wrong value

Hello! I am using one of the hardware timers and want the alarm to ring after 15mins. I have enabled autoreload and the timer counts up from 0. However, after just 40 seconds, the alarm is triggered and the counter value is reset back to 0. I am not able to figure out why the alarm triggers after 40...
by apurva
Thu Oct 10, 2019 2:45 pm
Forum: ESP-IDF
Topic: Linking BSEC library to ESP-IDF for BME680
Replies: 5
Views: 7351

Re: Linking BSEC library to ESP-IDF for BME680

Hello! I managed to fix the issue. I separated the BME680 files from the BSEC files. My BSEC component structure is as follows: - include (folder) bsec_datatypes.h bsec_integration.h bsec_interface.h - lib (folder) libalgobsec.h (normal) - bsec_integration.c - CMakeLists.txt - component.mk The CMake...
by apurva
Tue Oct 08, 2019 2:50 pm
Forum: ESP-IDF
Topic: Linking BSEC library to ESP-IDF for BME680
Replies: 5
Views: 7351

Linking BSEC library to ESP-IDF for BME680

I am using the BME680 with the ESP32-PoE and I want to use the BSEC library to get the IAQ. I have been stuck at the last step of linking the pre-built libalgobsec.a library. This is what my CMakeLists file in my BSEC components folder looks like: set(COMPONENT_SRCS "src/bme680.c" "src/bsec_integrat...