Winc1500 SD

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jdelcamp11
 
Posts: 283
Joined: Mon Nov 17, 2014 12:30 am

Winc1500 SD

Post by jdelcamp11 »

I purchased the winc1500 shield
The board works perfectly on my genuino101.

But nothing is working on my DUE.
The SD reports failed to initialize
The check firmware works if I comment out the // Check for the presence of the shield if section
All other routines hang.

Is there a way to get this shield working on a DUE???

User avatar
jdelcamp11
 
Posts: 283
Joined: Mon Nov 17, 2014 12:30 am

Re: Winc1500 SD

Post by jdelcamp11 »

I have found a solution to the wifi problems:
Contrary to Adafruits tutorial, The default pin definitions DO NOT match the library definitions.
you have to define the pins

Code: Select all

  /*These are the selectable interrupt and control pins for the Winc1500 */
#define wifi_IRQ    7  // MUST be an interrupt pin! 
#define wifi_Reset  5  // These 2 can be any two pins
#define wifi_CS    10
  // Use hardware SPI for the remaining pins
  // On an UNO, SCK = 13, MISO = 12, and MOSI = 11 */
 
void setup() {    
  WiFi.setPins(wifi_CS,wifi_IRQ,wifi_Reset); 
  
I don't know yet if this solves the SD card issues, but now I can use the Wifi

User avatar
jdelcamp11
 
Posts: 283
Joined: Mon Nov 17, 2014 12:30 am

Re: Winc1500 SD

Post by jdelcamp11 »

found a solution to the SD problem.
I changed the SD library to the one from Adafruit.
https://github.com/adafruit/SD

All is well now.

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

Return to “Arduino Shields from Adafruit”