2:44 am


Gold
August 10, 2017

The specs for Uno WiFi Rev2 imply that it is very similiar to other Uno's with wifi.
These notes are from the Arduino web site
WiFiNINA.h
This library allows you to use the Arduino UNO WiFi Rev.2, Arduino MKR 1010 and Arduino MKR VIDOR 4000 WiFi capabilities. It can serve as either a server accepting incoming connections or a client making outgoing ones. The library supports WEP and WPA2 Personal encryption. This library support all the same methods of the original WiFi library plus the connectSSL(). The WiFiNINA library is very similar to the Ethernet and the library WiFi, and many of the function calls are the same.
Using the WiFiNINA.h library only and writing to ThingSpeak using the Thingspeak example json code to Bulk upload works fine, but it only uploads one field.
ThingSpeak.h does not (yet?) have any code references to enable UnoWiFi Rev2 and the Arduino IDE produces a error Message "Platform not supported"
It would be helpful if ThingSpeak.h was revised to support the Uno WiFi Rev2 as it is a convenient solution to multiple field uploads.
How can this be implemented?
8:35 am


MathWorks
October 21, 2016

The ThingSpeak library is compatible with the Uno WiFi Rev2 and WiFiNINA . We are just missing an example specific for Uno WiFi Rev2.
I don't have a Rev2 to test with, but the I think the MKR1010 examples should work for the Uno WiFi Rev2. Just make sure to choose the correct board in the IDE: Arduino Uno WiFi Rev2
Let us know if it works.
10:31 am


Gold
August 10, 2017

This is the complete IDE compile error message
WARNING: library thingspeak-arduino-master claims to run on (avr, esp8266, sam, samd) architecture(s) and may be incompatible with your current board which runs on (megaavr) architecture(s).
In file included from /Users/mack/Documents/Arduino/UnoWiFi_R2/UnoWiFi_R2_Write_Multiple_Fields/UnoWiFi_R2_Write_Multiple_Fields.ino:26:0:
/Users/mack/Documents/Arduino/libraries/thingspeak-arduino-master/src/ThingSpeak.h:61:4: error: #error Only Arduino MKR1000, Yun, Uno/Mega/Due with either WiFi101 or Ethernet shield. ESP8266 also supported.
#error Only Arduino MKR1000, Yun, Uno/Mega/Due with either WiFi101 or Ethernet shield. ESP8266 also supported.
^
/Users/mack/Documents/Arduino/libraries/thingspeak-arduino-master/src/ThingSpeak.h:84:3: error: #error "Platform not supported"
#error "Platform not supported"
^
exit status 1
Error compiling for board Arduino Uno WiFi Rev2.
Most Users Ever Online: 166
Currently Online:
31 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:
Advantagetreeexperts, laundrydaddyuk, techhhelp5, ken, tran, huldacormierModerators: cstapels: 460
Administrators: Hans: 405, lee: 457