Skip to content

beta-robots/arduino_play_sound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

arduino_play_sound

Playing sounds from SD card with arduino UNO.

  • Using TMRpcm library to read .wav files from SD card and convert them to analog signal.

  • Anolog circuit inspired from here, which uses a LM386N3 analog audio amplifier.

sd sound player

SD card file format

According SD Arduino reference page, SD card should be formatted to FAT16 or FAT32 file system, and file names have to fulfill 8.3 naming convention (at most 8 characters + dot + 3 extension characters).

.wav file format

The TMRpcm library runs with wav files with the following features:

  • Bit resolution: 8 bits
  • Sampling rate: 16KHz
  • Audio channels: mono
  • PCM format: 8-bit, unsigned

You can use this onlie converter to prepare the wav files to store in the SD card.

About

Playing sounds from SD card with arduino

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%