Vous êtes sur la page 1sur 9

Your Robotic Solution

www.mybotic.com.my

SD Card Module

Users Manual V1.0

1|Page

Contents
1.

Introduction ............................................................................................................................. 3

2.

Pin Definition ........................................................................................................................... 4

3.

Sample Hardware Installation ................................................................................................. 5

4.

Result ....................................................................................................................................... 6

5.

Warranty .................................................................................................................................. 9

2|Page

1. Introduction
Most microcontrollers have extremely limited built-in storage. It cannot support project that is
needed a large space such as audio, graphic, data logging and etc. Therefore, a removable storage
option, such as flash card, or often called as SD or Micro SD card are used. This SD Card
Module can support both SD and Micro SD (used with SD adapter) card. It uses the standard SPI
interface for communication, which involves SPI buses, MISO, MOSI, SCK and a CS signal pin.
Through programming, the data can easily be read and wrote into the SD card by using the
microcontrollers.
Specification:

Input voltage
SD Card Type
SPI interface

3|Page

: 3.3V or 5V
: SD and Micro SD

2. Pin Definition

GND
3.3V
5V
CS
MOSI
SCK
MISO
GND

SD Card Slot

Pin

Description

Function

3V3

+3.3V

5V

+5V

GND

Ground

Connect to Ground.

SPI Interface

Sending and receiving data to and from the


microcontroller.

Connect to either +3.3V or +5V.

CS (Chip Select)
MOSI
(Master Out Slave In)
SCK (Serial Clock)
MISO
(Master In Slave Out)

4|Page

3. Sample Hardware Installation


Diagram below shows the hardware connection between SD Card Module and Arduino UNO.
Besides Arduino, it may interface with any microcontroller such as PIC and etc.

5V Arduino 5V
GND Arduino GND
CS Arduino Pin 4
MOSI Arduino Pin 11
SCK Arduino Pin 13
MISO Arduino Pin 12

5|Page

4. Result
Picture below shows the steps to test the SD Card Module. Firstly, insert the SD memory card
into the SD Card slot.

In the Arduino software, there are few of examples to test the SD Card Module in order to see
how it works. The example also provides pin connections to interface the SD Card Module with
the Arduino UNO.

6|Page

To test one of the example,


Open Arduino software Click [File] [Examples] [SD] [ReadWrite]

7|Page

Upload the source code into the Arduino and open the Serial Monitor to see the result.

The following result will be displayed in the monitor. In this example, the .txt file named
test.txt was created and the sentences testing 1, 2, 3. were wrote into the .txt file. After this,
the sentences testing 1, 2, 3. were read back from .txt file and display on serial monitor.

8|Page

5. Warranty

Product warranty is valid for 1 month.


Warranty only applies to manufacturing defect.
Damaged caused by misuse is not covered under warranty.
Warranty does not cover shipping cost for both ways.

Prepared by Mybotic
47, Jalan Universiti 1,
Taman Universiti,
86400, Parit Raja, Johor
Tel: +6016-7170703 / +6018-9510703
URL : www.mybotic.com.my
Email : support@mybotic.com.my
sales@mybotic.com.my
9|Page

Vous aimerez peut-être aussi