Search found 11 matches

by DanielPLongo
Wed May 10, 2023 1:48 pm
Forum: ESP-IDF
Topic: Mysterious freeze/stop in the field
Replies: 15
Views: 9367

Re: Mysterious freeze/stop in the field

I have been experiencing this exact same issue. My power source is dual battery and solar panel. Some never fail and others will fail unpredictably. I have both the task wdt and the rtc wdt running. Under test conditions I can trigger both, but when the ESP32 fails in the field it requires a hard re...
by DanielPLongo
Thu Apr 13, 2023 1:34 pm
Forum: ESP32 Arduino
Topic: How to keep ESP32 from resetting on wakeup from deep_sleep
Replies: 4
Views: 3373

Re: How to keep ESP32 from resetting on wakeup from deep_sleep

I can successfully save variable data in RTC memory by initializing it as follows: (My examples) //ULP Variables RTC_DATA_ATTR int dutyMeter = 0; RTC_DATA_ATTR int ulpStarted = 0; I use the ulpStarted flag and test in the main loop with an if statement to continue with the program if the normal star...
by DanielPLongo
Thu Mar 30, 2023 2:36 pm
Forum: General Discussion
Topic: ADC reading degrading over time
Replies: 6
Views: 2378

Re: ADC reading degrading over time

The zener, capacitor, and ESP32 share a common ground plane on a 2-layer PCB. The trace from the zener/capacitor junction to GPIO35 is 4mm. There are no other traces running parallel or close to it. There is one trace running perpendicular to it on the underside of the board, but it is a 3.3V pulse ...
by DanielPLongo
Wed Mar 29, 2023 1:31 pm
Forum: General Discussion
Topic: ADC reading degrading over time
Replies: 6
Views: 2378

Re: ADC reading degrading over time

S&HCircuit.png
S&HCircuit.png (131.34 KiB) Viewed 2324 times
LineVADC is connected to GPIO32
by DanielPLongo
Tue Mar 28, 2023 9:17 pm
Forum: General Discussion
Topic: ADC reading degrading over time
Replies: 6
Views: 2378

ADC reading degrading over time

I am using GPIO32 as a 12-bit input pin to read a voltage from a sample and hold circuit. I am monitoring the reading with a UART to serial monitor connection. My oscilloscope shows the voltage level does not diminish over time, but the reading from the ESP32 does at a rate of 15 points per minute (...
by DanielPLongo
Tue Mar 28, 2023 9:01 pm
Forum: ESP32 Arduino
Topic: Watchdog Timer in ULP
Replies: 2
Views: 1412

Re: Watchdog Timer in ULP

Thank you for the feedback! I will look into that and post my results.
by DanielPLongo
Fri Mar 24, 2023 1:28 pm
Forum: ESP32 Arduino
Topic: Watchdog Timer in ULP
Replies: 2
Views: 1412

Watchdog Timer in ULP

My device program is intermittently getting locked up while in Deep Sleep, running the ulp function (below). I have the watchdog timer running in the main portion of my program and initialize it at the very beginning of the main loop. I add the standard syntax at the beginning of my ulp function and...
by DanielPLongo
Mon Aug 29, 2022 1:14 pm
Forum: ESP32 Arduino
Topic: How to keep ESP32 from resetting on wakeup from deep_sleep
Replies: 4
Views: 3373

How to keep ESP32 from resetting on wakeup from deep_sleep

I am using ulp_start() in the code below to hold a PWM signal while the ESP32-WROOM-32UE is in deep sleep. However, when the program exits deep sleep via the timer, it resets the module. I need the program to stay in the loop and increment the PWM duty cycle at each iteration and NOT reset completel...
by DanielPLongo
Tue Apr 12, 2022 6:05 pm
Forum: ESP32 Arduino
Topic: Can connect via serial monitor app but not Arduino or ESP-IDF
Replies: 4
Views: 2591

Re: Can connect via serial monitor app but not Arduino or ESP-IDF

To be more succinct, I know there is serial communication, because I can see the ESP32-WROOM-32UE report in the CoolTerm serial monitor as well as reporting "waiting for download". I have been using this same build for the last year. Only a couple of days ago did the Arduino IDE stop being able to c...
by DanielPLongo
Mon Apr 11, 2022 8:54 pm
Forum: ESP32 Arduino
Topic: Can connect via serial monitor app but not Arduino or ESP-IDF
Replies: 4
Views: 2591

Re: Can connect via serial monitor app but not Arduino

ESP32-WROOM-32UE Thank you for the reply, but that link is not pertinent to my situation. To frame it more succinctly, I am not using a development board. The UART channel is operative and functionally the chip reports that it is "waiting for download" in CoolTerm serial monitor, but Arduino is not ...