I am having some issues getting the cardinfo code to work in conjunction with my microsd reader. I have been doing research trying to figure out what is going on. I believe that I have everything wired properly, to which I have done and redone several times in several different ways. Currently using D0-50, DI-51, CLK-52, CS-53, 5v-5v, gnd-gnd. The two other pins are unused (CD and 3v). It is the only thing I have wired at the moment until I figure out why its not working.
The question that I have is why the red led lights up when there is no card inserted in the slot, but then as soon as I insert a card the light goes out?
Any help on this would be great, thanks!
MicroSD Breakout #254 with Arduino Mega 2560
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: MicroSD Breakout #254 with Arduino Mega 2560
Did you change this line of code in CardInfo?
The red LED is an activity light. It should normally be out, unless you are actively reading from the card. Not sure why yours would be on when there's no card.
Code: Select all
const int chipSelect = 53;
-
- Posts: 2
- Joined: Sun Jun 22, 2014 1:53 pm
Re: MicroSD Breakout #254 with Arduino Mega 2560
I did make that change to pin 53...I dont think it is an issue with the software. Its just strange that as soon as I put a card in the light goes out and there seems to be no communication between the arduino and the msd card reader.
I have ordered another one just to check to see if it something with that board, so will know soon.
Thanks
Sean
I have ordered another one just to check to see if it something with that board, so will know soon.
Thanks
Sean
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: MicroSD Breakout #254 with Arduino Mega 2560
Can you post a picture showing your soldering?
Please be positive and constructive with your questions and comments.