Search found 575 matches

by boarchuz
Mon Feb 18, 2019 6:14 am
Forum: ESP-IDF
Topic: Stopping ULP & ULP Lockup
Replies: 10
Views: 10982

Re: Stopping ULP & ULP Lockup

At the end of https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/ulp.html : To disable the timer (effectively preventing the ULP program from running again), clear the RTC_CNTL_ULP_CP_SLP_TIMER_EN bit in the RTC_CNTL_STATE0_REG register. This can be done both from ULP code and from the...
by boarchuz
Fri Feb 15, 2019 8:54 pm
Forum: ESP32 Arduino
Topic: [SOLVED] Simple WebServer doesn't work
Replies: 3
Views: 8705

Re: Simple WebServer doesn't work

In loop:

server.handleClient();
by boarchuz
Sun Feb 10, 2019 12:44 pm
Forum: ESP32 Arduino
Topic: Best solution for ESP32 + Neopixel and battery life
Replies: 5
Views: 8546

Re: Best solution for ESP32 + Neopixel and battery life

That looks to be about the same as what I'm doing. I'll have a think, but my first immediate thoughts are: -Careful with pin 12. If you're using a Wrover, 12 is a strapping pin for internal ldo. In that case, you should be isolating it before sleep to reduce leakage. Use a different pin, and add the...
by boarchuz
Sat Feb 02, 2019 1:23 am
Forum: General Discussion
Topic: ESP32-ZERO V2 Info request
Replies: 5
Views: 7864

Re: ESP32-ZERO V2 Info request

Have you seen the TTGO Micro 2.0? It's not an official espressif module, of course, but it seems to be exactly what you're describing.
by boarchuz
Wed Jan 30, 2019 1:53 pm
Forum: ESP32 Arduino
Topic: Webserver running on Core0 issues
Replies: 16
Views: 23911

Re: Webserver running on Core0 issues

Are you the only one accessing the admin portal? It might be easier to set a password for the AP and let the WiFi stack handle the encryption, rather than implementing it at the server level. It's very easy and more secure than what you're doing now, and probably sufficient security for whatever you...
by boarchuz
Wed Jan 30, 2019 1:46 pm
Forum: ESP32 Arduino
Topic: Best solution for ESP32 + Neopixel and battery life
Replies: 5
Views: 8546

Re: Best solution for ESP32 + Neopixel and battery life

Well they're not 'Arduino' functions but ESP-IDF functions are accessible within the Arduino framework. They will work fine in Arduino IDE, for example.

I forgot to mention you'll need this though: #include "driver/rtc_io.h"
by boarchuz
Wed Jan 30, 2019 1:38 pm
Forum: ESP-IDF
Topic: Wifi Fast Scan on specific channel only // Save WiFi Encryption on Flash during Deep Sleep
Replies: 2
Views: 6537

Re: Wifi Fast Scan on specific channel only // Save WiFi Encryption on Flash during Deep Sleep

I have a very similar project to you and I'm having a terrible time with WPA2 connection speed. Even if I set the channel, it seems to have these unexplained 'windows' where it can connect. These are, approximately: 1100-1250ms, 2200-2300ms, and occasionally above that with the same increasing inter...
by boarchuz
Wed Jan 30, 2019 4:17 am
Forum: General Discussion
Topic: Best way to configure wifi and other values
Replies: 2
Views: 7480

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: 3228

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: 8546

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.