Search found 6 matches
- Mon Jul 29, 2019 12:44 pm
- Forum: ESP-IDF
- Topic: Can i use Interrupt function from sleep mode
- Replies: 0
- Views: 2209
Can i use Interrupt function from sleep mode
I'm doing IoT project, my device will sleep to save power. As i understand, if i use deep sleep mode, then every wake up, the code will run setup(); in light sleep, the core isnt sleep, so it only run loop(). i know how to use wakeup source to wakeup like timer, or external wakeup. all i want is if ...
- Fri Jul 05, 2019 4:58 am
- Forum: Hardware
- Topic: Problem with deep sleep in ESP32
- Replies: 0
- Views: 2194
Problem with deep sleep in ESP32
i'm currently measure battery and send it to master using nrf24l01 module. but the first time after reset the battery measure always incorrect value. it's the same if wake up from deep sleep. i dont know how to fix. anyone help me? void setup() { esp_adc_cal_value_t val_type = esp_adc_cal_characteri...
- Thu Jul 04, 2019 3:55 am
- Forum: Hardware
- Topic: Measure battery with adc internal
- Replies: 0
- Views: 3039
Measure battery with adc internal
my circuit to measure battery right now is esp32, nrf24l01, and 18650. i powered up esp32 with 18650 3.6v norminal/4.2 max battery. run a voltage divider 100k, 27k then it's 0.893v a measure point. at 3.6v measure point like ~0.72. i use internal 1.1v adc but why i only receive ~3v at monitor adc1_c...
- Wed Jul 03, 2019 9:16 am
- Forum: Hardware
- Topic: How to measure batter 118650 with adc internal
- Replies: 1
- Views: 3567
How to measure batter 118650 with adc internal
i want to measure battery 3.0 min/3.6 norminal/ 4.2 max. my battery is 3.6 now. follow the doc the internal adc have 0db-->1.1 max sclae, 11db for 3.9 max sclae. 1st) i power up board by usb, gpio6 wiring to +battery, ground to ground, no divider set 11db for 3.9 max scale like the code. i hope i ca...
- Tue Jul 02, 2019 7:36 am
- Forum: Hardware
- Topic: Measure LiPol battery level
- Replies: 6
- Views: 36292
Re: Measure LiPol battery level
I use a 27 kOhm + 100 kOhm voltage divider to bring the 4.2 V maximum of a single cell LiPo battery down to 3.3 V, which is the reference voltage (AFAIK) of the ESP32 board I am using. I have the voltage divider connected to pin 34, and I read the pin as follows: float VBAT = (127.0f/100.0f) * 3.30...
- Mon Jul 01, 2019 2:55 pm
- Forum: Hardware
- Topic: How to switch on/off sensor modules before deep sleep
- Replies: 4
- Views: 5558
Re: How to switch on/off sensor modules before deep sleep
could i have that library for esp32 wroom doit dev kit