Go Down

Topic: SEEED SD Card Shield and the ardunio mega 2560 (Read 5680 times) previous topic - next topic


I worked on this very same issue for a month, read every post on every forum I could find,,,bought several brands of sd cards, never got it to behave. I got all the same error messages. The one time I thought it worked, it never worked again.


I bought these for less than $3 ea for 3:

Hardest part was getting the nerve to try them out, worried about 5V vs 3.3V. Next hardest was getting female to male jumpers. After that it was write enough sketch to see the module report back okay with a 2G FAT-formatted SD card in place. Then write enough sketch to prove the rest.
I didn't start by writing extensive code........

I needed both SPI and sdFat libraries (SD library with SPI library works too).

Nick Gammon on multitasking Arduinos:
1) http://gammon.com.au/blink
2) http://gammon.com.au/serial
3) http://gammon.com.au/interrupts


I have a arduino mega with an lcd 3.2 tft sheild that has built in sd card using pins 50, 51, 52 and 53 for miso, mosi, ss and sck.  I want to add a nr24l01 send/receive transmitter that must also be connected to mosi, miso, sck.   can I use the ICSP terminal or not, and what would be the proper connection and do I have to change the assigned pin locations in the rf24, spi library?


can I use the ICSP terminal

and do I have to change the assigned pin locations in the rf24, spi library?
Not unless you've gotten your micro soldering iron out and physically reprogrammed the ATMega chip.
The art of getting good answers lies in asking good questions.


@ carriereinnovations:

Please do not cross-post. This wastes time and resources as people attempt to answer your question on multiple threads.

Thread locked.

- Moderator

Please post technical questions on the forum, not by personal message. Thanks!

More info: http://www.gammon.com.au/electronics

Go Up