SlideShare a Scribd company logo
www.researchdesignlab.com Page 1
Micro SD Memory card Interface
for 5V MCU
Micro SD Memory Card interface
for 5V MCU
www.researchdesignlab.com Page 2
Micro SD Memory card Interface
for 5V MCU
Table of Cont ents
OVERVIEW ................................................................................................................................... 3
INTRODUCTION ...................................................................................................................... 3
FEATURES ................................................................................................................................ 3
APPLICATIONS........................................................................................................................ 4
SPECIFICATIONS..................................................................................................................... 4
ARDUINO CODE ...................................................................................................................... 5
RELATED PRODUCTS ............................................................................................................ 8
Micro SD Memory Card interface for 3.3V MCU SanDisk Memory Card................................ 9
MicroSDHC 4GB............................................................................................................................ 9
Data Logger Sheild Compatible for Arduino.................................................................................. 9
www.researchdesignlab.com Page 3
Micro SD Memory card Interface
for 5V MCU
OVERVIEW
INTRODUCTION
This is a wonderful little SD card interface module. It is easily interfaced as a peripheral to your
module. Through programming, you can read and write to the SD card. All SD Card works on
3V interface so if your microcontroller is working on 5V you will need to convert these signals..
All SD Card works on 3V interface so if your microcontroller is working on 5V you will need to
convert these signals.
FEATURES
 The SD card module can make your SD card application more easier and simpler.
 It is easily interfaced as a peripheral to your module .
 Through programming you read or write your SD card.
 All SD SPI pins output MOSI, SCK, MISO and CS.
www.researchdesignlab.com Page 4
Micro SD Memory card Interface
for 5V MCU
APPLICATIONS
 MP3 player.
 MCU/Arm system control.
SPECIFICATIONS
PIN NAME DETAILS
1 3v3 3.3v Power supply
2 gnd ground
3 5v Power supply
4 MISO miso
5 MOSI mosi
6 SCK sck
7 CS cs
8 CD cd
www.researchdesignlab.com Page 5
Micro SD Memory card Interface
for 5V MCU
CIRCUIT DIAGRAM
ARDUINO CODE
www.researchdesignlab.com Page 6
Micro SD Memory card Interface
for 5V MCU
/*
* Project name:
Micro SD Memory Card interface for 5V MCU
* Copyright
(c) Researchdesignlab.com
* Description:
* Test configuration:
MCU: ATMEGA328
Dev.Board: Arduino uno
Oscillator: 16 MHz
Software: Arduino
*/
/*
/*
SD card read/write
This example shows how to read and write data to and from an SD card file
The circuit:
* SD card attached to SPI bus as follows:
** MOSI - pin 11
** MISO - pin 12
** CLK - pin 13
** CS - pin 4
*/
#include <SD.h>
File myFile;
void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(9600);
while (!Serial) {
; // wait for serial port to connect.
}
Serial.print("Initializing SD card...");
www.researchdesignlab.com Page 7
Micro SD Memory card Interface
for 5V MCU
// On the Ethernet Shield, CS is pin 4. It's set as an output by default.
// Note that even if it's not used as the CS pin, the hardware SS pin
// (10 on most Arduino boards, 53 on the Mega) must be left as an output
// or the SD library functions will not work.
pinMode(10, OUTPUT);
if (!SD.begin(4)) {
Serial.println("initialization failed!");
return;
}
Serial.println("initialization done.");
// open the file. note that only one file can be open at a time,
// so you have to close this one before opening another.
myFile = SD.open("test.txt", FILE_WRITE);
// if the file opened okay, write to it:
if (myFile) {
Serial.print("Writing to test.txt...");
myFile.println("testing 1, 2, 3.");
// close the file:
myFile.close();
Serial.println("done.");
} else {
// if the file didn't open, print an error:
Serial.println("error opening test.txt");
}
// re-open the file for reading:
myFile = SD.open("test.txt");
if (myFile) {
Serial.println("test.txt:");
// read from the file until there's nothing else in it:
while (myFile.available()) {
Serial.write(myFile.read());
}
www.researchdesignlab.com Page 8
Micro SD Memory card Interface
for 5V MCU
// close the file:
myFile.close();
} else {
// if the file didn't open, print an error:
Serial.println("error opening test.txt");
}
}
void loop()
{
// nothing happens after setup
}
OUTPUT
www.researchdesignlab.com Page 9
Micro SD Memory card Interface
for 5V MCU
RELATED PRODUCTS
Micro SD Memory Card interface for 3.3V MCU SanDisk Memory Card
MicroSDHC 4GB
Data Logger Sheild Compatible for Arduino

