I’ve purchased board like this http://www.ebay.com/itm/310645105092?ssPageName=STRK:MEWAX:IT&_trksid=p3984.m1423.l2649from ebay and as i found out later it has no SD card shield so i’m interested in if i can connect SD card directly to arduino because it is the best choice for me for this time, since i’m in a hurry and another purchase would waste my valueable time.
So please help me and give me some info how to connect SD and this board to arduino and make them work.
Thanks in advance!
SDcards run at 3.3V, not 5V, be warned. They also take more current than most Arduino
3.3V supply pins can source.
So some sort of SPI level shifter and a 3.3V voltage regulator capable of a few 100mA
is the minimum requirement (well an SD socket as well). For level shifting I've managed
to use 1k/2.2k voltage dividers before now. The MISO pin should, with luck be able to
read the SDcard data out at 3.3V OK...
and what about this source ? does this really work for me ?.
and in addition, will current sufficient for it, since no additional parts are listed in the article, above.
Ok, i've got one tutorial (also), which i think is the best one http://sriramiyer.net/blog/2013/09/28/arduino-making-a-microsd-shield/
I think this would solve my problem.
and i'm interested in can it cause any problem with VS1053 shield, since it will have separate SD card slot. i've been working on VC1053 and it had onboard SD card slot (had no problem using it), but i'm not sure if it work?
also do you have any library targeting this board (VS1053 ? )
I've got that same VS1053 breakout.
Keep in mind that if you are using it to play MP3s, you must short two of the pins together, just drop a ball of solder between them (if you don't it starts in MIDI mode). See this picture for reference. (Not mine, credits go to pic's owner).
My board worked flawlessly with the Ethernet shield's SD slot.
I then decided to buy a microSD breakout (http://www.ebay.com/itm/321461876510) which, surprisingly, has a level shifting chip and a 5-3.3V regulator onboard. After confirming that it worked, I connected the VS1053 chip - to my amazement, it did not work.
Turns out that the SD card draws too much power at startup and does not allow the chip to start. If it's powered up after the chip there's no problem. So my solution was to connect a TIP120 transistor to the SD card and power it up only after the chip has initialized.
So in the code I...
- pull the transistor pin low
- initialise the chip
- pull the transistor pin high, thus powering up the SD card
- wait a couple hundred ms
- initialize the SD card using the SD library
.. and it should work flawlessly.
Oh, and I almost forgot - I'm using this library, which, after testing a couple of libraries, I found to work best with the chip.
Hope that's helpful to someone!