Search found 298 matches

by boarchuz
Wed Jan 30, 2019 4:17 am
Forum: General Discussion
Topic: Best way to configure wifi and other values
Replies: 2
Views: 2390

Re: Best way to configure wifi and other values

Yeah you want WiFi in AP or APSTA mode, a web server running that serves up a configuration page and parses the submitted form, and ideally a captive DNS portal so users connecting to the access point are automatically redirected (though this is a bit wonky nowadays with SSL everywhere). It's for Ar...
by boarchuz
Wed Jan 30, 2019 4:09 am
Forum: General Discussion
Topic: ULP change sleep timer
Replies: 2
Views: 949

Re: ULP change sleep timer

Are you trying to do this while in deep sleep? Because I recall it also says somewhere there that you can't do so.
by boarchuz
Wed Jan 30, 2019 4:03 am
Forum: ESP32 Arduino
Topic: Best solution for ESP32 + Neopixel and battery life
Replies: 5
Views: 2753

Re: Best solution for ESP32 + Neopixel and battery life

Drive the data in pin HIGH on sleep.

Code: Select all

//on wakeup
rtc_gpio_hold_dis(rgb_data_pin);
//on sleep
digitalWrite(rgb_data_pin,HIGH);
rtc_gpio_hold_en(rgb_data_pin); //keep it high in deep sleep
I guess you'll need to make sure it's a RTC GPIO.
by boarchuz
Wed Jan 30, 2019 3:54 am
Forum: ESP32 Arduino
Topic: Webserver running on Core0 issues
Replies: 13
Views: 6789

Re: Webserver running on Core0 issues

It's not really an issue, or anything particular to Core0*, it's a reasonable outcome within the constraints of running a single-threaded webserver on a tiny MCU with many concurrent requests. If you were to have a HTML page that redirects and then calls for loading external images, javascript, and ...
by boarchuz
Tue Jan 29, 2019 4:13 am
Forum: ESP32 Arduino
Topic: Webserver running on Core0 issues
Replies: 13
Views: 6789

Re: Webserver running on Core0 issues

Look up ESPAsyncWebServer
by boarchuz
Mon Jan 28, 2019 2:30 pm
Forum: ESP32 Arduino
Topic: Increase ULP program size
Replies: 9
Views: 4054

Re: Increase ULP program size

https://github.com/espressif/esp-idf/blob/master/components/ulp/ulp_macro.c Put a copy of that file in your project directory, rename "ulp_process_macros_and_load" in there to something like "unsafe_ulp_process_macros_and_load" and comment out line "return ESP_ERR_ULP_SIZE_TOO_BIG;", then #include "...
by boarchuz
Mon Jan 28, 2019 12:29 pm
Forum: ESP32 Arduino
Topic: Compressing Large HTML,CSS,JS files in ESP Progmem
Replies: 3
Views: 4327

Re: Compressing Large HTML,CSS,JS files in ESP Progmem

xgarbxgarb wrote:
Fri Jan 25, 2019 3:50 pm
I want to go the other way... I want to get the original HTML out of this file:

https://github.com/espressif/arduino-es ... ra_index.h
Run the sketch, connect to server, load page, save it.
by boarchuz
Mon Jan 28, 2019 8:53 am
Forum: ESP32 Arduino
Topic: Increase ULP program size
Replies: 9
Views: 4054

Re: Increase ULP program size

The more I fiddled with it, the more confused I became. I'll just dump a bunch of info and thoughts here in case it's useful for anyone who finds this thread or can point out where I'm going wrong... What I noticed was that the custom "CONFIG_ULP_COPROC_RESERVE_MEM" seemed to have no effect *within*...
by boarchuz
Thu Jan 24, 2019 7:18 pm
Forum: ESP32 Arduino
Topic: Increase ULP program size
Replies: 9
Views: 4054

Re: Increase ULP program size

I finally had a need to do this, and I think I found an issue. ulp_process_macros_and_load returns ESP_ERR_ULP_SIZE_TOO_BIG even if CONFIG_ULP_COPROC_RESERVE_MEM has been adequately increased. I suspect it's using the default value (512) for comparison, instead of using the current config. I tested ...

Go to advanced search