Write to SD card with Arduino Due

Hello every one
I want to log data in .txt file in sd card with Arduino due board. I use SD library for this but I can't save any file in sd card ... and then I found SdFat library ... again I can't run with sample codes

my sd card module is : Buy MICRO SD CARD MODULE TF CARD MEMORY SHIELD - SD STORAGE ...

I format my sd card as FAT16

I connect sd module pins to ICSP header

please help

Hi @mettiblack72

this appears to be the schematic of your SD module.

This module has a 5V to 3.3V converter, (chip TXB0104), for the SD card.
The arduino Due provides 3.3V at the pin output, so it may not work with this module.

What voltage are you feeding this SD module?

RV mineirin

Thanks for reply

I feed 5V to sd card module vcc pin

How Can I Config SD.h library for Arduino Due ?

Hi @mettiblack72
The problem doesn't seem to be one of library.
It appears to be voltage levels.
The output levels of the DUE pins are 3.3V and your module asks for 5V on the input pins.

RV mineirin

Hi @ruilviana
I removed IC and then solder pins straight to SD socket , again I couldn't run sd.

All Voltage are 3.3v

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