I'm in my first Teensy project with the infamous audio guestbook project. I had the project working, but then it stopped, and it seems to be because the SD card isn't detected. Using Teensy 4.0 and Audio Shield Rev D.
The defines and SD card initialization code:
...and the serial monitor just consistently prints the "Unable to access the SD card" message.
When testing other Example programs in the Arduino IDE (such as File > Examples > SD > ReadWrite), I get similar errors ("Initializing SD card...initialization failed!" in this example).
I have scoured the forum and seems soldering is often the issue, but I've resoldered several times with no luck. I've attached photos of my solder job in case they're not as viable as I think.
I've also reformatted the SD card (exFAT) but no change.
If it's not a solder issue nor an SD card issue, is the next possibility that I've ruined the board? I was soldering at 700 degrees (I've since learned 500 is more appropriate) - perhaps I damaged the board? I'm still able to upload programs to the board though (i.e. the tutorial "Blink" works fine). Any suggestions for what to check next are appreciated!
The defines and SD card initialization code:
Code:
// DEFINES
// Define pins used by Teensy Audio Shield
#define SDCARD_CS_PIN 10
#define SDCARD_MOSI_PIN 11
#define SDCARD_SCK_PIN 13
// Initialize the SD card
SPI.setMOSI(SDCARD_MOSI_PIN);
SPI.setSCK(SDCARD_SCK_PIN);
if (!(SD.begin(SDCARD_CS_PIN)))
{
// stop here if no SD card, but print a message
while (1) {
Serial.println("Unable to access the SD card");
delay(500);
}
}
else Serial.println("SD card correctly initialized");
...and the serial monitor just consistently prints the "Unable to access the SD card" message.
When testing other Example programs in the Arduino IDE (such as File > Examples > SD > ReadWrite), I get similar errors ("Initializing SD card...initialization failed!" in this example).
I have scoured the forum and seems soldering is often the issue, but I've resoldered several times with no luck. I've attached photos of my solder job in case they're not as viable as I think.
I've also reformatted the SD card (exFAT) but no change.
If it's not a solder issue nor an SD card issue, is the next possibility that I've ruined the board? I was soldering at 700 degrees (I've since learned 500 is more appropriate) - perhaps I damaged the board? I'm still able to upload programs to the board though (i.e. the tutorial "Blink" works fine). Any suggestions for what to check next are appreciated!