Can someone confirm me if any of these circuits work?

Greetings everybody, it's been a long time since I've been here, but I've read all your comments from my musical project.

After a while, the project came back and I wanted to know if any of these circuits are built properly. Thanks in advance.


This first circuit uses the VS1053 MP3 Shield, just as recommended, with the help of the PAM8403 Microamp.


This other one may be a little bit confusing, but it's based on a real circuit I built with the DF Player Mini and a 0,5w 32 milimeter 8 Ohms speaker that recently arrived home. The resistor I'm using in RX is a 10 kohm, but I suspect it's not good enough.

If anyone could help me with that, I would be really thankful. And thanks for reading this far.

If You post proper schematics and links to datasheets You will get better replies.

Fritzing pictures showing wireings to unmarked pins are useless.

Did they work when you built them?

And why did you choose that value rather than the value recommended in the DFplayer Mini manual, and why is it funny?

Okay, thanks for the recommendation. I'll make a new post.

I didn't test them out because first, I don't have all the hardware (the microamp and the shield included), and regarding the DF Player, I fear any malfunctions to the arduino mega when testing it out, it's not really clear to me if it would work or not, so I'd like to have some advice before any mistakes could be made.

About the resistors, I read that it would be metter a 1k ohm resistor, but I don't have a physical one just yet and thought of using it as I have plenty of them. Sorry for the unclearness and for the "funny" term, it wasn't meant to be there.

Please continue this post.

The first one will not work. See MP3 Player Shield Hookup Guide V15 - SparkFun Learn; you need the SPI.

Why would you wire a shield that is intended to be mounted on an Arduino?

Note that for a Mega you need a 6-pin female header at the bottom of the shield. Or you need to wire them to the relevant pins of the Mega (see the Mega pinout).

I'm sorry I didn't really understand how the shield works, to be honest. So what I have to do is to put it on the Arduino? For my project, I've been using some LDR sensors for user input, how would that be connected?

Sorry for all the confusion, I'm getting used to all the hardware and how the Arduino works.

The resistor in the second image isn’t doing anything as it is being shorted. You need to move one leg to a separate rail and then connect it to the Arduino pin.

If you put four of your 10k resistors in parallel toy will get a 2.5k resistance. That is muck closer to the optimum value.

If your shield did not come with headers you need to buy some. E.g. Arduino Stackable Header Kit - R3 - SparkFun Electronics and solder them to the board.

For an Arduino Uno that would be sufficient. For a Mega (or other non-Uno) you need also need something like ICSP stackable header 2x3.
That will provide SPI connectivity for any board that has the shape of an Uno.

Adafruit has/had the complete set: Shield stacking headers for Arduino (R3 Compatible) : Adafruit Industries, Unique & fun DIY electronics and kits (out-of-stock at the moment :frowning:)

If you don't want to use the 6-pin header, you can wire the following pins of the Mega to pins 11/12/13 of the shield.


It will be MOSI to MOSI, MISO to MISO and SCK to SCLK.

Note:
Never be tempted to use pins 11/12/13 for anything else when using a non-Uno. If you want to play it safe with a non-Uno you can cut the pins 11/12/13 of the headers that you soldered to the shield but in that case the shield will no longer work on an Uno.

Late edit:
The 6-pin will be mounted at the bottom of the shield (solder at top).