This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
esp8266_and_sd_cards [2015/06/22 16:33] sigrokblack created |
esp8266_and_sd_cards [2015/08/08 16:44] admin |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Connecting SD card to ESP8266 ====== | ||
+ | |||
+ | |||
You can connect an SD card to some ESP8266 with the SPI GPIO broken out. | You can connect an SD card to some ESP8266 with the SPI GPIO broken out. | ||
- | For example: ESP8266 201 or ESP8266 12E | + | For example: ESP8266 201 or 12E |
Then connect your sd card (__FAT32__) like this to the ESP: | Then connect your sd card (__FAT32__) like this to the ESP: | ||
- | Sd-->ESP8266 | + | Sd-->ESP8266 |
- | 1 CS --> IO2 | + | - CS --> IO2 |
- | 2 DI(MOSI)-->IO13 | + | - DI(MOSI)-->IO13 |
- | 3 VSS1--> GND | + | - VSS1--> GND |
- | 4 VDD-->3.3v | + | - VDD-->3.3v |
- | 5 SCLK-->IO14 | + | - SCLK-->IO14 |
- | 6 Vss2-->GND | + | - Vss2-->GND |
- | 7 DO(MISO)-->IO12 | + | - DO(MISO)-->IO12 |
Take these instructions for help: | Take these instructions for help: | ||
http://www.esp8266.com/viewtopic.php?f=32&t=3558#p20419 | http://www.esp8266.com/viewtopic.php?f=32&t=3558#p20419 | ||
- | Be sure to change the CS to a free GPIO. Normally, this would be IO15 which has to be pulled to ground. Otherwise teh ESP won't work. | + | Be sure to change CS to a free GPIO. Normally, this would be IO15 which has to be pulled to ground. Otherwise the ESP won't work. |
In this case I take IO2. | In this case I take IO2. | ||
Line 25: | Line 29: | ||
Do you have any questions? | Do you have any questions? | ||
- | Fell free to ask here: | + | Feel free to ask here: |
http://www.esp8266.com/viewtopic.php?f=32&t=3558 | http://www.esp8266.com/viewtopic.php?f=32&t=3558 | ||