WiFi_Kit_series icon indicating copy to clipboard operation
WiFi_Kit_series copied to clipboard

6Pin SPI SD-Card Adapter does Not work using defined pins

Open asalaices opened this issue 6 years ago • 1 comments

I have been trying to get a 6pin SPI "SD TF Card Adater Reader Module " on the Heltec wifi Kit 32 using the Pins as shown in the Diagram and the Card just won't work. I am using pins

static const uint8_t SS = 5; static const uint8_t MOSI = 23; static const uint8_t MISO = 19; static const uint8_t SCK = 18;

Exactly as defined in the pins_arduino.h for the Wifi-Kit-32 and the card just refuses to work. I am successful when using the mySD library that allows me to pass all the SPI Pins, but that library has incompatibility problems.

Is there anything specific in Code I have to do to get it working ? I Can you please provide a Quick diagram showing the pin connections from the SD board to the Heltec ? a Sketch would be great as well !

The code where its failing:

if(!SD.begin()){ Serial.println("Card Mount Failed"); return; }

Thanks so much ..

asalaices avatar May 28 '19 13:05 asalaices