Difference between revisions of "SD CARD X49"
Jump to navigation
Jump to search
Blwikiadmin (talk | contribs) |
Blwikiadmin (talk | contribs) |
||
Line 61: | Line 61: | ||
== Testing == | == Testing == | ||
− | + | === Hardware === | |
− | * | + | * UUT |
− | |||
* Arduino UNO card | * Arduino UNO card | ||
+ | * FAT32 card with files on it | ||
* Arduino GVS Sensor Shield | * Arduino GVS Sensor Shield | ||
− | + | ||
+ | [[file:SensorShield.jpg]] | ||
+ | |||
* Cabling | * Cabling | ||
** 2x3 Dupont to D13/D12 and D11/D10 | ** 2x3 Dupont to D13/D12 and D11/D10 | ||
Line 80: | Line 82: | ||
# 3.3V in/out | # 3.3V in/out | ||
# 5V in (for 5V host only) | # 5V in (for 5V host only) | ||
+ | |||
+ | === Software === | ||
+ | |||
+ | * [https://github.com/land-boards/lb-Arduino-Code/blob/master/LBCards/SDCard/SDCard.ino Arduino Sketch used to test cards] | ||
+ | ** [https://www.arduino.cc/en/Tutorial/LibraryExamples/Listfiles Using the SD library to print the directory of files on SD card] - Arduino code | ||
+ | |||
+ | === Running === | ||
* Run Serial Monitor | * Run Serial Monitor |
Revision as of 10:04, 23 September 2021
Contents
Features
- SD or SDHC card adapter
- 5V to 3.3V regulator
- 3.3V to 5V TXS0104E level shifter
- Activity LED
- 49 x 49 mm ODAS foprm factor
- (4) 4-40 mounting holes
Power Options
Important to properly set up the power option
- 3.3V Host
- Wire power to 3.3V position
- Install Jumper J3
- Leave 5V in pin open
- 5V Host
- Wire Power to 5V
- Leave 3.3V open
- Remove Jumper J3
J1 pinout
- GND
- MISO
- SCLK
- MOSI
- SPI_SS
- CARD_DETECT (no pull-up)
- 3.3V in/out
- 5V in (for 5V host only)
Lock/Unlock
- Set switch to not locked position
Used with Z80_PSOC card
- PSOC Pins
- MISO - PSOC pin 76
- MOSI - PSOC pin 77
- SCLK - PSOC pin 78
- SPI_SS - PSOC pin 79
Z80_PSOC - H3 Connector
- GND
- +5V
- SPI_SS - PSOC pin 79
- SCLK - PSOC pin 78
- MOSI - PSOC pin 77
- MISO - PSOC pin 76
Testing
Hardware
- UUT
- Arduino UNO card
- FAT32 card with files on it
- Arduino GVS Sensor Shield
- Cabling
- 2x3 Dupont to D13/D12 and D11/D10
- 8 pin Dupont to SD card
- GND
- MISO
- SCLK
- MOSI
- SPI_SS
- CARD_DETECT (no pull-up)
- 3.3V in/out
- 5V in (for 5V host only)
Software
Running
- Run Serial Monitor
- 9600 baud
- Prints directory to monitor
- Reset button on sensor shield to re-run