Skip to main content
talking msp430This article continues a series about building a DIY digital audio recorder. Inspired by this microcontroller audio project [via], I set out to build a simple digital recording device. I chose Texas Instrument's MSP430 microcontroller for this project because it's fast (16 MHz), it's cheap ($1), and it's very low power. Read the first part, and the second part.

This week we'll progress towards a digital audio recorder by playing audio files from a SD memory card. First, we'll convert an audio file to a raw format and image it directly to a SD card. Then, we'll interface the SD card with the MSP430 and play an audio file. See it in the video:

Next time we'll extend this basic circuit to include a microphone and audio recording capabilities.

Read on to learn more about generating audio with a microcontroller.

next page

MSP430 audio output(click thumbnails to view gallery)

MSP430 audio prototypeProject overviewSD card SPI interfaceSD card data layoutPlaying a raw audio file

  • Matthew

    I love your work here. I was wondering if I can see a listing of your code.

    I have worked on a simular project. I read a SD card. Actually I use the MSP430 to read a SD card and us it for boot flash for a DSP... I do think a very simple FAT system could be used for such an application, but I just format the card then put the file on it. This puts the file at the same place every time. That is the first data sector of the FAT... I do think I could get the FAT working, but for my case it has not been needed. I am using F2012...

    Anyway I would love to see your listing of code.


  • Ian Lesnet

    Thanks Matthew,

    You can find all the code and design files in the project archive. It's linked at the top of page five:



  • 2 Comments / 1 Pages

Add Your Comments

  • New Users
  • Returning

If you are posting a comment for the first time, please enter your name and email address in the fields above. Your name will be displayed with your comment. Your email address will never be displayed.

Add Your Comment

Please keep your comments relevant to this blog entry. Email addresses are never displayed, but they are required to confirm your comments.

When you enter your name and email address, you'll be sent a link to confirm your comment, and a password. To leave another comment, just use that password.

To create a live link, simply type the URL (including http://) or email address and we will make it a live link for you. You can put up to 3 URLs in your comments. Line breaks and paragraphs are automatically converted — no need to use <p> or <br /> tags.


Follow Us

  • No features currently available.

  • More Hot Topics The Daily Fix  •  DIY Warrior  •  Home Ec  •  Handmade
    DIY Disaster Doctor  •  In the Workshop  •  Product Picks

    Home Improvement Videos