I have a better way of measuring current now.
For the above code: The Wakeup and on time is 10ms. Avg Current during wake up time. is 14.67mA (Spikes to 30mA). Avg Current in sleep mode is 8.27uA - 9.85uA
Search found 13 matches
- Sat Dec 12, 2020 11:25 pm
- Forum: ESP32 Arduino
- Topic: Deep Sleep Stub function? Sleep mode optimization TG0WDT_SYS_RESET
- Replies: 8
- Views: 15437
- Fri Apr 17, 2020 10:03 pm
- Forum: ESP32 Arduino
- Topic: Deep Sleep Stub function? Sleep mode optimization TG0WDT_SYS_RESET
- Replies: 8
- Views: 15437
Re: Deep Sleep Stub function? Sleep mode optimization TG0WDT_SYS_RESET
Using a CurrentRanger / uCurrent tool, deep sleep it drops as low as 8uA and spikes to 17uA. (Most of the time hovers around 12uA). I have a LoRA module connected in sleep mode as well so remove at least 1uA for that. So the answer is, 8-17uA but more likely 10-11uA in Deep-Sleep. I removed some of ...
- Fri Apr 17, 2020 3:34 am
- Forum: ESP32 Arduino
- Topic: Deep Sleep Stub function? Sleep mode optimization TG0WDT_SYS_RESET
- Replies: 8
- Views: 15437
Re: Deep Sleep Stub function? Sleep mode optimization TG0WDT_SYS_RESET
I was able to get it to work using this code. Current code takes 25ms and sleeps. I will try to optimize and check current measurements. If I have to write the code below, may as well just use RTOS or ESP-IDE than Arduino IDE Here is the link that answered my question: https://gist.github.com/igrr/5...
- Fri Apr 17, 2020 2:56 am
- Forum: ESP32 Arduino
- Topic: Deep Sleep Stub function? Sleep mode optimization TG0WDT_SYS_RESET
- Replies: 8
- Views: 15437
Deep Sleep Stub function? Sleep mode optimization TG0WDT_SYS_RESET
Anyone able to get the deep sleep wake stubs working for Arduino? https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/deep-sleep-stub.html I am trying to reduce the wake up time of ESP32. Right now with no code and setting up sleep I am at 200ms. I would like to wake up from sleep...
- Wed Oct 23, 2019 8:15 pm
- Forum: Hardware
- Topic: Using Ethernet LAN8720 and I2S Audio at same time
- Replies: 7
- Views: 12116
Re: Using Ethernet LAN8720 and I2S Audio at same time
I am running into the same issue now. What was the pinout you have for the Ethernet and i2S ? I am trying to hookup a LAN8710 and max98367a together.
Thanks
Thanks
- Thu Sep 26, 2019 4:24 am
- Forum: ESP-MDF
- Topic: ESP-MESH + ESP-NOW
- Replies: 2
- Views: 35240
ESP-MESH + ESP-NOW
My only knowledge of the ESP32 is using the Arduino IDE but I am interested in ESP-MESH and ESP-NOW. ESP-MESH sounds like its not really designed for battery powered devices. Its more like Coordinators and Routers in Zigbee/Zwave. ESP-NOW is for battery powered devices? Is it possible to run ESP-MES...
- Sun Aug 25, 2019 3:56 am
- Forum: ESP32 Arduino
- Topic: ESP32 + max98357a + online MP3 for Google TTS
- Replies: 3
- Views: 9975
Re: ESP32 + max98357a + online MP3 for Google TTS
I found the answer here:
https://github.com/schreibfaul1/ESP32-audioI2S
Shout out to this person, really great work!
https://github.com/schreibfaul1/ESP32-audioI2S
Shout out to this person, really great work!
- Sat Aug 24, 2019 3:27 am
- Forum: ESP32 Arduino
- Topic: ESP32 + max98357a + online MP3 for Google TTS
- Replies: 3
- Views: 9975
ESP32 + max98357a + online MP3 for Google TTS
I am trying to use the Google Text to Speech API and generate an MP3 file from Google and then play it on the ESP32 with MAX98357A connected. Someone below wrote code to somewhat do that but I keep getting Watchdog errors or other errors: https://github.com/oroca/oroca_can https://www.youtube.com/wa...
- Thu Aug 22, 2019 9:24 pm
- Forum: ESP32 Arduino
- Topic: Esp32 update attached arduino?
- Replies: 3
- Views: 5677
Re: Esp32 update attached arduino?
A pipe is not really what I am looking for. I am looking for more of a way to have the esp32 get a HEX file from the cloud and store it locally and push it to the ATMEGA328P. The link looks interesting but I see it uses SPI to program the chip instead of serial. having SPI always connected between t...
- Thu Aug 22, 2019 5:35 am
- Forum: ESP32 Arduino
- Topic: Esp32 update attached arduino?
- Replies: 3
- Views: 5677
Esp32 update attached arduino?
Is there a way to use the esp32 to update a connected arduino over serial ? I know it sounds redundant but I have an RF module made and uses an arduino core and i want to be able to update the module if theres any updates available online. Is there a similar function like avrdude to program a 328p? ...