SD cardAdafruit 2.4" TFT FeatherWing

Adafruit Ethernet, Motor, Proto, Wave, Datalogger, GPS Shields - etc!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
alainsam
 
Posts: 199
Joined: Tue Oct 04, 2016 7:58 pm

SD cardAdafruit 2.4" TFT FeatherWing

Post by alainsam »

Can the SD card in the Adafruit 2.4" TFT FeatherWing be uses as a data loger?

User avatar
dastels
 
Posts: 15608
Joined: Tue Oct 20, 2015 3:22 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

Post by dastels »

Sure. It's just an SD card. You just have to mount it, open a file(s), and write to it. Have a look at the bottom of https://learn.adafruit.com/adafruit-2-4 ... ng/pinouts to find the CS pin for it on the Feather you are using.

Dave

User avatar
alainsam
 
Posts: 199
Joined: Tue Oct 04, 2016 7:58 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

Post by alainsam »

Thanks but I am a bit confuse about the pin number on the ESP8266. For example the pin 2 for SD is that the physical pin #5 starting pin#1 at the left side of the USB connector?

User avatar
alainsam
 
Posts: 199
Joined: Tue Oct 04, 2016 7:58 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

Post by alainsam »

I'm trying to use the SD in the TFT Featherwing. + 8266 Feather
I have a 128GB card from SANDISK Ultra Formated as required
I" am using the SDInfo exemple modified for CS = 2
I got stuck with "File System initialization failed" error. and need help
I get the following output when running the program:
type any character to start

init time: 13 ms

Card type: SDXC

Manufacturer ID: 0X3
OEM ID: SD
Product: SD128
Version: 8.5
Serial number: 0XB79A5FC5
Manufacturing date: 8/2014

cardSize: 127865.45 MB (MB = 1,000,000 bytes)
flashEraseSize: 128 blocks
eraseSingleBlock: true
OCR: 0XC0FF8000

SD Partition Table
part,boot,type,start,length
1,0X0,0X7,32768,249704448
2,0X0,0X0,0,0
3,0X0,0X0,0,0
4,0X0,0X0,0,0
error:
File System initialization failed.

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino Shields from Adafruit”