0

SD cardAdafruit 2.4" TFT FeatherWing
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

SD cardAdafruit 2.4" TFT FeatherWing

by alainsam on Sun May 09, 2021 11:10 pm

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

alainsam
 
Posts: 53
Joined: Tue Oct 04, 2016 7:58 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by dastels on Mon May 10, 2021 11:24 am

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-tft-touch-screen-featherwing/pinouts to find the CS pin for it on the Feather you are using.

Dave

dastels
 
Posts: 6431
Joined: Tue Oct 20, 2015 3:22 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by alainsam on Tue May 11, 2021 4:22 pm

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?

alainsam
 
Posts: 53
Joined: Tue Oct 04, 2016 7:58 pm

Re: SD cardAdafruit 2.4" TFT FeatherWing

by alainsam on Thu May 13, 2021 6:58 pm

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.

alainsam
 
Posts: 53
Joined: Tue Oct 04, 2016 7:58 pm

Please be positive and constructive with your questions and comments.