Check if SD is connected

raphaelbs
Posts: 4
Joined: Tue Jan 01, 2019 1:43 pm

Check if SD is connected

Postby raphaelbs » Tue Jan 01, 2019 1:51 pm

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!

fivdiAtESP32
Posts: 47
Joined: Thu Dec 20, 2018 9:47 am

Re: Check if SD is connected

Postby fivdiAtESP32 » Tue Jan 01, 2019 4:46 pm

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.

Who is online

Users browsing this forum: Baidu [Spider], ESP_rrtandler, leschge, pacucha42 and 118 guests