Search found 292 matches

by boarchuz
Sat Mar 02, 2019 12:45 pm
Forum: ESP32 Arduino
Topic: Wire doesn't work with ESP32 / 8266
Replies: 6
Views: 2492

Re: Wire doesn't work with ESP32 / 8266

I think default is typically 5/4 for ESP32, but it's configurable on this chip so you may want to dig in to the library to see which pins it's using. That output suggests that it's changing pin configuration very quickly, far too quickly for you to physically switch the wires to match. Obviously you...
by boarchuz
Sat Feb 23, 2019 3:41 am
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 387
Views: 181588

Re: What would you like to see in The Next Chip?

Functionality to help with very low power projects. I think the ULP coprocessor is amazing and underutilized. I know there has been talk in here already of making it easier to work with. -Faster boot time (and/or faster wake from deep sleep if more feasible) -Faster WiFi connection time (I'm still c...
by boarchuz
Fri Feb 22, 2019 12:00 am
Forum: ESP32 Arduino
Topic: [SOVLED] AsyncWebServer doesn't receive values from HTTP_POST
Replies: 6
Views: 3623

Re: AsyncWebServer doesn't receive values from HTTP_POST

More generally, you should learn to debug this stuff yourself. You need to use some kind of web traffic monitor to debug your form and server response. Chrome and maybe Firefox have them built in, but I like Fiddler. And you need to use Serial printouts liberally in your code to identify where thing...
by boarchuz
Thu Feb 21, 2019 11:47 am
Forum: ESP32 Arduino
Topic: [SOVLED] AsyncWebServer doesn't receive values from HTTP_POST
Replies: 6
Views: 3623

Re: Trying to save some values from two input fields from inside a HTML page

There's no submit button on your html form to actually do the action. type="submit"
For the other button, you'll probably want a little bit of javascript (eg. clear the text fields and then focus the first) but that's not important right now.
Add the submit thing and see how you get on.
by boarchuz
Wed Feb 20, 2019 1:21 am
Forum: ESP32 Arduino
Topic: TFT Display on during ESP32 deep sleep?
Replies: 3
Views: 1897

Re: TFT Display on during ESP32 deep sleep?

I wouldn't bother with that one. Given that it's already in the state you want it to be in, you could probably just hold the pins at their current level, rather than specifically setting them. Here are the two: rtc_gpio_hold_en https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peri...
by boarchuz
Tue Feb 19, 2019 4:02 am
Forum: ESP32 Arduino
Topic: TFT Display on during ESP32 deep sleep?
Replies: 3
Views: 1897

Re: TFT Display on during ESP32 deep sleep?

I'm guessing the LCD reset and/or backlight pins are your issue. They probably need to be held high in sleep. Fortunately they're both rtc_gpios so this is fairly easy - 32 & 33 according to the schematic I pulled up. I'm away from my PC now but the function is something like rtc_hold_en(pin); Do th...
by boarchuz
Mon Feb 18, 2019 6:14 am
Forum: ESP-IDF
Topic: Stopping ULP & ULP Lockup
Replies: 3
Views: 1970

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

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

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

Go to advanced search