How do I output multiple audio files?

Hi, i am new to Arduino. I am a student trying to start a project. The thing is, I don't know how to start and am wondering if I can get some tips.

The project I am trying to build is an Abacus. I need to read the quantity of beads in each bar, make an Arduino read it, then "speak" (I mean to output audio from the Arduino) the value somehow.

The part of reading the beads I have an idea on how to start and am confident that I could solve with time. But, the last part where it's needed to "speak", I don't know how to get a good start.

The idea I have so far is to hold audio files in a sound module, then writing code in the Arduino to make it play an specific one each time (It doesn't have to read constantly the difference in beads, I was thinking of using a button to make one read for each press). I have been doing a little research for some external parts to the Arduino, but haven't found one with documentation or tutorials of some kind.

I appreciate any suggestions or tips. Also, sorry for any typos, english is not my native language.

  1. You could use a DFRobot Player to output audio as you explained
  2. You can use an ESP32 module to play audio.

The DFRobot player method is probably easier for a beginner.

I’d second the suggestion to use the DFR Mini MP3 player for the audio. Your abacus ‘counts’, however derived, could become the MP3 file names on that module’s micro SD card. Simplest approach: record them with microphone and a program of your choice (Goldwave, Audacity, etc).

I think you have a lot of work (and fun) ahead. What’s your timescale?

The Talkie library works with the Uno, Mega and some other Arduinos to produce words and numbers selected from a collection. You will need an audio amplifier module and speaker to hear them.

How do you plan on sensing/counting the beads? How many beads will there be?

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