MicroSD TXB0104 Bidirectional Breakout with level converter interfacing with Arduino

The MicroSD Breakout With Level Shifter makes it easy to add mass storage to your project, whether you’re working with a 3.3V system or a 5V system.

Hardware Overview

The  board is being 3.0V to 5.0V tolerant for ease of use. No more discrete level shifting is required. That also makes it great for direct use with a single cell LiPo battery or similar.

One thing that makes this product stand out is that it is SPI Full Speed stable. Some errors were seen in our testing with other products, but none have been caught using this board. We didn’t have NIST do our testing. We can’t rule out the influence of environmental factors or the host processor used, but if we were looking for stability and reliability at high speed, we’d use this board.

If your processor is capable of it, this board supports the use of even the fastest UHS µSD cards. We only tested to 25MHz, but it should be good to two to four times that. Today most Arduino type µControllers are only capable of SPI Half Speed stable(6Mbps). Consider this board if you want a little future proofing or have a faster setup. The Arduino SD library is capable of SPI Full Speed stable(25Mbps).

The SparkFun Shifting µSD is also a bit unique from its competitors in that it level translates all of its outputs back to the level of the hardware it’s connected to. Other parts make the fairly safe assumption that the inputs on the processor will read 3.3V as a high. This may not always be the case, and isn’t an assumption this board relies on, so you don’t have to bother worrying about it.

PIN CONNECTION

Here is how you would wire up the Shifting µSD to Arduino UNO

CODE UPLOADING

The example code for this product is a simple file logger that allows the user to write to a file on the µSD card using the Arduino IDE Serial Monitor(57600). Download the program from the below link.

Sample code

After uploading the sample code to Arduino uno , open the serial monitor with baud rate 57600.When the board boots you should see the following in the Serial Monitor

Now we can type the data in serial monitor and press send button.

Type ‘EOF‘ and send to save the file.

After entering the ‘EOF‘ the saved file will be opened and we can see the data we have entered.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">