# Audio box with a button

**URL:** <https://forum.arduino.cc/t/audio-box-with-a-button/951712>\
**Category:** Audio\
**Created:** [January 26, 2022, 5:02pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712 "2022-01-26T17:02:29Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomasstoras](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@tomasstoras](https://forum.arduino.cc/u/tomasstoras)\
**Post date:** [January 26, 2022, 5:02pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/1 "2022-01-26T17:02:29Z")

</div>

Hi,

First of all, I'm a beginner when it comes to Arduinos.

Description: What I am trying to make is box made out of plywood, that has a button on it, which when pushed plays a recorded message. I am going to use this box in a room escape game that I am planning for my friends and family.

What I imagine the box will look like:  
 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/9/2/e/92e8fe07bbb0ccf72ae1e5e31a45fb6c0c93ed4f.png)

The parts that I think I need:

1. 2s 7,4V LiPo battery 1500 mAh:
2. Waterproof push button 19 mm:
3. Arduino nano:
4. 3W 4 ohm speaker:
5. MicroSd card module:

- wires and resistors

When entering the parts into this schematics maker (have not used before), the end result looks like this. Is this correct? Shouldn't the speaker be connected to Sd card module or is there some part that I am missing and therefore it looks weird..

> **[How to wire Arcade Button with LED - 30mm Translucent Red, 3W Stereo Speaker,...](https://www.circuito.io/app?components=11022,11856,62012,197254,1671987)**
>
> Learn how to wire the Arcade Button, 3W Speaker, Micro SD Module to Arduino Nano in a few simple steps. The primary components for this circuit are: Arduino Nano - R3 and Arcade Button, 3W Speaker, Micro SD Module. Drag and drop these components onto...

On this Amazon product (link below), there is a schematic in one of the pictures. In the picture they have used a TF audio decoder module.

> **[Amazon.com: CQRobot Speaker 3 Watt 4 Ohm Compatible with Arduino Motherboard,...](https://www.amazon.com/CQRobot-Speaker-Interface-Electronic-Projects/dp/B0822XCPT8)**
>
> Buy CQRobot Speaker 3 Watt 4 Ohm Compatible with Arduino Motherboard, 2.54mm Dupont Interface. It is Ideal for a Variety of Small Electronic Projects.: Everything Else - Amazon.com ✓ FREE DELIVERY possible on eligible purchases

So should I instead of the microsd card module get a TF audio decoder module?

Does the schematic on the Amazon page seem reliable?

Edit: a word

---

<div class="post-metadata">

**Author:** ![LarryD](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/larryd/32/215550_2.png) [@LarryD](https://forum.arduino.cc/u/LarryD)\
**Post date:** [January 26, 2022, 5:14pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/2 "2022-01-26T17:14:51Z")

</div>

This project might give you some ideas:

> [@Share tips you have come across](https://forum.arduino.cc/t/share-tips-you-have-come-across/428745/807):
>
> Project construction life cycle When you start designing an Arduino project from start to finish, you need to have a plan. Once you have decided what you want to make, scale drawings and component selection is a must. For scaled drawings, a 3D computer program like ‘Sketchup Make’ is great but there is a learning curve that you must achieve. There are lots of YouTube Videos you can review to gain the skills needed to draw your scaled drawing. Here we will be making a ‘Useless Box’ designed a…

> [@Share tips you have come across](https://forum.arduino.cc/t/share-tips-you-have-come-across/428745/808):
>
> Flush cut, down cut, spiral router bit.

> [@Share tips you have come across](https://forum.arduino.cc/t/share-tips-you-have-come-across/428745/809):
>

> [@Share tips you have come across](https://forum.arduino.cc/t/share-tips-you-have-come-across/428745/810):
>
> PDF for the UselessBox schematic and the sketch is attached below. One of 7 animations. YouTube video here: [[5 Useless Boxes] ](https://www.youtube.com/watch?v=Sg72qL8XBZs)[UselessBox.ino](https://forum.arduino.cc/uploads/short-url/noM8gsUxB4eoJNrAshY5fk1lDeW.ino) (26.7 KB) [UslessBox.pdf](https://forum.arduino.cc/uploads/short-url/xLOd0JnkQ1ZSUEaGQJcyFeoN6HI.pdf) (23.6 KB)

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/7/e/a/7ea8bb048757144e144229d0997cb10bb1e40cb1.jpeg)

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/f/4/3/f43a260097774eae09f8924ea03d3cda36d3a6a3.jpeg)

---

<div class="post-metadata">

**Author:** ![tomasstoras](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@tomasstoras](https://forum.arduino.cc/u/tomasstoras)\
**Post date:** [January 26, 2022, 6:41pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/3 "2022-01-26T18:41:18Z")

</div>

@ [LarryD](https://forum.arduino.cc/u/LarryD) Thank you for your response and ideas!

I have the project mostly planned already. I have designed the box in sketchup, made the wiring diagram in circuito and looked at some similar projects that I found online.

No project has matched exactly though, therefore there are some question marks whether the parts I have listed is going to the job, if there is something I might be missing or perhaps if there is a better solution?

My current number one concern is whether I should use a sdcard module of TF audio module. (I have actually already ordered som sdcard module, but now I am unsure if I am going to be able to use them in this.)

Do you have any experience about [circuito.io](http://circuito.io), can the diagrams from there generally be trusted? Moreover, why is the sdcard module not connected to the speaker?

Edit: Noticed (when looking more closely at a similar project) that the sd card module doesn't have to be connected to speakers. I think I am good to go with parts that I have listed, so I will go ahead and order them.

---

<div class="post-metadata">

**Author:** ![killzone\_kid](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/killzone_kid/32/1098074_2.png) [@killzone\_kid](https://forum.arduino.cc/u/killzone_kid)\
**Post date:** [January 26, 2022, 7:20pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/4 "2022-01-26T19:20:08Z")

</div>

How many messages does it play? DFplayer can be standalone module, there are also sound boards that dont need arduino

---

<div class="post-metadata">

**Author:** ![tomasstoras](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@tomasstoras](https://forum.arduino.cc/u/tomasstoras)\
**Post date:** [January 26, 2022, 7:51pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/5 "2022-01-26T19:51:43Z")

</div>

@killzone_kid Just one message, that is approximately 10 seconds.

Do you mean that with an DFplayer module I wouldn't necessary need an arduino? Do you have any example on sound boards that doesn't need arduino?

---

<div class="post-metadata">

**Author:** ![tomasstoras](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@tomasstoras](https://forum.arduino.cc/u/tomasstoras)\
**Post date:** [January 26, 2022, 8:01pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/6 "2022-01-26T20:01:56Z")

</div>

I have read this post (but not entirely comprehended) [Uno and 4-ohm speaker - #2 by Paul\_B](https://forum.arduino.cc/t/uno-and-4-ohm-speaker/385313/2).

Should I be worried about wiring the speakers directly to the arduino, or is it okey as long as I have a 220 ohm resistor?

---

<div class="post-metadata">

**Author:** ![killzone\_kid](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/killzone_kid/32/1098074_2.png) [@killzone\_kid](https://forum.arduino.cc/u/killzone_kid)\
**Post date:** [January 26, 2022, 8:02pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/7 "2022-01-26T20:02:44Z")

</div>

Cheapest is DFPlayer, soundboards dont use sdcard so they are more expensive

[![](https://europe1.discourse-cdn.com/arduino/original/4X/7/9/3/793580cc05e7bf984cf8c721d2b4c237b5dd290f.jpeg "DFPlayer Mini MP3 Module Testing") ](https://www.youtube.com/watch?v=gMv2xGHLXdU)

---

<div class="post-metadata">

**Author:** ![LarryD](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/larryd/32/215550_2.png) [@LarryD](https://forum.arduino.cc/u/LarryD)\
**Post date:** [January 26, 2022, 8:22pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/8 "2022-01-26T20:22:32Z")

</div>

Suggest you use a **text to speech** module.

example:

> **[Emic 2 Text-to-Speech module](https://www.adafruit.com/product/924)**
>
> Give your project a voice! Designed by Parallax in conjunction with Grand Idea Studio, the Emic 2 Text-to-Speech Module is a multi-language voice synthesizer that converts a stream of ...

* * *

> **[Make It Talk](https://learn.adafruit.com/make-it-talk?view=all)**
>
> There are times when you want your project to go "beep" and other times you want it actually say words. This guide will quickly get you going with generating words and phrases for your microcontroller projects.

---

<div class="post-metadata">

**Author:** ![tomasstoras](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@tomasstoras](https://forum.arduino.cc/u/tomasstoras)\
**Post date:** [January 26, 2022, 8:42pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/9 "2022-01-26T20:42:38Z")

</div>

@killzone_kid Thank you! DFPlayer might just be what I need. I will order a couple of them as well and then I can see what works best.

---

<div class="post-metadata">

**Author:** ![tomasstoras](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@tomasstoras](https://forum.arduino.cc/u/tomasstoras)\
**Post date:** [January 26, 2022, 8:47pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/10 "2022-01-26T20:47:48Z")

</div>

@LarryD Thank you! This might be something I could be use in some other project. However, in this one I want to be able to play my own recorded message.

---

<div class="post-metadata">

**Author:** ![LarryD](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/larryd/32/215550_2.png) [@LarryD](https://forum.arduino.cc/u/LarryD)\
**Post date:** [January 26, 2022, 8:49pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/11 "2022-01-26T20:49:44Z")

</div>

![image](https://europe1.discourse-cdn.com/arduino/original/4X/1/4/7/147311cdcd3204b16e6e49f41d8e2be52c4cec47.jpeg)

---

<div class="post-metadata">

**Author:** ![Paul\_B](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paul_b/32/216376_2.png) [@Paul\_B](https://forum.arduino.cc/u/Paul_B)\
**Post date:** [January 26, 2022, 8:54pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/12 "2022-01-26T20:54:03Z")

</div>

I (was summoned here by your reference to a post of mine as I do not generally view this forum but) don't see why this would involve an Arduino **at all**.

Audio message recording modules are readily and cheaply available with various specifications and perform the **exact** task you want with no additional parts required.  
[![](https://europe1.discourse-cdn.com/arduino/original/4X/b/5/e/b5ed7dc5dd58d6c85d65fb1f46195b4ef6233c58.jpeg)](https://www.aliexpress.com/item/32850268422.html)  
Note that the module **can** also be Arduino controlled.

---

<div class="post-metadata">

**Author:** ![killzone\_kid](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/killzone_kid/32/1098074_2.png) [@killzone\_kid](https://forum.arduino.cc/u/killzone_kid)\
**Post date:** [January 26, 2022, 9:11pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/13 "2022-01-26T21:11:17Z")

</div>

While posting the video I realised I was overengineering my own project by using sdcard slot and I2S DAC to play sounds, I remembered I had a few of these players laying around.

---

<div class="post-metadata">

**Author:** ![tomasstoras](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@tomasstoras](https://forum.arduino.cc/u/tomasstoras)\
**Post date:** [January 26, 2022, 9:11pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/14 "2022-01-26T21:11:59Z")

</div>

@Paul_B Thank you for you response!

The ISD1820 audio message recording module does sound like it might be a near perfect fit for this project! The only thing I'm hesitant about is if whether or not is possible to transfer/store an audio file on the module? Would it perhaps be possible to store the audio file on an sdcard module?

Edit: Even though only a short message need be played. I would like to be able the audio file of my choosing, which includes some sound effects. By recording a recording I think the quality would suffer too much?

---

<div class="post-metadata">

**Author:** ![Paul\_B](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/paul_b/32/216376_2.png) [@Paul\_B](https://forum.arduino.cc/u/Paul_B)\
**Post date:** [January 26, 2022, 9:59pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/15 "2022-01-26T21:59:23Z")

</div>

> [@tomasstoras](#):
>
> By recording a recording I think the quality would suffer too much?

I doubt that would be critical in your application. The small speaker is limited anyway.

What is absolutely certain is that the Arduino alone is **not** capable of producing decent audio. 🙄

---

<div class="post-metadata">

**Author:** ![tomasstoras](https://avatars.discourse-cdn.com/v4/letter/t/fbc32d/32.png) [@tomasstoras](https://forum.arduino.cc/u/tomasstoras)\
**Post date:** [January 26, 2022, 10:42pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/16 "2022-01-26T22:42:06Z")

</div>

That is good to know! I'm aware that sound quality can't be compared to a normal speaker, but I'm not sure how bad it's going to be.. Might be that I've been a bit too hopeful about how it will sound.

Do you have suggestions what can be done to improve the sound quality, while still keeping the price relatively low? another module, speaker?

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [July 25, 2022, 10:42pm UTC](https://forum.arduino.cc/t/audio-box-with-a-button/951712/17 "2022-07-25T22:42:09Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
