microphone with pre & post amplifier (LM 386 & TL072) for voice recording

I have designed a micrphone circuite for voice recording through the arduino mega 2560
microphone cicuit whic is having pre amplifier(LM386) and post mplifier(TL072), pre amplifier brings the base of the voice signal as 1.5-2 volts then post amplifier brings the 2 volts to 5 volts ( which can read by arduino 0-5 volts)
the hardware part is working fine , the problem with the software part

can i have a simple program for voice recording in .wav formate and save it in SD card

I have used the the fallowing code but i could not able to it ( file is creatig in SD card as 00000.wav but it is not playing )

APC_18_DigitalAudioRec_v3.ino (5.96 KB)

Capture4.PNG

The program you linked is from a magazine. Are you saying that it doesn't work? Look at your hardware connections.

How do you playback the file?

i used to remove the SDcard from shield and put in a SD card reader into a PC n paly

So what tests have you done to ensure that your amplifiers are actually working?

so, for pre op amp i have tested with a 4 ohms speker as mentioned in link (http://www.electroschematics.com/552/lm386-audio-amplifier/ )
i was getting some sort of voice plus too much hiss noise at 4 ohms speker

then i have tested with post op amp by connecting po amp output port to speker input n it was not giving any kind of noise and voice
but when see the serial monitor of analog red voltages A5 which is connected from post op amp of microphone i can see voltages varieng 0-5 volts at serial monitor

Hi,
Have you assembled the hardware that should be connected to the arduino in the original article?

http://darrenyates.com.au/2014/07/build-digital-audio-recorder-arduino/2911

there are press buttons, record, stop and LEDs.

Tom..... :slight_smile:

Thank you i will try this one :slight_smile:

but i would like to know how to eliminate the hiss noise at my pre op amp LM368 ?

You have probably made a wiring error, or the components are wrong. That, or if there are gain settings in software, those are wrong.

The LM368 in high gain mode (cap across pin 1and 8 ) is rather hissy.
Leo..