Defective ATWINC1500 WiFi Breakout?

For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
MBatt1
 
Posts: 5
Joined: Thu Oct 21, 2021 3:13 pm

Defective ATWINC1500 WiFi Breakout?

Post by MBatt1 »

We're trying to test the ATWINC1500 breakout for the first time, following the guide from here:
https://learn.adafruit.com/adafruit-atw ... e-breakout
We're using Kuman UNO, all wires and pins have been checked, however when running the "CheckWiFi101FirmwareVersion" example, all that's output is "WiFi101 firmware check. WiFi 101 Shield: NOT PRESENT". The wires are set up identically to the wires in the guide.

Here's the code we're trying to use

Code: Select all

/*
 * This example checks if the firmware loaded on the WiFi101
 * shield is updated.
 *
 * Circuit:
 * - WiFi 101 Shield attached
 *
 * Created 29 July 2015 by Cristian Maglie
 * This code is in the public domain.
 */
#include <SPI.h>
#include <WiFi101.h>
#include <driver/source/nmasic.h>

void setup() {

  WiFi.setPins(8,7,4);
  // Initialize serial
  Serial.begin(9600);
  while (!Serial) {
    ; // wait for serial port to connect. Needed for native USB port only
  }

  // Print a welcome message
  Serial.println("WiFi101 firmware check.");
  Serial.println();

  // Check for the presence of the shield
  Serial.print("WiFi 101 Shield: ");
  if (WiFi.status() == WL_NO_SHIELD) {
    Serial.println("NOT PRESENT");
    return; // don't continue
  }
  Serial.println("DETECTED");

  // Print firmware version on the shield
  String fv = WiFi.firmwareVersion();
  String latestFv;
  Serial.print("Firmware version installed: ");
  Serial.println(fv);

  if (REV(GET_CHIPID()) >= REV_3A0) {
    // model B
    latestFv = WIFI_FIRMWARE_LATEST_MODEL_B;
  } else {
    // model A
    latestFv = WIFI_FIRMWARE_LATEST_MODEL_A;
  }

  // Print required firmware version
  Serial.print("Latest firmware version available : ");
  Serial.println(latestFv);

  // Check if the latest version is installed
  Serial.println();
  if (fv >= latestFv) {
    Serial.println("Check result: PASSED");
  } else {
    Serial.println("Check result: NOT PASSED");
    Serial.println(" - The firmware version on the shield does not match the");
    Serial.println("   version required by the library, you may experience");
    Serial.println("   issues or failures.");
  }
}

void loop() {
  // do nothing
}

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Defective ATWINC1500 WiFi Breakout?

Post by mikeysklar »

Can you post a photo of your wiring and point me towards the pinouts for the Kuman. Ideally you would first get the WINC1500 talking with an Arduino UNO or any of our controllers before using a more obscure clone.

User avatar
MBatt1
 
Posts: 5
Joined: Thu Oct 21, 2021 3:13 pm

Re: Defective ATWINC1500 WiFi Breakout?

Post by MBatt1 »

We have switched to a regular Arduino UNO, with the same exact layout as in the attached images, however still get the same error message.
All wires and pins are verified to work. We're using the CheckWiFi101FirmwareVersion example to check if it is working, this is what we get in the 9600 baud serial monitor:

Code: Select all

WiFi101 firmware check.

WiFi 101 Shield: NOT PRESENT
Attachments
20211026_125703_HDR-min.jpg
20211026_125703_HDR-min.jpg (847.15 KiB) Viewed 453 times
20211026_125823_HDR-min.jpg
20211026_125823_HDR-min.jpg (686.43 KiB) Viewed 453 times
20211026_125830-min.jpg
20211026_125830-min.jpg (752.71 KiB) Viewed 453 times

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Defective ATWINC1500 WiFi Breakout?

Post by mikeysklar »

Is the header on the ATWinC1500 soldered in place?

User avatar
MBatt1
 
Posts: 5
Joined: Thu Oct 21, 2021 3:13 pm

Re: Defective ATWINC1500 WiFi Breakout?

Post by MBatt1 »

The pins are unsoldered, however all are in contact with the breakout.

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Defective ATWINC1500 WiFi Breakout?

Post by mikeysklar »

You will need to solder the header pins in place to establish a connection with the WINC1500.

User avatar
MBatt1
 
Posts: 5
Joined: Thu Oct 21, 2021 3:13 pm

Re: Defective ATWINC1500 WiFi Breakout?

Post by MBatt1 »

Board has been soldered, however we still get the same message. Is there any indincator that the breakout itself is on when connected? There is no light on it like some other breakout boards.
Attachments
20211028_133259-min.jpg
20211028_133259-min.jpg (732.66 KiB) Viewed 439 times

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Defective ATWINC1500 WiFi Breakout?

Post by mikeysklar »

I'm not sure that there is an LED that comes on with system power only. The guide does not specific and the Err/Net/WiFi labels beside the LEDs would be relevant once communication has started.

Thanks for the high quality photos. The last shot with the soldering looks better, but now it looks offset by at least one with the breadboard pins. Is Vin properly connected to the orange jumper cable? I know this can be a visual effect of breadboard photos, but it really looks offset.

User avatar
MBatt1
 
Posts: 5
Joined: Thu Oct 21, 2021 3:13 pm

Re: Defective ATWINC1500 WiFi Breakout?

Post by MBatt1 »

It was one pin off, however now we have a different problem, the firmware version checker says to update, however upon following the instructions to update the firmware, we have two issues:
* The MAX_PAYLOAD_SIZE being set to 1024 exceeds the memory space for global variables, so it must be set to a lower number
* When using "test connection" the programmer does not respond, as seen in the attached image
Attachments
Capture.PNG
Capture.PNG (97.46 KiB) Viewed 429 times

User avatar
mikeysklar
 
Posts: 13936
Joined: Mon Aug 01, 2016 8:10 pm

Re: Defective ATWINC1500 WiFi Breakout?

Post by mikeysklar »

Good job getting the wiring worked out.

The UNO and Mega won't have the necessary memory to do a firmware upgrade for the WINC1500.

You have a few options:

1) Skip the firmware upgrade. Our guide suggests that being at 19.5.2 or higher is good enough.

2) Use an M4 based microcontroller for the firmware upgrade.

viewtopic.php?f=31&t=149461

Locked
Please be positive and constructive with your questions and comments.

Return to “Wireless: WiFi and Bluetooth”