Git Product home page Git Product logo

arduinolufa-sdcardreader's Introduction

ArduinoLUFA-SDCardReader

USB SD Card Reader using the Arduino Micro and a micro SD card.

Preview

The software is based on the Arduino-Lufa library (https://github.com/Palatis/Arduino-Lufa). Use the instructions from the Arduino-Lufa library to activate the library. Run the python script activate.py to override the native USB support from Arduino otherwise it will not work. To have the native USB Serial run the deactivate.py script.

The Arduino Micro has 5V logic, but SD cards needs 3.3V logic therefore it is imported to use a Level Converter between the Arduino and the SD card.

The SD card driver is based on the Arduino Sd2Card Library (Copyright (C) 2009 by William Greiman) under GNU General Public License and optimized to use as low memory as possible.

I tested it with a Transcend 4GB MicroSDHC card. Others should also work but maybe the SPI speed needs to be adapted (LUFAConfig.h file). I used a USB to Serial adapter to debug the code (Serial1 and enable the SDCARD_DRIVER_DEBUG define in LUFAConfig.h) since the native Arduino Serial is deactivated. In addition the auto reset routine is deactivated, therefore for flashing the Arduino you need to do it manual using the RST button.

arduinolufa-sdcardreader's People

Contributors

curtlab avatar

Stargazers

 avatar  avatar

Watchers

 avatar

arduinolufa-sdcardreader's Issues

readCapacity

readCapacity calculation is wrong for my 32GB SDHCCard.
Ended up using the SdFat SdCard + SpiDriver combo which returns the correct number of blocks.

For whatever reason I cannot get this MSD showing up on Mac or Linux. Only working on Linux so far...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.