Cannot get uno wifi set up with Cayenne


#1

Good Evening
I recently purchased an arduino uno with built in wifi but I am unable to set it up with Cayenne it does not appear in the the drop down box in the dashboard when I am trying to set up the board
I chose wifi 101 shield as my arduino uno has wifi 101 factory fitted

Please refer to the below error message I am new to arduino
Thanks John

Arduino: 1.8.0 (Windows 10), Board: “Arduino Uno WiFi”

In file included from C:\Users\John\Documents\Arduino\libraries\arduino_237773/CayenneWiFi101.h:24:0,

             from C:\Users\John\Documents\Arduino\sketch_jan18f\sketch_jan18f.ino:19:

C:\Users\John\Documents\Arduino\libraries\arduino_237773/BlynkSimpleWiFiShield101.h:18:21: fatal error: WiFi101.h: No such file or directory

#include <WiFi101.h>

                 ^

compilation terminated.

exit status 1
Error compiling for board Arduino Uno WiFi.

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


#2

Welcome @johnmcaveety,

You need to install the Wifi101 library.

https://www.arduino.cc/en/Reference/WiFi101

Cheers,

Craig


#3

Hi
I have now installed and ensured that "https://www.arduino.cc/en/Reference/WiFi101 " has been installed however I still cannot get my arduino uno wifi set up with Cayenne
I tick the box in step 3 connect your arduino board I choose WiFi 101 cut and paste the sketch I then click done at the bottom of the 101 shielsketch and waiting for board to connect keeps trying to connect to the board
I have left it running for 2 hours but the board does not connect
any furtther advice would be appreciated
I managed to get my raspberry pi connected Cayenne without any problems
thanks
oldvots


#4

I think we should take a step back here and make sure we’re all discussing the same hardware:

Do you have and Arduino Uno with a Wifi 101 Shield
or is it the Arduino Uno WiFi board itself?

If it’s the latter, I would try to connect it like an ESP8266 rather than using that WiFi 101 sketch, since that board uses an ESP8266 for internet connectivity. We don’t have the ESP8266 in our Add Device GUI just yet, but plenty of people here are using them for projects. See this post for a primer on how to connect one.


#5

Hi rsigel
Yes it is the arduino uno wifi I purchased so thanks for the link it looks a bit daunting at present but I wiLloyd make time to set down and have a go at setting it up
Thanose rsigel for taking the time to reply to my post
The reply and advice is very much appreciated
Oldvolt


#6

No worries, I know it’s not quite as clean as picking menu options in our UI, and we plan to have it integrated there in the first quarter of this year. At that time it will have documentation, tutorials, everything else that the other microcontrollers have.

Certainly use us on the forum as a resource if you get stuck or have questions while connecting this device.


#7

Thanks rsiegel


#8

Hi @johnmcaveety I have Uno with Wifi built in too with Developer Edition, and I cannot connect to Cayenne, have you succeeded after reading the post which has been referred by @rsiegel?

If yes, please share your script. Thanks.


#9

Folks,

I have some ideas. Upon further review, this requires a wifi library change (I think) as the board incorporates an I2C to UART expander so the debug port remains free for your programs.

I think we can make this work. Stay tuned. Maybe tonight I can throw together some instructions to try.

Cheers,

Craig


#10

Hello, has there been any progress on this matter ? I have the same issue as initially mentionned in this thread. Thanks !


#11

hello it’s possible to connect the arduino uno wifi with cayenne?

thanks


#12

yes its possible. install cayenne MQTT library and you will find the example.