Search found 11 matches

by bkgoodman
Fri Sep 25, 2020 10:20 pm
Forum: ESP-IDF
Topic: Proper way to restart MQTT and Wifi?
Replies: 2
Views: 278

Proper way to restart MQTT and Wifi?

As any IoT device would warrant - I am connecting via Wifi and MQTT, and want to make sure if things go wonky (i.e. Wifi issues, etc) - my device can reconnect. I've had testing issues - and am now simulating by just turning off and turning on my Wifi access point. I am largely using MQTTS_EXAMPLE c...
by bkgoodman
Tue May 19, 2020 2:13 pm
Forum: General Discussion
Topic: ESP32: Use Arduino or ESP-IDF?
Replies: 16
Views: 22221

Re: ESP32: Use Arduino or ESP-IDF?

I just felt compelled to share my experience with the two: I wanted to make a simple device that could speak to Amazon IoT via MQTT/SSL on ESP32. I started with Arduino IDE. It took me two weeks to find the right libraries, get them configured properly, debug some problems with the libraries off-the...
by bkgoodman
Fri May 08, 2020 7:15 pm
Forum: ESP-IDF
Topic: Cannot reconnect to Wifi after Deep Sleep
Replies: 0
Views: 392

Cannot reconnect to Wifi after Deep Sleep

I am using some standard code which uses ESP_ERROR_CHECK(example_connect()); to connect to Wifi. I have been running on a DEVKIT ESP32 module for weeks and have had no issues. After doing some stuff I do a esp_wifi_stop(); and then a esp_deep_sleep - all has been very very reliable. Today I switched...
by bkgoodman
Sun May 03, 2020 11:29 pm
Forum: General Discussion
Topic: I2S w/ Internal DAC Example
Replies: 1
Views: 602

I2S w/ Internal DAC Example

Does anyone have any basic sample/example of getting I2S audio working with internal DAC (and external amplifier)?

I've found some discussions, etc. but have yet to find an actual working code sample, nor have I been able to get it to work...

-BKG
by bkgoodman
Sun May 03, 2020 10:24 pm
Forum: General Discussion
Topic: What would you like to see in The Next Chip?
Replies: 387
Views: 183456

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

Power control support, specifically:

LiPo battery management
Charger Management

Specifically for +5v/USB charger and Solar charged-LiPo applications
by bkgoodman
Wed Mar 29, 2017 1:03 pm
Forum: Documentation
Topic: Documentation Requests/Feedback
Replies: 75
Views: 104278

Re: Document Requests

Yep - Exactly what Novalight said ;-)
by bkgoodman
Mon Mar 27, 2017 12:07 pm
Forum: Documentation
Topic: Documentation Requests/Feedback
Replies: 75
Views: 104278

Re: Document Requests

I *really* need to the RTC watchdog - because I need my circuit to be able to perform a full-system-reset in the event of something bad happening. (It is being designed for installation in a 7/24 lights-out [remote] environment. I have already seen cases where some of the libraries - like Secure WiF...
by bkgoodman
Sun Mar 26, 2017 2:43 pm
Forum: Documentation
Topic: Documentation Requests/Feedback
Replies: 75
Views: 104278

Re: Document Requests

RTC watchdog is COMPLETELY undocumented. Seeing how it is the only mechanism to do an main system reset, the is very important to me. I saw a reference to some registers used
by bkgoodman
Mon Feb 20, 2017 3:11 pm
Forum: ESP32 Arduino
Topic: Watchdog
Replies: 7
Views: 11047

Re: Watchdog

I tried another hack that worked for a while - I ran a wire from a GPIO to a reset, and made a timer/alarm/interrupt to fire the pin after a given point of time. It did the job - but I ran into two problems: 1. At one point the LWIP stack hit an exception, and it hung in the "Guru Meditation". 2. At...
by bkgoodman
Fri Feb 17, 2017 4:57 pm
Forum: ESP32 Arduino
Topic: Bootloader freeze after repeated resets
Replies: 0
Views: 1438

Bootloader freeze after repeated resets

I have a timer based "watchdog" which does a system reset when it fires by just doing a simple: REG(RTC_CNTL_OPTIONS0_REG) = RTC_CNTL_SW_SYS_RST; // SYSTEM RESET ...which resets the system. This works fine - for a few times, but eventually freezes somewhere between the bootloads and running the setu...

Go to advanced search