Hello, friends.
First of all, in my first message, I would like to congratulate this forum! It's almost an "Alexandria Library".
Well... I'm trying to make a DataLogger using a SD Shield. So I'm using an OEM shield from LC Technology with a SDHC Card (16GB) with an Arduino Uno, but always got the "Fail" message.
So I tried every single wiring possibilities, (5v supply with tension divider to 3.3v interfacing the shield... used also the 3.3 output from Arduino with direct connections to the shield) and none worked.
Also, I've tried every single suggestion given to similar problems depicted in this forum. None too.
Thus, running the SdInfo code, with direct connections (MOSI @ 11; SCK @ 13; MISO @ 12; CS @ 4) and using the 3.3v supply, I've got the following response:
init time: 5 ms
Card type: SDHC
Manufacturer ID: 0X27
OEM ID: PH
Product: SD16G
Version: 3.0
Serial number: 1460981884
Manufacturing date: 7/2014
cardSize: 15476.98 MB (MB = 1,000,000 bytes)
flashEraseSize: 128 blocks
eraseSingleBlock: true
SD Partition Table
part,boot,type,start,length
1,0X0,0XC,8192,30220288
2,0X0,0X0,0,0
3,0X0,0X0,0,0
4,0X0,0X0,0,0
vol.init failed
SD errorCode: 0X4
SD errorData: 0X0
I've tried all CS possible pins (4, 8 and 10), and tried to change the SPI_HALF_SPEED to "sixteenth" and "full" variations. Nothing changes.
May I conclude there is a hardware problem with my shield? Or its my SD? (The SD is working fine on my camera and on PC; it's on FAT32)
Thank you.