Food
Living
Outside
Play
Technology
Workshop
Playing Wave file using arduino
by Husham Samir on January 11, 2014
Table of Contents
Playing Wave file using arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Intro: Playing Wave file using arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 1: Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 2: Prepare your SD RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 3: Circuit Digram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 4: Source Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
File Downloads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
http://www.instructables.com/id/Playing-Wave-file-using-arduino/
Author:Husham Samir Husham Samir Jawad
Electrical Engineer
Intro: Playing Wave file using arduino
This is a simple circuit to play wav files using arduino Nano V3.0 ,it consist from 4 buttons ,each one play specific wav file loaded to SD card.
Step 1: Parts
1- Arduino Nano V3.0 (I used the chines version called Funduino Nano).
2- SD card Module.
3- SD Ram.
4- Bread Board.
5- four push Button .
6- four 22K resistors.
7- one 4.7K resistor.
8- BC546B NPN transistor.
9- Speaker.
10- wires.
http://www.instructables.com/id/Playing-Wave-file-using-arduino/
http://www.instructables.com/id/Playing-Wave-file-using-arduino/
Step 2: Prepare your SD RAM
1- Format SD card and make sure the setting as attached picture.
2- Convert your music to .WAV files and make sure the below:
-Samples Per second(Hz):16000
-Channel :Mono
- Bits Per Sample: 8
I use Wav Sample rate converter software (picture attached).
3- Wave files samples attached.
http://www.instructables.com/id/Playing-Wave-file-using-arduino/
File Downloads
WAV files.zip (1 MB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'WAV files.zip']
Step 3: Circuit Digram
File Downloads
Wav player.fzz (26 KB)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'Wav player.fzz']
http://www.instructables.com/id/Playing-Wave-file-using-arduino/
Step 4: Source Code
1-Before writing the code you need to install TMRpcm library from below link:
https://github.com/TMRh20/TMRpcm/wiki
all information how to install and use the library included in the website .
2- Download the attached WavSW_ino.zip file and open it with arduino sketch ,I tried to copy and paste the Source Code from arduino sketch to instructable but for some
reason the text convert to rubbish.
File Downloads
WavSW_ino.zip (887 bytes)
[NOTE: When saving, if you see .tmp as the file ext, rename it to 'WavSW_ino.zip']
Related Instructables
Talking Darth
Vader Binary
Clock by BrittLiv
Cheap and Easy
SD WAVE
Player by
TSJWang
Standalone
WAV Music
Player by
Parcgwyn
IMPERSONATOR:
Electric Imp +
Arduino + Wave
Shield = Remote
Sound File
Player by
markhester
http://www.instructables.com/id/Playing-Wave-file-using-arduino/
Arduino
Personal
Simple Sample
Soundtrack
Rate Adjustable
Hoodie by
Jonathan Robson Device (Photos)
by notsoyyo1234
Advertisements
http://www.instructables.com/id/Playing-Wave-file-using-arduino/