Search found 75 matches

by RMandR
Fri May 07, 2021 8:29 pm
Forum: Hardware
Topic: Pulling up IO12 prevents proper boot up
Replies: 2
Views: 3483

Re: Pulling up IO12 prevents proper boot up

Thanks! I had seen some gpio_isolate code about gpio 12 but not this.
by RMandR
Fri May 07, 2021 7:59 pm
Forum: Hardware
Topic: Input-only pin GPIO36 sources current (backpower)
Replies: 3
Views: 3096

Input-only pin GPIO36 sources current (backpower)

I have GPIO36 attached to an LED and a 1K resistor to GND. GPIO36 is configured as input. The LED is supposed to be switched on by another circuit. But the diode light up and stays on. It goes off if I hold down reset and also off if I add a diode to prevent reverse current. So it's definitely the p...
by RMandR
Fri May 07, 2021 7:50 pm
Forum: Hardware
Topic: Pulling up IO12 prevents proper boot up
Replies: 2
Views: 3483

Pulling up IO12 prevents proper boot up

I have an ESP32WRROM and have connected IO2 to a button which pulls up the GPIO when you press the button. If I hold the button and reset the esp32, I get the following error on repeat until I let go of GPIO12. rst:0x1 (POWERON_RESET),boot:0x33 (SPI_FAST_FLASH_BOOT) flash read err, 1000 ets_main.c 3...
by RMandR
Wed Nov 11, 2020 3:28 pm
Forum: General Discussion
Topic: WiFi/Internet KeepAlive - How to property maintain network connection without reboots?
Replies: 2
Views: 4111

Re: WiFi/Internet KeepAlive - How to property maintain network connection without reboots?

thanks @Gardin In their code, they retry a few times and then give up: if (event_base == WIFI_EVENT && event_id == WIFI_EVENT_STA_DISCONNECTED) {if (s_retry_num < EXAMPLE_ESP_MAXIMUM_RETRY) {esp_wifi_connect();s_retry_num++;ESP_LOGI(TAG, "retry to connect to the AP");} else {xEventGroupSetBits(s_wif...
by RMandR
Tue Nov 10, 2020 12:58 am
Forum: General Discussion
Topic: WiFi/Internet KeepAlive - How to property maintain network connection without reboots?
Replies: 2
Views: 4111

WiFi/Internet KeepAlive - How to property maintain network connection without reboots?

My application easily connects to the WiFi AP and the AWS IOT endpoint. This is all good, but after a few days, the device can lose wifi or IOT connection (due to power, or internet outage, AP not being always on, etc). The docs suggests that it is up to the "application" to maintain connectivity. W...
by RMandR
Mon Sep 14, 2020 4:15 pm
Forum: Hardware
Topic: how do you protect the ADC pin from battery reverse polarity?
Replies: 1
Views: 2442

how do you protect the ADC pin from battery reverse polarity?

I use the ESP32 ADC to measure the battery voltage. The board has a battery boost ic which takes the voltage of the two AAs to 3.3V for ESP32. The issue is that if the batteries are inserted backwards, the VCC will not be connected, but the ADC input pin which is connected to the battery terminal wi...
by RMandR
Mon Jun 01, 2020 6:00 pm
Forum: General Discussion
Topic: Automatic Light Sleeping during long spi transactions and Gpio states
Replies: 1
Views: 2930

Automatic Light Sleeping during long spi transactions and Gpio states

ePaper panels have a fairly long update delays (1 to > 4 seconds). It would be nice conserve power during the wait. When I enable automatic light sleep, esp32 is no longer able to communicate with the ePaper panel. My guess is that the GPIO pins either float during sleep or go to 0 including the res...
by RMandR
Fri May 29, 2020 8:00 pm
Forum: General Discussion
Topic: IDF 4.0 light sleep and maintaining WiFi AP connection
Replies: 2
Views: 4214

Re: IDF 4.0 light sleep and maintaining WiFi AP connection

@WiFive, Thank you!

Automatic light_sleep did the trick.
by RMandR
Thu May 28, 2020 9:27 pm
Forum: General Discussion
Topic: IDF 4.0 light sleep and maintaining WiFi AP connection
Replies: 2
Views: 4214

IDF 4.0 light sleep and maintaining WiFi AP connection

My app was able to stay WiFi connected to the AP without issues until I added periodic light_sleep for power saying. Essentially the same code presented in the light_sleep example: https://github.com/espressif/esp-idf/blob/master/examples/system/light_sleep/main/light_sleep_example_main.c /* Enter s...
by RMandR
Thu May 28, 2020 8:50 pm
Forum: General Discussion
Topic: Reading Certificates from Spiffs partition on the flash memory of esp32
Replies: 1
Views: 3161

Re: Reading Certificates from Spiffs partition on the flash memory of esp32

@saransh.goel Have a look at this post. I asked for a similar purpose: https://esp32.com/viewtopic.php?f=13&t=12963 In my case, I ended up copying the certificate data into RAM and passing them to the APIs. It looks like you may have to do the same: https://docs.espressif.com/projects/esp-idf/en/lat...