SnijderC / dyplayer

Abstracton for DY-XXXX mp3 player modules over UART.
Other
110 stars 30 forks source link

Add tested boards to the list in README #17

Closed SnijderC closed 1 year ago

SnijderC commented 4 years ago

You all recently made issues on this project, and I've tried to help you out with them. Could you do me a favour and let me know which boards you used and if they worked okay? There is a list in the readme that I would like to update with your experiences so others can find out if their boards should work with this library.

If you could also tell me what boards you were using, i.e. Arduino boards or other (and which type) that would be super helpful!

Thanks a lot for your feedback!

@ntapsis @daPoppa @jvet88 @ghoeffner

ghoeffner commented 4 years ago

Hey @SnijderC,

DY-SV5W is tested and working. I am wondering if this is a bug or not, but specifying player.playSpecified(9); is playing song 00007.mp3 - is this intended behavior or a bug? Or some board incompatibility? => actually could be that there are additional files that it is picking up? From #1 - if I understand correctly - it does not care about it being actually 00001 or not, it's simply the number of item found?

Odd enough, it seems to order in x'd out files first... ;) Interesting. Anyway: That seems to clarify the problem - this could potentially be highlighted in the docs. image

SnijderC commented 4 years ago

I see you found issue #16, that is exactly about this issue. So let's discuss it there. It is not a bug in this library I think, I think it's a "bug" or odd behaviour of the module. Thanks for sending the module name. Can you maybe share the board you are connecting the module to as well?

ghoeffner commented 4 years ago

DY-SV5W connected to a nodemcu v2, tested using swserial on D3 and D4 and using hwserial on Serial1. Additionally, here are pictures - feel free to use them for the readme if you want.

image image

SnijderC commented 4 years ago

Nice. thanks! Perhaps I'll add a gallery at some point but for now we have only 2 images ;)

Doubletop12 commented 4 years ago

DY-SV5W with PIC 18F27K42. Code modified to be used with Microchip XC8 compilier it works fine.

See my post about the 1k resistors in the Tx/Rx lines.

SnijderC commented 4 years ago

DY-SV5W with PIC 18F27K42. Code modified to be used with Microchip XC8 compilier it works fine.

See my post about the 1k resistors in the Tx/Rx lines.

Maybe you can add a wiki page on how to do that?

Doubletop12 commented 4 years ago

Chris

I'll have a look at what I did, it wasn't that hard but my C isn't industrial quality and I don't do C++. I just removed the class identifiers, made some fairly minor work arounds when the complier complained.

I'll see if I can do a diff of my source and yours and see if I can summarise the changes.

Pete

woutput commented 3 years ago

PXL_20210623_124006628

I created this toy for children using Wemos D1 mini clone, DY-SV17F and this great library. Note that I applied the changes in #37