OV7670 with SD card module and Nano

Hi im trying to setup a SD card module along with a OV7670 and nano based off of this website

and i am trying to test the SD Card using the test code:

#include <SD.h>

int CS_Pin = 10;

void setup() {
// SD setup
Serial.begin(9600);
pinMode(CS_Pin, OUTPUT);
if (SD.begin(CS_Pin)) {
Serial.println("Card Initialization Successful!");
}else{
Serial.println("Card Initialization Failed!");
}

File dataFile = SD.open("test.bmp", FILE_WRITE);

for(int i=0;i<240;i++){
for(int j=0;j<320;j++){
dataFile.write(0x77);
}
}

dataFile.close();
}

void loop(){
}

and it says the authentication failed and i dont know what to do (the electronics schematic is provided as well)

morgan_reid03:
and it says the authentication failed and i dont know what to do (the electronics schematic is provided as well)

I don't even know what authentication it would be referring to. Can you provide specific messages from the IDE?

sorry thats my bad it says :
Card Initialization Failed!
not authentication

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.