More Related Content

What's hot

IBM zEnterprise 114 Technical Guide
IBM zEnterprise 114 Technical GuideIBM zEnterprise 114 Technical Guide
IBM zEnterprise 114 Technical Guide
IBM India Smarter Computing
 
Virtual box documentação tecnica
Virtual box documentação tecnicaVirtual box documentação tecnica
Virtual box documentação tecnica
ALEXANDRE MEDINA
 
IBM eX5 Portfolio Overview IBM System x3850 X5, x3950 X5, x3690 X5, and Blade...
IBM eX5 Portfolio Overview IBM System x3850 X5, x3950 X5, x3690 X5, and Blade...IBM eX5 Portfolio Overview IBM System x3850 X5, x3950 X5, x3690 X5, and Blade...
IBM eX5 Portfolio Overview IBM System x3850 X5, x3950 X5, x3690 X5, and Blade...
IBM India Smarter Computing
 
Oracle VM VirtualBox User Manual
Oracle VM VirtualBox User ManualOracle VM VirtualBox User Manual
Oracle VM VirtualBox User Manual
MAIS Business Solutions
 
Hdclone
HdcloneHdclone
IBM BladeCenter Products and Technology
IBM BladeCenter Products and TechnologyIBM BladeCenter Products and Technology
IBM BladeCenter Products and Technology
IBM India Smarter Computing
 
Crypto101
Crypto101Crypto101
Crypto101
mustafa sarac
 
Manual quagga
Manual quaggaManual quagga
Manual quagga
Unileste Minas Gerais
 
IBM AIX Version 7.1 Differences Guide
IBM AIX Version 7.1 Differences GuideIBM AIX Version 7.1 Differences Guide
IBM AIX Version 7.1 Differences Guide
IBM India Smarter Computing
 
mmaster
mmastermmaster
mmaster
Robert Holman
 
Tutorial
TutorialTutorial
St7781 r datasheet
St7781 r datasheetSt7781 r datasheet
St7781 r datasheet
dymsa73
 
Mc68 hc908jl3e
Mc68 hc908jl3eMc68 hc908jl3e
Mc68 hc908jl3e
Regisnaldo Gurgel
 
Java codingstandards
Java codingstandardsJava codingstandards
Java codingstandards
lukman backup
 
Pcbgcode
PcbgcodePcbgcode
digital marketing training in bangalore
digital marketing training in bangaloredigital marketing training in bangalore
digital marketing training in bangalore
Venus Tech Inc.
 
En.dm00024550 stm8 s003f3p6
En.dm00024550   stm8 s003f3p6En.dm00024550   stm8 s003f3p6
En.dm00024550 stm8 s003f3p6
betodias29
 
Redbook overview and introduction 8670-61x
Redbook overview and introduction 8670-61xRedbook overview and introduction 8670-61x
Redbook overview and introduction 8670-61x
Thaninnada Samart
 
Notes of 8085 micro processor Programming for BCA, MCA, MSC (CS), MSC (IT) &...
Notes of 8085 micro processor Programming  for BCA, MCA, MSC (CS), MSC (IT) &...Notes of 8085 micro processor Programming  for BCA, MCA, MSC (CS), MSC (IT) &...
Notes of 8085 micro processor Programming for BCA, MCA, MSC (CS), MSC (IT) &...
ssuserd6b1fd
 
