Hi Everyone,
I’m currently running a pilot of a batch of wearable prototypes. I’ve recently purchased five nanos from Core (this one) to build out the batch, plugged them into an existing board and uploaded a sketch that was working on a nano from Jaycar (which was built using this).
Everything works except the SD card (from Jaycar) isn’t being recognised. The new nanos all have usb ports with a name of UUT or UUT1, I’m wondering if this is indicative of something.
I’ve tried five different nanos, sd card readers and cards (including two brands). Has anyone experienced issues with SD cards with this board?
Relevant part of my sketch:
include <SD.h>
// SDCARD SETUP
const int chipSelect = 4;
// set up EEPROM
int addr = 0;
byte fileVer;
byte newFileVer;
void setup() {
Serial.begin(115200); // we agree to talk fast!
Serial.println("Initializing SD card");
if (!SD.begin(chipSelect)) {
Serial.print("\t");
Serial.println("Card failed, or not present...");
// don't do anything more:
while (1);
}
Serial.print("\t");
Serial.println("SD card initialized");
}