Search found 168 matches

by boarchuz
Tue Dec 11, 2018 1:37 am
Forum: ESP32 Arduino
Topic: Additional current draw in Deep Sleep+ULP if WiFi.begin() called
Replies: 5
Views: 1475

Re: Additional current draw in Deep Sleep+ULP if WiFi.begin() called

ESP_igrr wrote:
Mon Dec 10, 2018 2:54 pm
This is a regression in recent versions of ESP-IDF. We are working on a fix. For now you can add a call 'adc_power_off();' (from driver/adc.h) right before entering deep sleep.
Tested and confirmed! Thankyou!
by boarchuz
Mon Dec 10, 2018 9:12 am
Forum: ESP32 Arduino
Topic: Additional current draw in Deep Sleep+ULP if WiFi.begin() called
Replies: 5
Views: 1475

Additional current draw in Deep Sleep+ULP if WiFi.begin() called

I have a ULP program that reads a rotary encoder and wakes the cores when input is detected, then WiFi is connected to do work, then back into Deep Sleep. While testing low power consumption, I observed this (where 'WiFi.begin?' = Whether or not WiFi.begin() was called before entering Deep Sleep; 'U...
by boarchuz
Sat Dec 08, 2018 8:17 am
Forum: ESP32 Arduino
Topic: http POST fails via ESP32. Httpresponse -11 generated by HTTPClient.h
Replies: 2
Views: 1334

Re: http POST fails via ESP32. Httpresponse -11 generated by HTTPClient.h

Well what happens if you send the exact same request composed with your browser or Fiddler or similar? That's the first thing I would try, then you'll know if the issue is with your ESP32 code or the server.
by boarchuz
Fri Dec 07, 2018 7:57 pm
Forum: ESP32 Arduino
Topic: I2C on Sparkfun ESP32; Pull-Up resistors not working. Ideas?
Replies: 3
Views: 2097

Re: I2C on Sparkfun ESP32; Pull-Up resistors not working. Ideas?

Can you confirm that you ran the i2c scanner on the ESP32? And it found the accelerometer? It's unlikely to be a hardware issue if that is working fine. In that case, I would be double-checking the address. I suspect it's expecting 0x1D but your accelerometer is at 0x1C (or vice versa). Run the scan...
by boarchuz
Thu Dec 06, 2018 12:35 pm
Forum: ESP32 Arduino
Topic: WROVER with Arduino IDE
Replies: 3
Views: 2381

Re: WROVER with Arduino IDE

Select the correct board and it will be fine. The WROVER boards have a flag in boards.txt, "-DBOARD_HAS_PSRAM".
by boarchuz
Sat Sep 08, 2018 1:21 pm
Forum: ESP32 Arduino
Topic: WifiManager for ESP32
Replies: 4
Views: 3138

Re: WifiManager for ESP32

I'm sure it's supposed to work with ESP32. I use tzapu's but I've made a lot of changes. Why haven't you included the error output here?
by boarchuz
Mon Sep 03, 2018 12:24 pm
Forum: ESP32 Arduino
Topic: Increase ULP program size
Replies: 9
Views: 2469

Increase ULP program size

ulp_process_macros_and_load() fails with this error:

Code: Select all

E (22) ulp: program too big: 161 words, max is 128 words
Is it possible to simply increase program size or will I have to try to rewrite it a lot more efficiently? Any general tips for an amateur to reduce the size?
by boarchuz
Mon Sep 03, 2018 10:14 am
Forum: ESP32 Arduino
Topic: ESP32 EEPROM access
Replies: 2
Views: 2425

Re: ESP32 EEPROM access

EEPROM.length() has a default value of 0, so begin() will fail. Two options: Initialise an EEPROMClass and provide it with a size EEPROMClass myEeprom("eeprom",64); if(!myEeprom.begin(myEeprom.length())) { Serial.println("failed to initialise myEeprom"); } or pass the size into EEPROM.begin() #defin...
by boarchuz
Mon Sep 03, 2018 9:55 am
Forum: ESP32 Arduino
Topic: How to cancel the Interrupts Stack?
Replies: 6
Views: 1985

Re: How to cancel the Interrupts Stack?

Have a look at this code, similar to yours, for how you might implement debouncing: http://www.switchdoc.com/2018/04/esp32-tutorial-debouncing-a-button-press-using-interrupts/ Take note also that the interruptCounter is reset there (interruptCounter=0) rather than decremented (interruptCounter--). J...

Go to advanced search