Circuitikzmanual (1)
Circuitikzmanual (1)Circuitikzmanual (1)
Circuitikzmanual (1)
Geraldo Silva
 

What's hot (20)

IBM zEnterprise 114 Technical Guide
IBM zEnterprise 114 Technical GuideIBM zEnterprise 114 Technical Guide
IBM zEnterprise 114 Technical Guide
 
Virtual box documentação tecnica
Virtual box documentação tecnicaVirtual box documentação tecnica
Virtual box documentação tecnica
 
IBM eX5 Portfolio Overview IBM System x3850 X5, x3950 X5, x3690 X5, and Blade...
IBM eX5 Portfolio Overview IBM System x3850 X5, x3950 X5, x3690 X5, and Blade...IBM eX5 Portfolio Overview IBM System x3850 X5, x3950 X5, x3690 X5, and Blade...
IBM eX5 Portfolio Overview IBM System x3850 X5, x3950 X5, x3690 X5, and Blade...
 
Oracle VM VirtualBox User Manual
Oracle VM VirtualBox User ManualOracle VM VirtualBox User Manual
Oracle VM VirtualBox User Manual
 
Hdclone
HdcloneHdclone
Hdclone
 
IBM BladeCenter Products and Technology
IBM BladeCenter Products and TechnologyIBM BladeCenter Products and Technology
IBM BladeCenter Products and Technology
 
Crypto101
Crypto101Crypto101
Crypto101
 
Manual quagga
Manual quaggaManual quagga
Manual quagga
 
IBM AIX Version 7.1 Differences Guide
IBM AIX Version 7.1 Differences GuideIBM AIX Version 7.1 Differences Guide
IBM AIX Version 7.1 Differences Guide
 
mmaster
mmastermmaster
mmaster
 
Tutorial
TutorialTutorial
Tutorial
 
St7781 r datasheet
St7781 r datasheetSt7781 r datasheet
St7781 r datasheet
 
Mc68 hc908jl3e
Mc68 hc908jl3eMc68 hc908jl3e
Mc68 hc908jl3e
 
Java codingstandards
Java codingstandardsJava codingstandards
Java codingstandards
 
Pcbgcode
PcbgcodePcbgcode
Pcbgcode
 
digital marketing training in bangalore
digital marketing training in bangaloredigital marketing training in bangalore
digital marketing training in bangalore
 
En.dm00024550 stm8 s003f3p6
En.dm00024550   stm8 s003f3p6En.dm00024550   stm8 s003f3p6
En.dm00024550 stm8 s003f3p6
 
Redbook overview and introduction 8670-61x
Redbook overview and introduction 8670-61xRedbook overview and introduction 8670-61x
Redbook overview and introduction 8670-61x
 
Notes of 8085 micro processor Programming for BCA, MCA, MSC (CS), MSC (IT) &...
Notes of 8085 micro processor Programming  for BCA, MCA, MSC (CS), MSC (IT) &...Notes of 8085 micro processor Programming  for BCA, MCA, MSC (CS), MSC (IT) &...
Notes of 8085 micro processor Programming for BCA, MCA, MSC (CS), MSC (IT) &...
 
Circuitikzmanual (1)
Circuitikzmanual (1)Circuitikzmanual (1)
Circuitikzmanual (1)
 

Viewers also liked

Micro SD Memory Card Interface for 3.3V MCU
Micro SD Memory Card Interface for 3.3V MCUMicro SD Memory Card Interface for 3.3V MCU
Micro SD Memory Card Interface for 3.3V MCU
Raghav Shetty
 
Java Performance, Threading and Concurrent Data Structures
Java Performance, Threading and Concurrent Data StructuresJava Performance, Threading and Concurrent Data Structures
Java Performance, Threading and Concurrent Data Structures
Hitendra Kumar
 
