Skip to main content
Arduino

Timeline for Connect two SD cards to one Arduino board and copy from one to another

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
Jul 7, 2020 at 11:12 answer added DataFiddler timeline score: 1
Jul 6, 2020 at 22:31 comment added Delta_G One extra hint for you since you say you want to do this in response to an interrupt. Don’t try to do this inside the interrupt handler. Let the ISR set a flag and have the loop function see that and handle the reading and writing there.
Jul 6, 2020 at 22:30 comment added Delta_G 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.
Jul 6, 2020 at 22:10 comment added chrisl @user67463 have you tried googling for a tutorial? There are tons of them
Jul 6, 2020 at 21:28 comment added user67463 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
Jul 6, 2020 at 21:05 comment added Delta_G 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.
Jul 6, 2020 at 21:04 comment added Delta_G 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.
Jul 6, 2020 at 20:36 review First posts
Jul 20, 2020 at 20:33
Jul 6, 2020 at 20:32 history asked user67463 CC BY-SA 4.0

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