Search found 44 matches

by boarchuz
Fri Feb 15, 2019 8:54 pm
Forum: ESP32 Arduino
Topic: Simple WebServer doesn't work
Replies: 2
Views: 26

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

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: 4
Views: 352

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: 13
Views: 557

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

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: ESP32 IDF
Topic: Wifi Fast Scan on specific channel only // Save WiFi Encryption on Flash during Deep Sleep
Replies: 2
Views: 205

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

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

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

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

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 ...

Go to advanced search