Go Down

Topic: Audio chip options? (Read 382 times) previous topic - next topic

xl97

May 28, 2019, 04:42 pm Last Edit: May 28, 2019, 05:22 pm by xl97
Hey gang-

I am looking for some feedback here.. as audio has always been something very difficult for me to grasp (hi/lo pass filters..etc)

In the past.. I have created custom boards/pcbs that either:

a.) were a merge of an Arduino and Adafruit waveshield (all SMD and merged into one board)

or

b.) have use the DFPlayer mini board  (more so my go-to solution as of late)

cons:

a = the Arduino does most of the heavy lifting here... and doesnt leave much room to do too much else.

b = the YX5200 chip is a 'serial' interface chip (send it some serial/hex value, and it plays the song.. or loops.. or skips...etc  yadda yadda)...   but you can NOT use the micro SD card to house/read any sort of text file (so no parameter setting can be done via .txt file for the program)

I have also never take the core components that make up the DFPayer  (yx5200 chip, amp..etc), and merged them into an all-in-one board before..  (I still need to look up the amp chip used)


The DFPlayer mini board is dead simple to use.. does all the heavy lifting/audio playing..  and are quite cheap.

(outside of my never merging the circuit into a pcb that also have an Arduino compatible circuit before.. and it not allowing to read .txt files from the uSD card... this is an acceptable solution for me)

That being said.. are there any other recommended chips out there that other have used?

* Simple to use
* not many components required
* allows for reading not only .wav files.. but .txt files as well

Any feedback is appreciated.

Thanks!



current course is to course and see how to incorporate the:

Audio chip:
YX5200-24SS:
https://forum.arduino.cc/index.php?topic=349317
Chinese datasheet:
https://www.dropbox.com/s/jmtd9y465pn2olo/yx5200%E8%8A%AF%E7%89%87%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E%E4%B9%A6V1.0.pdf?dl=0


3W amp:
YX8002-8S:

https://forum.arduino.cc/index.php?topic=349310.0
Datasheet:
http://www.ti.com/lit/ds/symlink/lm4871.pdf


* YX8002-8S  = Interchangeable with LM4871/XPT4871.

** How so?  the image in one shows many more pins that the LMx variant?

wvmarle

https://github.com/TMRh20/TMRpcm
Sound quality is not exactly HiFi but on my simple speaker it's actually pretty decent, and barely any external parts needed.

Besides, nothing wrong with just taking the DF Player (or a cheap clone) and soldering it onto your custom PCB. I'd consider redesigning that into my own only for a project I'd need hundreds of. And even then. It's compact, really inexpensive, and it gets the job done very well.
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

xl97

#2
May 28, 2019, 11:29 pm Last Edit: May 28, 2019, 11:33 pm by xl97
I agree...  (re: just soldering a DFPlayer module onto the PCB)..

but space will be limited....  and I'd like a 'solution' for when it does come time to make a custom PCB with audio capabilities..


re: https://github.com/TMRh20/TMRpcm

I -think- (I'd have to go back and look, its been years) I used this on a SpiderMan webshooter project.

8 MHZ
3.3v
no amp
micro SD card..

was NOT loud at all.. but made the 'thwip' sound decently enough..

I made this one:
https://www.dmstudios.net/misc/scab_assembly/all-in-one_2.jpg

(on the left.. merger together.. vs the Arduino UNO & Shield to the right)

If I can source those amps..  and the YX5200 chips.. I might just order some to see what it takes to get them all set up properly and working.


(hmm.. wonder if they make breadboard friendly versions.. or just SMD packages?)

wvmarle

Easy enough to amplify that sound :-)

For the DF player you're going to have a hard time making it take up less space than with the module, considering both sides of it are pretty thoroughly used. If your PCB design is single sided you're probably going to need more board area overall.
If you raise the DF player a little bit up from the board you could use the space of your board that's covered by it for other components. Makes the board area smaller, but the overall project a bit thicker.
Quality of answers is related to the quality of questions. Good questions will get good answers. Useless answers are a sign of a poor question.

xl97

all good points.

I'm 100% opposed to adding the DFPlayer board with some single sided or through hole pins..

and true the DF board IS populated on both sides..

hmm..

I'd still like to learn how to incorporate the raw parts... but maybe not for this project now.. LOL

Go Up