Skip to main content
Arduino

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Draft saved
Draft discarded
Cancel
6
  • 1
    Yes, SD cards use the SPI bus so you can connect more than one. They will each need their own chip select line. To copy just read from one and write what you read to the other. Super simple. If none of this makes sense then do some study on dealing with a single SD card. Once you got the basics hooking up two will be trivial. Commented Jul 6, 2020 at 21:04
  • 4
    Just watch out cause some cheap SD modules don’t release the line when you deselect them. They won’t let anything else on the SPI bus work without some minor modifications. Buy good quality stuff and it shouldn’t be a problem but if you go for the cheapest thing you can find then you’ll need to study this issue as well. Commented Jul 6, 2020 at 21:05
  • Thanks for your help & good answer :). Actually this is not a real project and I should simulate it using Proteus simulator. Do you have any good tutorial for how to deal with SD cards in Arduino? @Delta_G Commented Jul 6, 2020 at 21:28
  • @user67463 have you tried googling for a tutorial? There are tons of them Commented Jul 6, 2020 at 22:10
  • There are literally hundreds of those tutorials all over the internet. Finding one will be far easier than writing this code. If you open the Arduino software and check the examples there are examples of how to use an SD card. Start there. Or just google "Arduino SD" and start reading. Commented Jul 6, 2020 at 22:30

lang-cpp

AltStyle によって変換されたページ (->オリジナル) /