Skip to content

Commit 2b24603

Browse files
copercinime-no-dev
authored andcommitted
SD library explanation (#262)
It's look more a practical guide "how to use SD lib"
1 parent 64ccef7 commit 2b24603

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

Diff for: libraries/SD/README.md

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
2+
# SD library
3+
4+
This library provides the integration of ESP32 and SD (Secure Digital) cards without additional modules.
5+
6+
7+
## Sample wiring diagram:
8+
9+
10+
![SD card pins](http://i.imgur.com/4CoXOuR.png)
11+
12+
For others SD formats:
13+
14+
15+
![Other SD card formats](https://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/MMC-SD-miniSD-microSD-Color-Numbers-Names.gif/330px-MMC-SD-miniSD-microSD-Color-Numbers-Names.gif)
16+
17+
18+
Image source: [Wikipedia](https://upload.wikimedia.org/wikipedia/commons/thumb/a/ab/MMC-SD-miniSD-microSD-Color-Numbers-Names.gif/330px-MMC-SD-miniSD-microSD-Color-Numbers-Names.gif)
19+
20+
```diff
21+
- Warning: Some ESP32 modules have different pinouts!
22+
```
23+
24+
25+
26+
## FAQ:
27+
28+
**Do I need any additional modules, like Arduino SD module?**
29+
30+
No, just wire your SD card directly to ESP32.
31+
32+
33+
34+
**What is the difference between SD and SD_MMC libraries?**
35+
36+
SD runs on SPI, and SD_MMC uses the SDMMC hardware bus on the ESP32.
37+
38+
39+
40+
**Can I change the CS pin?**
41+
42+
Yes, just use: `SD.begin(CSpin)`

0 commit comments

Comments
 (0)