Has anybody managed to talk to ThingSpeak on an Arduino R 4 (wifi)?

3 views (last 30 days)
Hi,
I've been trying to use the new Arduino 4 (wifi version) to communicate with ThingSpeak. The r4 has wifi capabilities, how hard can it be? The answer seems to be 'plenty hard' as none of the libraries seem to want to play well.
If anybody has actually managed this, please can you share?

Answers (1)

Christopher Stapels
Christopher Stapels on 7 Aug 2023
If you want to go without the library, this example shows how to write the HTTP commands somewhat directly without the ThingSpeak communication library. Ill submit an enhnacement request to update the library.
  2 Comments
kevin wright
kevin wright on 8 Aug 2023
Hi Christopher,
thanks for getting back to me. I'll give it a try but I notice that code needs to include the esp8266.h which I think will cause problems on the Arduino r4. Anyway I'll try it and let you know if it solves the problem,
regards,
Kevin
Christopher Stapels
Christopher Stapels on 9 Aug 2023
Kevin,
In this example, they use a library called wifiS3.h. I suspect that will work with the R4 and the commands in the example I sent above.
-Chrisotpher / CJ

Sign in to comment.

Communities

More Answers in the  ThingSpeak Community

Categories

Find more on MATLAB Support Package for Arduino Hardware in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!