Java Concurrency, Memory Model, and Trends
Java Concurrency, Memory Model, and TrendsJava Concurrency, Memory Model, and Trends
Java Concurrency, Memory Model, and Trends
Carol McDonald
 
Oracle Service Bus 12c (12.2.1) What You Always Wanted to Know
Oracle Service Bus 12c (12.2.1) What You Always Wanted to KnowOracle Service Bus 12c (12.2.1) What You Always Wanted to Know
Oracle Service Bus 12c (12.2.1) What You Always Wanted to Know
Frank Munz
 
Where and when to use the Oracle Service Bus (OSB)
Where and when to use the Oracle Service Bus (OSB)Where and when to use the Oracle Service Bus (OSB)
Where and when to use the Oracle Service Bus (OSB)
Guido Schmutz
 
Big Data - The 5 Vs Everyone Must Know
Big Data - The 5 Vs Everyone Must KnowBig Data - The 5 Vs Everyone Must Know
Big Data - The 5 Vs Everyone Must Know
Bernard Marr
 

Viewers also liked (6)

Micro SD Memory Card Interface for 3.3V MCU
Micro SD Memory Card Interface for 3.3V MCUMicro SD Memory Card Interface for 3.3V MCU
Micro SD Memory Card Interface for 3.3V MCU
 
Java Performance, Threading and Concurrent Data Structures
Java Performance, Threading and Concurrent Data StructuresJava Performance, Threading and Concurrent Data Structures
Java Performance, Threading and Concurrent Data Structures
 
Java Concurrency, Memory Model, and Trends
Java Concurrency, Memory Model, and TrendsJava Concurrency, Memory Model, and Trends
Java Concurrency, Memory Model, and Trends
 
Oracle Service Bus 12c (12.2.1) What You Always Wanted to Know
Oracle Service Bus 12c (12.2.1) What You Always Wanted to KnowOracle Service Bus 12c (12.2.1) What You Always Wanted to Know
Oracle Service Bus 12c (12.2.1) What You Always Wanted to Know
 
Where and when to use the Oracle Service Bus (OSB)
Where and when to use the Oracle Service Bus (OSB)Where and when to use the Oracle Service Bus (OSB)
Where and when to use the Oracle Service Bus (OSB)
 
Big Data - The 5 Vs Everyone Must Know
Big Data - The 5 Vs Everyone Must KnowBig Data - The 5 Vs Everyone Must Know
Big Data - The 5 Vs Everyone Must Know
 

Similar to Micro SD Memory Card Interface for 5V MCU

802801 gbm
802801 gbm802801 gbm
802801 gbm
David Reyes
 
Openocd
OpenocdOpenocd
Motherboard manual 8vm533m-rz_e
Motherboard manual 8vm533m-rz_eMotherboard manual 8vm533m-rz_e
Motherboard manual 8vm533m-rz_e
Jeferson Camargo
 
N68 vs3 ucc
N68 vs3 uccN68 vs3 ucc
N68 vs3 ucc
Justin Mahabirsingh
 
IBM Power 750 and 755 Technical Overview and Introduction
IBM Power 750 and 755 Technical Overview and IntroductionIBM Power 750 and 755 Technical Overview and Introduction
IBM Power 750 and 755 Technical Overview and Introduction
IBM India Smarter Computing
 
H61 m vs
H61 m vsH61 m vs
H61 m vs
Marcos Daniel
 
Aseba msg
Aseba msgAseba msg
Aseba msg
Jacques Supcik
 
Motherboard
MotherboardMotherboard
Motherboard
BarojReal
 
Experiences with Oracle SPARC S7-2 Server
Experiences with Oracle SPARC S7-2 ServerExperiences with Oracle SPARC S7-2 Server
Experiences with Oracle SPARC S7-2 Server
JomaSoft
 
