MicroSD Breakout Board Regulated with Logic Conversion V2

HobbyTronics MicroSD Breakout Board Regulated with Logic Conversion V2
Click to enlarge
Price: £7.20
(£6.00 + VAT)
Availability: 3
Model: SDCARD-REG2
Manufacturer: HobbyTronics
Average Rating: 5 out of 5 Stars!

Quantity Discount:
Order Quantity Price Per Item
25 £6.60
(£5.50 + VAT)
HobbyTronics

MicroSD card breakout board Regulated with Logic Conversion V2

This is the latest version of our Micro SD breakout board. This one is slightly smaller and uses a different Micro-SD card socket which has allowed us to bring the costs down a little.

Using a MicroSD card is the easiest way to access data files from a microcontroller. But these cards all run at 3.3V, so if you are using a 5V system (like Arduino) then you need some form of logic level conversion between the two. This breakout board does it all for you, it has a logic level conversion chip so you can use both 5V and 3.3V systems and also includes a 3.3V voltage regulator with spare output capacity for powering other devices. We also added a read/write activity LED.

Main Features

  • Onboard 3.3V voltage regulator provides 250mA for cards and power for your circuit
  • 3V logic level conversion chip so you can use this board with either 3V or 5V systems
  • Use 3 or 4 digital pins to read and write 2Gb+ of storage!
  • Read/Write LED indicator
  • Card Detect output (CD) connects to 0V when card inserted.
  • 4x M2 mounting holes
  • Top quality Molex Push-push socket with card detect switch
  • Fully assembled and tested
  • Ideal for Arduino and other microcontrollers
  • Board Size: 29mm x 24mm (1.15" x 0.95")

To use with an Arduino

  • Connect 0V to ground
  • 5V to 5V
  • CLK to pin 13
  • DO to pin 12
  • DI to pin 11
  • CS to pin 4 (or other convenient digital pin - pin 9 is used in example program below)

If using with a 3.3V system which doesn't have a 5V supply, simply power the device by applying 3.3V to the 3V pin and ignore the 5V pin

You can then use the standard SD card libraries that come with the Arduino IDE

Documents

MicroSD Breakout Schematic

 

Arduino Test Program

/*
  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 9
 
 LED on pin 5
 
 This example code is in the public domain.
 	 
 */
#include <SPI.h> 
#include <SD.h>

File myFile;

void setup()
{
  int i;
  Serial.begin(9600);
  Serial.println("\r\nHobbytronics Test Program for SD card...");  
  Serial.println("Initializing SD card...");
  // 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(9)) {
    Serial.println("initialization failed!");
    return;
  }
  Serial.println("initialization done.");
  
  if (SD.exists("test.txt")) {
    SD.remove("test.txt");
  }

  myFile = SD.open("test.txt", FILE_WRITE);
  
  // if the file opened okay, write to it:
  if (myFile) {
    Serial.println("Writing to test.txt...");
    Serial.println("Hobbytronics Test");    
    for(i=0;i<20;i++)
    {
      myFile.println("Hobbytronics Test of file writing");    
    }  
   
	// 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:
  Serial.println("\n\rReading from test.txt...");  
  myFile = SD.open("test.txt");
  if (myFile) {
    
    // read from the file until there's nothing else in it:
    while (myFile.available()) {
    	Serial.write(myFile.read());
   
    }

    // close the file:
    myFile.close();
  } else {
  	// if the file didn't open, print an error:
    Serial.println("error opening test.txt");
  }
    Serial.println("Test Complete.");  
}

void loop()
{
	// nothing happens after setup
}


 

Write Review
Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad            Good

Enter the code in the box below:

MicroSD Breakout Board Regulated with Logic Conversion V2
Click to enlarge
MicroSD Breakout Board Regulated with Logic Conversion V2
$ 7.20 New In Stock
Shopping Cart
0 items
 
DELIVERY/PAYMENT

Free Delivery Orders over £50

UK - £2.40 orders under £50
Airmail from £2.95 (+VAT)
More Details...

 
Brands
 
 Check out our videos