Can't send data from my ESP32 to ThingSpeak | ESP Wi-Fi | Forum

Avatar

Please consider registering
Guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed sp_TopicIcon
Can't send data from my ESP32 to ThingSpeak
No permission to create posts
September 3, 2019
12:26 pm
Avatar
avieliyahu
New Member
Members
Forum Posts: 1
Member Since:
September 3, 2019
sp_UserOfflineSmall Offline

Hey!
I used the demonstration code here: https://www.mathworks.com/help/thingspeak/measure-arduino-wifi-signal-strength-with-esp32.html
Instead of an internal button and LED, I used external ones (I changed the variables accordingly).
I also wrote my own SSID and password and wrote my own API Write key.
For some reason, the graphs in the ThingSpeak aren't being updated, even though the code works (I can see it thanks to the LED turning on and off).
Is there anything which I'm missing here?
Here's a link to my code: https://github.com/avieliyahu/ESP32-ThingSpeak/blob/master/sketch_sep03b.ino

Edit: BTW I really don't understand all the HTTP connections and all, so if someone can post a link to a video or a website that explains it, it could help me a lot.

September 5, 2019
10:22 am
Avatar
cstapels
Moderator
Members


Moderators
Forum Posts: 771
Member Since:
March 7, 2017
sp_UserOfflineSmall Offline

Do you see the number of entries increase on your channel or does the number stay constant?

What do you see on the serial monitor?

There is now a built in example for ESP32 with the ThingSpeak Communication Library, you can download the library with examples here:
https://github.com/mathworks/thingspeak-arduino

Forum Timezone: America/New_York

Most Users Ever Online: 166

Currently Online:
27 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

rw950431: 272

Vinod: 240

piajola: 95

turgo: 70

vespapierre: 63

Adarsh_Murthy: 62

Member Stats:

Guest Posters: 1

Members: 8665

Moderators: 1

Admins: 2

Forum Stats:

Groups: 3

Forums: 14

Topics: 1600

Posts: 5760

Newest Members:

Hema, askask, Rakwireless, budiardi basuki, oliver009, shelby1234

Moderators: cstapels: 460

Administrators: Hans: 405, lee: 457