TinyCircuits Forum

TinyCircuits Products => TinyDuino Processors & TinyShields => Topic started by: amason101070 on October 24, 2017, 01:16:55 PM

Title: Need a little help with WiFi Tinyshield
Post by: amason101070 on October 24, 2017, 01:16:55 PM
Hi alll.

I am new to the forum and new to TinyDuino. I have become familiar with the GPS tracking and other features, but I am having trouble with the WiFi module. It just came in the mail yesterday, but I can't seem to do anything with it. I watched the video by Joseph Stackhouse at the following link [url][https://www.youtube.com/watch?v=irk95KCqngQ&list=PLJ2AI2n7xmaqai2VA7_TVRgV4jRRnyqPA/url] and followed every step, but i get nothing. Actually what I get when I try to run the ntpTest is the following...

Hello, cc3000!

Free RAM:841

Initialising the CC3000 ...


And that's it. It just sits there like that and I have left it alone for a good 20 minutes just in case. I currently have the WiFi module stacked on top of the main board and USB shield and powered up by USB. The main board lights flicker, but i get zero response from the WiFi.

Any help would be greatly appreciated.

Also,  my apologies if this message needed to be formatted a certain way. I just signed up for the forum, but I will definitely go over all the rules and protocols of the forum.

Thanks,

Ron
Title: Re: Need a little help with WiFi Tinyshield
Post by: tvykruta on November 08, 2017, 07:39:33 PM
I have the same problem. I installed the CC3000 1.0.0 library (seems to be the only version available) and try to run the Examples but it freezes inside cc3000.begin().

I also tried every version of the WiFi101 library. Versions 13.1 and below show a "WiFI not detected" message over the serial monitor, and 14.0+ versions freeze inside WiFi.status().

I can run the Blink example, if I include the wifi101 header and try to call WiFi.status(), it freezes.

I found other threads with people complaining about this doing trying crazy things to fix it with no luck. I also tried running the WiFi101 flash updater and the flash updater Example, none of this works. It won't even connect to the port.

Anyone have further info on this?

I'm having troubles with the GPS module too.
Title: Re: Need a little help with WiFi Tinyshield
Post by: tvykruta on November 17, 2017, 01:26:58 PM
Solved! Add this code to the WiFi101 ScanNetworks example:
   WiFi.setPins(8,2,A3,-1);

Should look like this:

Serial.begin(9600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only
  }
 
  WiFi.setPins(8,2,A3,-1);
 
  // check for the presence of the shield:
  if (WiFi.status() == WL_NO_SHIELD) {
    Serial.println("WiFi shield not present");
    // don't continue:
    while (true);
  }
 
I have the ASD2123 chipset, the WiFi TinyShield (ATWINC1500) product. You'll find tiny letters ASD2123 inscribed on the back. If you don't see them, you have a different WiFi board than me.