Page 1 of 1

Check if SD is connected

Posted: Tue Jan 01, 2019 1:51 pm
by raphaelbs
Hi, happy new year!

I'm using SD in FatFS mode and while building my application lifecycle I need to handle SD disconnections.

Is it possible?

Thanks!

Re: Check if SD is connected

Posted: Tue Jan 01, 2019 4:46 pm
by fivdiAtESP32
And a Happy New Year to you too.

If the SD card reader has a CD (Card Detect) output it could be connected to an ESP32 GPIO to detect whether or not a card is present.