i.MX 6UL/6ULL Development FAQs
i.MX 6UL/6ULL Development FAQsi.MX 6UL/6ULL Development FAQs
i.MX 6UL/6ULL Development FAQs
Linda Zhang
 
Manual 770 extreme3
Manual 770 extreme3Manual 770 extreme3
Manual 770 extreme3
luisbes
 
Manual 770 extreme3
Manual 770 extreme3Manual 770 extreme3
Manual 770 extreme3
liourte
 
G41 m vs2
G41 m vs2G41 m vs2
G41 m vs2
ruisuv
 
redp5222.pdf
redp5222.pdfredp5222.pdf
redp5222.pdf
Syed Maaz Siddique
 
Ibm midrange system storage hardware guide sg247676
Ibm midrange system storage hardware guide sg247676Ibm midrange system storage hardware guide sg247676
Ibm midrange system storage hardware guide sg247676
Banking at Ho Chi Minh city
 
Motherboard Manual Ga M61p S3 E
Motherboard Manual Ga M61p S3 EMotherboard Manual Ga M61p S3 E
Motherboard Manual Ga M61p S3 E
guestd423ec
 
IBM Power 770 and 780 Technical Overview and Introduction
IBM Power 770 and 780 Technical Overview and IntroductionIBM Power 770 and 780 Technical Overview and Introduction
IBM Power 770 and 780 Technical Overview and Introduction
IBM India Smarter Computing
 
Manual x58 20 super computer
Manual x58 20 super computerManual x58 20 super computer
Manual x58 20 super computer
liourte
 
Learn about IBM Power 720 and 740 Technical Overview and Introduction.
Learn about IBM Power 720 and 740 Technical Overview and Introduction.Learn about IBM Power 720 and 740 Technical Overview and Introduction.
Learn about IBM Power 720 and 740 Technical Overview and Introduction.
IBM India Smarter Computing
 
Asrock
AsrockAsrock
Asrock
IVAN MONTES
 

Similar to Micro SD Memory Card Interface for 5V MCU (20)

802801 gbm
802801 gbm802801 gbm
802801 gbm
 
Openocd
OpenocdOpenocd
Openocd
 
Motherboard manual 8vm533m-rz_e
Motherboard manual 8vm533m-rz_eMotherboard manual 8vm533m-rz_e
Motherboard manual 8vm533m-rz_e
 
N68 vs3 ucc
N68 vs3 uccN68 vs3 ucc
N68 vs3 ucc
 
IBM Power 750 and 755 Technical Overview and Introduction
IBM Power 750 and 755 Technical Overview and IntroductionIBM Power 750 and 755 Technical Overview and Introduction
IBM Power 750 and 755 Technical Overview and Introduction
 
H61 m vs
H61 m vsH61 m vs
H61 m vs
 
Aseba msg
Aseba msgAseba msg
Aseba msg
 
Motherboard
MotherboardMotherboard
Motherboard
 
Experiences with Oracle SPARC S7-2 Server
Experiences with Oracle SPARC S7-2 ServerExperiences with Oracle SPARC S7-2 Server
Experiences with Oracle SPARC S7-2 Server
 
i.MX 6UL/6ULL Development FAQs
i.MX 6UL/6ULL Development FAQsi.MX 6UL/6ULL Development FAQs
i.MX 6UL/6ULL Development FAQs
 
Manual 770 extreme3
Manual 770 extreme3Manual 770 extreme3
Manual 770 extreme3
 
Manual 770 extreme3
Manual 770 extreme3Manual 770 extreme3
Manual 770 extreme3
 
G41 m vs2
G41 m vs2G41 m vs2
G41 m vs2
 
redp5222.pdf
redp5222.pdfredp5222.pdf
redp5222.pdf
 
Ibm midrange system storage hardware guide sg247676
Ibm midrange system storage hardware guide sg247676Ibm midrange system storage hardware guide sg247676
Ibm midrange system storage hardware guide sg247676
 
