Configuring Mp3_Ack_API_Test.ino #135
Replies: 5 comments 6 replies
-
It should work, and the UNO only has one hardware serial (for debug) so you have to switch the sketch to use software serial. key changes in order that they show up in the file are ...
Let me know how that goes. |
Beta Was this translation helpful? Give feedback.
-
I updated this sample to cleanup the locations to make it a little more obvious what to do. So, you can just get/copy that file and make the minor changes. |
Beta Was this translation helpful? Give feedback.
-
Hi - I've now copied the revised example and edited like this:-
Uncommented:-
Commented:-
Changed Baud rate:-
Uncommented:-
Commented:-
=== The Sketch now compiles and runs = THANKS A LOT FOR YOUR HELP === As I said, the player works OK in my limited application, however you might be interested in the result of my test! The SD Card has two Folders ADVERT and mp3, both have six files approx size 5K named 0001.mp3 -> 0006.mp3 The DFPlayer is marked MP3-TF-16P with chip MH2024K-24SS - here's the debug output:- OUT 7e ff 06 0c 01 00 00 fe ee ef Com Error 6 Com Error 6 Com Error 6 Com Error 7 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the feedback - glad to hear that all looks great! I wondered what the Com errors related to. As far as I can see on my Windows system (with hidden files set to show) I only have the two folders ADVERTS and mp3. I have run the same debug with the same SD card (and same hardware/software) on my other DFPlayer module - it's labelled DFPlayer Mini and has the GD3200B chip - here is the output. You'll note that there are no Com errors! Please don't waste any time on this, as the player(s) are working fine in my application, however, I'm guessing that analysis may be of interest to you :) OUT 7e ff 06 0c 01 00 00 fe ee ef |
Beta Was this translation helpful? Give feedback.
-
Hi - just ran two more debugs using library version 1.2.1 - the outputs follow. PLATFORM: Atmel AVR (4.1.0) > Arduino Uno SD Card remains as before with 2 Folders, each folder contains six files. If you'd like me to reconfigure the contents of the SD card, let me know. I can also test using an alternative SD card, if required. MH2024K-24SS - Module OUT 7e ff 06 0c 01 00 00 fe ee ef Com Error 6 Com Error 6 Com Error 6 Com Error 6 Com Error 7 GD3200B - Module OUT 7e ff 06 0c 01 00 00 fe ee ef |
Beta Was this translation helpful? Give feedback.
-
I'm successfully running a DFPlayer with an Arduino Uno (with Makuna's library) connected via software serial on Pins 10 & 11. Out of academic interest I want to run Debug (Mp3_Ack_API_Test.ino) on my two different types of DFPlayer.
I'm not really up-to-speed with OOP, so I'm in a muddle in my attempts to get Mp3_Ack_API_Test.ino to compile successfully! Can someone please confirm that I should be able to get this to run on my Uno?
If it should compile, I suspect that my problems are due to my inability to correctly comment in/out the various lines that relate to hardware/software serial - using my little knowledge I've tried various permutations without success. If anyone can point me in the right direction it will be much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions