ESP32 with autoconnect has problems to send data to AdafruitIO

adafruit.io help, discussions and more!

Moderators: adafruit_support_bill, adafruit

Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.
Post Reply
User avatar
paolometeo
 
Posts: 18
Joined: Fri Feb 08, 2013 2:04 pm

ESP32 with autoconnect has problems to send data to AdafruitIO

Post by paolometeo »

Hi,
my project consists in allowing an ESP32 board to connect to a WiFi network and to the AdafruitIO server, without writing the access credentials in the program. I wrote a program in Arduino C and it works for the auto-connection, but unfortunately I have encountered strange problems, which only appear after the board has transmitted data regularly 10 - 20 times to the server: the board undergoes an auto-reset for no apparent reason. The period between two data transmissions is 10 - 20 seconds.
Another program, without running autoconnect functions, works perfectly.
I suppose that it may be some conflict among the libraries; does anyone have experienced these problems?
In attached there is the zipped program.
Thank-you in advance
Paolo
Prova_regolatore_V2_test.rar
(3.97 KiB) Downloaded 1 time

User avatar
Franklin97355
 
Posts: 23006
Joined: Mon Apr 21, 2008 2:33 pm

Re: ESP32 with autoconnect has problems to send data to AdafruitIO

Post by Franklin97355 »

Could you copy and paste your code between code tags( the </> button) so we can see it without having to extract the file?

Post Reply
Forum rules
If you're posting code, please make sure your code does not include your Adafruit IO Active Key or WiFi network credentials.

Return to “Internet of Things: Adafruit IO”