Motherboard Manual Ga M61p S3 E
Motherboard Manual Ga M61p S3 EMotherboard Manual Ga M61p S3 E
Motherboard Manual Ga M61p S3 E
 
IBM Power 770 and 780 Technical Overview and Introduction
IBM Power 770 and 780 Technical Overview and IntroductionIBM Power 770 and 780 Technical Overview and Introduction
IBM Power 770 and 780 Technical Overview and Introduction
 
Manual x58 20 super computer
Manual x58 20 super computerManual x58 20 super computer
Manual x58 20 super computer
 
Learn about IBM Power 720 and 740 Technical Overview and Introduction.
Learn about IBM Power 720 and 740 Technical Overview and Introduction.Learn about IBM Power 720 and 740 Technical Overview and Introduction.
Learn about IBM Power 720 and 740 Technical Overview and Introduction.
 
Asrock
AsrockAsrock
Asrock
 

More from Raghav Shetty

8 Channel Relay Board-Bluetooth
8 Channel Relay Board-Bluetooth8 Channel Relay Board-Bluetooth
8 Channel Relay Board-Bluetooth
Raghav Shetty
 
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
Raghav Shetty
 
4 Channel Relay Board 12V-Compatible for Arduino
4 Channel Relay Board 12V-Compatible for Arduino4 Channel Relay Board 12V-Compatible for Arduino
4 Channel Relay Board 12V-Compatible for Arduino
Raghav Shetty
 
8 Channel Relay Board-Rs485
8 Channel Relay Board-Rs485 8 Channel Relay Board-Rs485
8 Channel Relay Board-Rs485
Raghav Shetty
 
Xbee X-CTU Software
Xbee X-CTU SoftwareXbee X-CTU Software
Xbee X-CTU Software
Raghav Shetty
 
Digitla Vibration Sensor
Digitla Vibration SensorDigitla Vibration Sensor
Digitla Vibration Sensor
Raghav Shetty
 
Thermal Printer
Thermal PrinterThermal Printer
Thermal Printer
Raghav Shetty
 
Digital Soil Moisture Sensor
Digital Soil Moisture SensorDigital Soil Moisture Sensor
Digital Soil Moisture Sensor
Raghav Shetty
 
Regulated Power Supply
Regulated Power Supply Regulated Power Supply
Regulated Power Supply
Raghav Shetty
 
PIC Project Board
PIC Project BoardPIC Project Board
PIC Project Board
Raghav Shetty
 
8 Channel Bi Directional Logic Level Converter
8 Channel Bi Directional Logic Level Converter8 Channel Bi Directional Logic Level Converter
8 Channel Bi Directional Logic Level Converter
Raghav Shetty
 
LCD Keypad Shield
LCD Keypad ShieldLCD Keypad Shield
LCD Keypad Shield
Raghav Shetty
 
L298 Motor Driver
L298 Motor DriverL298 Motor Driver
L298 Motor Driver
Raghav Shetty
 
Joystick Shield
Joystick ShieldJoystick Shield
Joystick Shield
Raghav Shetty
 
Force Sensor
Force SensorForce Sensor
Force Sensor
Raghav Shetty
 
Plastic REED Float Switch
Plastic REED Float SwitchPlastic REED Float Switch
Plastic REED Float Switch
Raghav Shetty
 
Flex Sensor
Flex SensorFlex Sensor
Flex Sensor
Raghav Shetty
 
Serial EEPROM
Serial EEPROMSerial EEPROM
Serial EEPROM
Raghav Shetty
 
DTMF Decoder Shield for Arduino
DTMF Decoder Shield for ArduinoDTMF Decoder Shield for Arduino
DTMF Decoder Shield for Arduino
Raghav Shetty
 
Digital Dimmer Module
Digital Dimmer ModuleDigital Dimmer Module
Digital Dimmer Module
Raghav Shetty
 

