Pages: [1]   Go Down
Author Topic: SD card  (Read 385 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 88
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

please , How can i know if the SD card exist in SD card slot or not ?
 I want to detect when SD card eject or entered in slot
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 46042
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In the SD card slot on what? Not all SD card reader/writers connect the card detect pin to anything. You'd need to do that if it hasn't been done, and read the pin you connect it to just like any other pin.
Logged

Dee Why NSW
Offline Offline
Edison Member
*
Karma: 30
Posts: 1676
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Looking at the slot will tell you quite a lot. Failing that, any programme using the SD shopuld have an initialisation test at the start. If a fail message comes up, it is usually because the card isn't there. If it comes up and the card is in the slot, that is just as important to know.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 88
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In the SD card slot on what? Not all SD card reader/writers connect the card detect pin to anything. You'd need to do that if it hasn't been done, and read the pin you connect it to just like any other pin.
sorry , i can't understand 
How i know if i have detect pin or not and if not how can i make detect pin
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 88
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

did you mean CD pin ?
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 46042
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
did you mean CD pin ?
CD as in Card Detect. Yes, that is the one I meant.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 88
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

CD as in Card Detect. Yes, that is the one I meant.
please, i have another question , can i connect SD shield & RTC (real time clock)Shield with Arduino Due , i mean Arduino Due compatible with SD card & RTC Shield   
thanks for your help  smiley-grin
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 548
Posts: 46042
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
can i connect SD shield & RTC (real time clock)Shield with Arduino Due , i mean Arduino Due compatible with SD card & RTC Shield   
Depends on the shields. If there are no pin conflicts (conflicts seem unlikely), then yes.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 88
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Depends on the shields. If there are no pin conflicts (conflicts seem unlikely), then yes.
for SD sheild i use arduino uno and connect pin 11&12&13 and pin 10 for ss slave and i will use arduino due with ICSP-4 & ICSP-1 & ICSP-3  pins and i need to know which pin will connect to ss slave because  i don't to know what the diff between SS master & SS slave 
Logged

Pages: [1]   Go Up
Jump to: