Voice record and playback basics?

Hi,

Goal - play a voice recording if someone enters a room (part of a house alarm.)

I want to make a really simple audio player and have a switch trigger play back and another to cancel the playback.

I guess I need Arduino SD card for the recorded file (WAV?) An amplifier and speaker loud enough to be heard if you are at the front door.

https://github.com/TMRh20/TMRpcm This library will help you a lot with your project.

The amplifier would be requied if you need to drive a loudspeaker. But for headphones, it's not necessary.

Note that the audio output is made from a PWM signal, so you will need a "low-pass filter". This can be built out of two 100 ohm resistors in series, and a 0.1 uF ceramic capacitor.

Awesome thanks for the tips.

Amplifier - Any recommendations from ebay or similar? Maybe 15 - 20Watts max.

What's an Arduino got to do with it?

You want a voice recorder, use a voice recorder! |500x500

Dave_vo: Amplifier - Any recommendations from ebay or similar? Maybe 15 - 20Watts max.

It's for an alarm system, so that power should be enough. Remember to use a speaker that handles your output power.

Paul__B: What's an Arduino got to do with it?

Believe it or not, an Arduino can playback audio pretty well (however here is always a quality limit, but still good enough :D ).

Thanks for the suggestions.

Dave