MMC card based WAV player using atmega32

Summary of MMC card based WAV player using atmega32


This project implements a simple WAV player using an ATmega32 microcontroller and an MMC card. The system operates with a 3.3V regulator (LF33CV) and uses resistors for level conversion from 5V to 3.3V. An 11.05MHz crystal drives the clock, while an LM386 amplifies audio output. Control is managed via three buttons: Start/Stop, Forward, and Reverse. Code customization is required for different card capacities by adjusting specific lines.

Parts used in the MMC card based WAV player:

  • ATmega32 microcontroller
  • MMC card
  • LF33CV 3.3V regulator
  • Resistors for level conversion
  • 11.05MHz crystal
  • LM386 audio amplifier
  • S1 Start/Stop button
  • S2 Forward button
  • S3 Reverse button

This projects gives you a simple wav player with help of the MMC card connected to ATmega32. You can use any AVR microcontroller.
The MMC card works on 3.3v so a 3.3v regulator is used and the 5v to 3.3v level conversion is done by the combination of resistors. The LF33CV is used for the 3.3v regualtor.
The code is written for 1GB card and if you want to change then you need to change the line number 98 in the program. Now the line is “Test = 512 * 7800”  you need to change this 7800 for other value of MMC card.
An 11.05Mhz crystal is used so you have to select the external high frequency crystal at the fuse bits.
The LM386 forms an audio amplifier which amplifies the audio signal. There are 3 buttons on the circuit and they are  S1 for start/stop, S2 for Forward and S3 for reverse.

Circuit Diagram

MMC card based WAV player
For more Detail: MMC card based WAV player using atmega32

Quick Solutions to Questions related to MMC card based WAV player:

  • What microcontroller is used in this project?
    The project uses an ATmega32 microcontroller.
  • How is the voltage converted from 5V to 3.3V?
    The conversion is done by the combination of resistors.
  • Which regulator is used for the 3.3V supply?
    The LF33CV is used as the 3.3V regulator.
  • What crystal frequency is required for the circuit?
    An 11.05Mhz crystal is used.
  • Can I use a different size MMC card?
    Yes, but you need to change line number 98 in the program to adjust the capacity value.
  • What component forms the audio amplifier?
    The LM386 forms the audio amplifier which amplifies the audio signal.
  • What are the functions of the three buttons?
    S1 is for start/stop, S2 is for Forward, and S3 is for reverse.
  • Do I need to configure fuse bits for this project?
    Yes, you have to select the external high frequency crystal at the fuse bits.

About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter
Scroll to Top