Difference between revisions of "SD SDK"

From ElectroDragon
Jump to navigation Jump to search
 
Line 1: Line 1:
 +
== SD Card Read ==
 +
* Wiring
 +
5V - VCC, GND - GND
 +
D13 - SD_CLK, D12 - SD_OUT, D11 - SD_IN, D10 - SD_CS
 +
* Arduino library, and upload SD card example sketch.
 +
<gallery>
 +
File:Choose_SD_card_library.jpg
 +
File:Serial_output_of_sd_card_module.jpg
 +
</gallery>
 +
== Demo code ==
 +
* Available at [[Arduino library]] (name:File Logger or SD)page.
 +
For Stm32:<br />
 +
* [[:File:STM32-SD.zip|STM32-SD]]
 +
* [[:File:STM32-SD_Card.zip|STM32-SD_Card]]
 +
* [[:File:LPC21XXSD_demo_code.zip|LPC21XXSD_demo_code]]
 +
 +
 +
 +
 
* Supported file system by arduino: FAT32
 
* Supported file system by arduino: FAT32
 
* Notice set CS pin in sketch first  
 
* Notice set CS pin in sketch first  

Latest revision as of 03:47, 22 April 2021

SD Card Read

  • Wiring
5V - VCC, GND - GND
D13 - SD_CLK, D12 - SD_OUT, D11 - SD_IN, D10 - SD_CS
  • Arduino library, and upload SD card example sketch.

Demo code

For Stm32:



  • Supported file system by arduino: FAT32
  • Notice set CS pin in sketch first

Arduino Official Library "listfiles"

Initializing SD card...initialization done.
SYSTEM~1/

WPSETT~1.DAT 12 INDEXE~1 76

EQWEWQ.TXT		0
done!