WiFi Shield IoT Kit

WiFi Shield IoT Kit
« on: December 19, 2018, 01:19:14 AM »
Hi! I have TinyZero IoT Kit as well as the TinyShield ST Bluetooth LT. I have gone through uploading the TinyZero_BMA250 Cayenne program as well as the WiFi101Config trying to connect to a WiFi network with no success.
I have made sure that the pins are properly set using:
Code: [Select]
WiFi.setPins(8, 2, A3, -1); // VERY IMPORTANT FOR TINYCIRCUITS WIFI SHIELDI also tried setting the ip address via
Code: [Select]
I have successfully uploaded other programs and gotten the TinyZero to read from the accelerometer as well as connected to the nRF app via bluetooth.

But when trying to connect to wifi, it gets hung in this loop:
Code: [Select]
while (WiFi.status() != WL_CONNECTED)

I have also extended the time of the delay incase there was any lag in connection. I have gotten the yellow TX light on the WiFi shield but that is it. Any further guidance or input would be greatly appreciated. I'm just not sure if it is something mechanical.
Thank you!

Re: WiFi Shield IoT Kit
« Reply #1 on: December 19, 2018, 12:34:28 PM »
Hello vpete,

It may just be that you're not getting a strong enough connection. If you are using a laptop and are able, I would advise moving closer to your Router.

It also never hurts to double check the input network information is correct at the top of the program.

Re: WiFi Shield IoT Kit
« Reply #2 on: December 19, 2018, 11:00:24 PM »
Thanks for the response lennevia!

I have tried sitting right in front of the router and unfortunately no dice. I have reentered the network name and password multiple times also to make sure I've checked on other devices. I have even tried on a different network that has totally different credentials and still the same result.

Is there anyway to run some sort of diagnostic or just check the chip? Everything in the kit has been straightforward and effective so I just wonder if there is a way to check and make sure this one thing is good to go.

Re: WiFi Shield IoT Kit
« Reply #3 on: December 20, 2018, 04:27:57 PM »
Hey vpete,

I'm looking through the program, and I'm trying to match what step you're stuck on. It looks like when I have the WiFi info in, but the Cayenne information filled with nothing, it stops the whole program for some reason. I tried putting a delay, but now I have the green light for connection and a blinking yellow light.

Do you have your Cayenne authentication entered? If not, I would recommend commenting out the
Code: [Select]
Cayenne.begin(username, password, clientID);
line to focus on just getting the WiFi working. It may even help to comment out
Code: [Select]
Cayenne.loop();in loop() and effectively removing all Cayenne shenanigans.

I didn't hit the endless "..." loop like you did, so I'm curious what your program looks like. If you've made some changes, it would help for you to post your code so I can see what may be going on (minus your WiFi information of course)

I'm not aware of a system check for the WiFi board at the moment, but I will look into it!

Re: WiFi Shield IoT Kit
« Reply #4 on: December 22, 2018, 06:02:07 PM »
Thanks very much! I did that and made a change to my network and was able to connect.

I am now also able to see it in Cayenne  :)

Happy Holidays!!