More from Raghav Shetty (20)

8 Channel Relay Board-Bluetooth
8 Channel Relay Board-Bluetooth8 Channel Relay Board-Bluetooth
8 Channel Relay Board-Bluetooth
 
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
4 Channel Relay Board 5V-Bluetooth Compatible for Arduino
 
4 Channel Relay Board 12V-Compatible for Arduino
4 Channel Relay Board 12V-Compatible for Arduino4 Channel Relay Board 12V-Compatible for Arduino
4 Channel Relay Board 12V-Compatible for Arduino
 
8 Channel Relay Board-Rs485
8 Channel Relay Board-Rs485 8 Channel Relay Board-Rs485
8 Channel Relay Board-Rs485
 
Xbee X-CTU Software
Xbee X-CTU SoftwareXbee X-CTU Software
Xbee X-CTU Software
 
Digitla Vibration Sensor
Digitla Vibration SensorDigitla Vibration Sensor
Digitla Vibration Sensor
 
Thermal Printer
Thermal PrinterThermal Printer
Thermal Printer
 
Digital Soil Moisture Sensor
Digital Soil Moisture SensorDigital Soil Moisture Sensor
Digital Soil Moisture Sensor
 
Regulated Power Supply
Regulated Power Supply Regulated Power Supply
Regulated Power Supply
 
PIC Project Board
PIC Project BoardPIC Project Board
PIC Project Board
 
8 Channel Bi Directional Logic Level Converter
8 Channel Bi Directional Logic Level Converter8 Channel Bi Directional Logic Level Converter
8 Channel Bi Directional Logic Level Converter
 
LCD Keypad Shield
LCD Keypad ShieldLCD Keypad Shield
LCD Keypad Shield
 
L298 Motor Driver
L298 Motor DriverL298 Motor Driver
L298 Motor Driver
 
Joystick Shield
Joystick ShieldJoystick Shield
Joystick Shield
 
Force Sensor
Force SensorForce Sensor
Force Sensor
 
Plastic REED Float Switch
Plastic REED Float SwitchPlastic REED Float Switch
Plastic REED Float Switch
 
Flex Sensor
Flex SensorFlex Sensor
Flex Sensor
 
Serial EEPROM
Serial EEPROMSerial EEPROM
Serial EEPROM
 
DTMF Decoder Shield for Arduino
DTMF Decoder Shield for ArduinoDTMF Decoder Shield for Arduino
DTMF Decoder Shield for Arduino
 
Digital Dimmer Module
Digital Dimmer ModuleDigital Dimmer Module
Digital Dimmer Module
 

Recently uploaded

HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
panagenda
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
Neo4j
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
IndexBug
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 

Recently uploaded (20)

HCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAUHCL Notes and Domino License Cost Reduction in the World of DLAU
HCL Notes and Domino License Cost Reduction in the World of DLAU
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024GraphSummit Singapore | The Art of the  Possible with Graph - Q2 2024
GraphSummit Singapore | The Art of the Possible with Graph - Q2 2024
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial IntelligenceAI 101: An Introduction to the Basics and Impact of Artificial Intelligence
AI 101: An Introduction to the Basics and Impact of Artificial Intelligence
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 

