EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / How to interface SD card with 8051?

How to interface SD card with 8051?

|

Microcontroller › 8051 › How to interface SD card with 8051?

  • This topic has 3 replies, 3 voices, and was last updated 13 years, 6 months ago by AJISH ALFRED.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • April 19, 2012 at 11:37 am #1488
    hm1622
    Participant

    i am doing vehicle tracking system using GPS and GSM.for the passive tracking i need a memory device so i decide to use SD card for as a GPS data logger so i need to know how the interfacing done.so i need some C code  about it and circuit diagram.the data store in SD card in MS excel format.

    May 9, 2012 at 10:32 am #7679
    Amrith
    Participant

    Hi,

     

    SD card can be interfaced to microcontroller using SPI communication & 8051 does not have built in SPI function to interface with SD Card, you need to create SPI function, which is little difficult & time consuming. Suggest you to switch to latest versions of 8051 based controllers which has built in SPI function & it would be easy for you to interface with SDcard. 

     

    Basic Interface of SPI includes four pins –> MISO, MOSI, SCK & SS

     

    ThanQ

    May 9, 2012 at 10:32 am #7699
    Amrith
    Participant

    Hi,

     

    SD card can be interfaced to microcontroller using SPI communication & 8051 does not have built in SPI function to interface with SD Card, you need to create SPI function, which is little difficult & time consuming. Suggest you to switch to latest versions of 8051 based controllers which has built in SPI function & it would be easy for you to interface with SDcard. 

     

    Basic Interface of SPI includes four pins –> MISO, MOSI, SCK & SS

     

    ThanQ

    May 25, 2012 at 6:23 pm #7907
    AJISH ALFRED
    Participant

     

    Amrith is right,

    You better choose a bit more advanced mcu that have built in SPI module. Otherwise you have to write code to simulate such a module. If you can try with 8051, then lot of help available in the internet.

    I suggest you to give a try, its very interesting and challenging.

    The following link would be helpful for you,

    http://www.atmel.com/tools/CODEEXAMPLESFOR8051SPI.aspx

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • need help in photodetection TIA circuit November 18, 2025
  • Need to solder a really delicate ribbon for an electric reel need advice November 18, 2025
  • Help please! BLDC driver circuit using the IR2136s and the STP80NF06 MOSFETS November 18, 2025
  • Measuring controller current output with a meter November 18, 2025
  • Anyone In The US Ordered From AliExpress Recently? November 17, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise