5

I have a Digispark ATtiny85 Arduino board (as shown in the picture). Can I connect a SD card shield to this board as a normal Arduino? How can I do that I'm new to this field?

Board im using

  • 3
    Just connect the MISO, MOSI, and SCK pins. And use another pin to connect to the Chip Select of the SD card. – Gerben Apr 17 '17 at 12:40
  • 1
    By "another pin" we mean "D5", since the other two pins are your USB connection. – Majenko Apr 17 '17 at 12:41
  • So i must use D0, D1, D2, D5, power and ground right? – Susmith Apr 17 '17 at 12:47
  • 1
    Yes, and then hope that there is SD software that fits in that rather underpowered chip. – Majenko Apr 17 '17 at 13:05
  • 1
    you can get an sdcard module for under $1, might be worth it get rid of the ill-fitting jank... – dandavis Apr 17 '17 at 21:56
1

In short I am going to say NO.

The flash is too small to adequately run the SD library as well as the rest of your Arduino code.

The RAM is also underpowered for what is needed to properly access files on an SD card.

Having said this, I am sure there are some clever software engineers that could write a cut down SD card library to do limited commands. Overall this is too hard for the beginner - Just buy an Arduino Uno/Mega/Due and avoid the unnecessary hassle.

| improve this answer | |
1

Yes you can connect it: http://elm-chan.org/fsw/ff/00index_p.html Your happiness depends on what you want to accomplish. Simple streaming, like feeding an FPGA with a bitstream is achievable. Logging an incoming data stream to the SD card filesystem is probably not.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.