Micro SD Memory Card Interface for 5V MCU

  • 1. www.researchdesignlab.com Page 1 Micro SD Memory card Interface for 5V MCU Micro SD Memory Card interface for 5V MCU
  • 2. www.researchdesignlab.com Page 2 Micro SD Memory card Interface for 5V MCU Table of Cont ents OVERVIEW ................................................................................................................................... 3 INTRODUCTION ...................................................................................................................... 3 FEATURES ................................................................................................................................ 3 APPLICATIONS........................................................................................................................ 4 SPECIFICATIONS..................................................................................................................... 4 ARDUINO CODE ...................................................................................................................... 5 RELATED PRODUCTS ............................................................................................................ 8 Micro SD Memory Card interface for 3.3V MCU SanDisk Memory Card................................ 9 MicroSDHC 4GB............................................................................................................................ 9 Data Logger Sheild Compatible for Arduino.................................................................................. 9
  • 3. www.researchdesignlab.com Page 3 Micro SD Memory card Interface for 5V MCU OVERVIEW INTRODUCTION This is a wonderful little SD card interface module. It is easily interfaced as a peripheral to your module. Through programming, you can read and write to the SD card. All SD Card works on 3V interface so if your microcontroller is working on 5V you will need to convert these signals.. All SD Card works on 3V interface so if your microcontroller is working on 5V you will need to convert these signals. FEATURES  The SD card module can make your SD card application more easier and simpler.  It is easily interfaced as a peripheral to your module .  Through programming you read or write your SD card.  All SD SPI pins output MOSI, SCK, MISO and CS.
  • 4. www.researchdesignlab.com Page 4 Micro SD Memory card Interface for 5V MCU APPLICATIONS  MP3 player.  MCU/Arm system control. SPECIFICATIONS PIN NAME DETAILS 1 3v3 3.3v Power supply 2 gnd ground 3 5v Power supply 4 MISO miso 5 MOSI mosi 6 SCK sck 7 CS cs 8 CD cd
  • 5. www.researchdesignlab.com Page 5 Micro SD Memory card Interface for 5V MCU CIRCUIT DIAGRAM ARDUINO CODE
  • 6. www.researchdesignlab.com Page 6 Micro SD Memory card Interface for 5V MCU /* * Project name: Micro SD Memory Card interface for 5V MCU * Copyright (c) Researchdesignlab.com * Description: * Test configuration: MCU: ATMEGA328 Dev.Board: Arduino uno Oscillator: 16 MHz Software: Arduino */ /* /* SD card read/write This example shows how to read and write data to and from an SD card file The circuit: * SD card attached to SPI bus as follows: ** MOSI - pin 11 ** MISO - pin 12 ** CLK - pin 13 ** CS - pin 4 */ #include <SD.h> File myFile; void setup() { // Open serial communications and wait for port to open: Serial.begin(9600); while (!Serial) { ; // wait for serial port to connect. } Serial.print("Initializing SD card...");
  • 7. www.researchdesignlab.com Page 7 Micro SD Memory card Interface for 5V MCU // On the Ethernet Shield, CS is pin 4. It's set as an output by default. // Note that even if it's not used as the CS pin, the hardware SS pin // (10 on most Arduino boards, 53 on the Mega) must be left as an output // or the SD library functions will not work. pinMode(10, OUTPUT); if (!SD.begin(4)) { Serial.println("initialization failed!"); return; } Serial.println("initialization done."); // open the file. note that only one file can be open at a time, // so you have to close this one before opening another. myFile = SD.open("test.txt", FILE_WRITE); // if the file opened okay, write to it: if (myFile) { Serial.print("Writing to test.txt..."); myFile.println("testing 1, 2, 3."); // close the file: myFile.close(); Serial.println("done."); } else { // if the file didn't open, print an error: Serial.println("error opening test.txt"); } // re-open the file for reading: myFile = SD.open("test.txt"); if (myFile) { Serial.println("test.txt:"); // read from the file until there's nothing else in it: while (myFile.available()) { Serial.write(myFile.read()); }
  • 8. www.researchdesignlab.com Page 8 Micro SD Memory card Interface for 5V MCU // close the file: myFile.close(); } else { // if the file didn't open, print an error: Serial.println("error opening test.txt"); } } void loop() { // nothing happens after setup } OUTPUT
  • 9. www.researchdesignlab.com Page 9 Micro SD Memory card Interface for 5V MCU RELATED PRODUCTS Micro SD Memory Card interface for 3.3V MCU SanDisk Memory Card MicroSDHC 4GB Data Logger Sheild Compatible for Arduino