playfultechnology / audio-guestbook

The "audio guestbook" is a converted telephone handset that guests can use to leave recorded messages at weddings and parties
GNU General Public License v3.0
140 stars 87 forks source link

Not recording to the SD Card #133

Open Teflon843 opened 8 months ago

Teflon843 commented 8 months ago

Hey guys, I ran into several issues with this code but was able to figure it out over time. I have been stuck on this last issue for several weeks now. Maybe someone here can shed a little light on the issue.

When I leave a message, nothing is recorded. The file is written to the SD Card but there is no sound when you play it. and when you click on the .wav file it plays but no sound.

Everything appears to be working properly through the serial monitor. Just nothing when it comes to sound on the SD Card. Again it writes the file name, date and time, but doesn't play any sound from the mic recording.

Ive disconnected the mic from the audio shield to see what would happen and it does the same thing. Ive used 3 other old phone mics and still the same thing. It couldn't be all the mics are completely dead, or could it be. Even if damaged I would expect to get some type of noise from the mic.

Any suggestions?

Casaluifred commented 8 months ago

Do You use the Original Microphone? In my case it works, but very silent. The Original ist in the right in the picture.

I use this small one, it works perfekt. The plastic part around ist printed with my 3D-printer, it works also without.

If You use the small one, just chance the wires + to - and - to + on the microphone.

PXL_20231223_134940281

Casaluifred commented 8 months ago

PXL_20231223_150826370

Teflon843 commented 8 months ago

Yes used the original mics and another mic. I don’t believe the mic is the issue. I believe it is the code.

I’m not sure what the problem is. Files are been written to the sdcard but there is no recording.

Sent from my iPhone

On Jan 12, 2024, at 2:34 AM, Casaluifred @.***> wrote:

 PXL_20231223_150826370.jpg (view on web)

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.

Casaluifred commented 8 months ago

Have you also tried swapping the two cables on the microphone? With a small microphone, it does matter how it is connected. I can provide you with my code. It's a mix of playfultechnology's and DD4WH's with a few changes. But I didn't change the audio part. I think it's a hardware problem.

ninja-warrior commented 8 months ago

I apologize for the offtopic:

@Casaluifred Could you please provide a link or stl file to print the plastic housing for the microphone? This would be really awesome!

Brent3186 commented 7 months ago

Have you also tried swapping the two cables on the microphone? With a small microphone, it does matter how it is connected. I can provide you with my code. It's a mix of playfultechnology's and DD4WH's with a few changes. But I didn't change the audio part. I think it's a hardware problem.

Just starting this project, would you mind sending a link to your code

Teflon843 commented 7 months ago

Hey Casaluifred could you please provide the code for me to try? Ive tried using the mic on the phone itself. Ive tried electrek mics and no sound at all.

Teflon843 commented 7 months ago

Have you also tried swapping the two cables on the microphone? With a small microphone, it does matter how it is connected. I can provide you with my code. It's a mix of playfultechnology's and DD4WH's with a few changes. But I didn't change the audio part. I think it's a hardware problem.

Please any help you can provide would be great.

Kenitilas commented 4 months ago

I am also not really happy with my mic quality. I am using the original mic and it is working but it is a bit crisp... @Casaluifred did you just used the mic DD4WH recommended? Here in Germany these models are quite hard to find...