I am trying to get my R4 working with the DY-SV84 in UART mode. I found this library and documentation and have tried troubleshooting as much as I can. I could really use help. Even with the "PlayAllSounds" file, which uses UART to tell the module to start, I get nothing. If I can even get that to start working, I can likely figure out everything else I need.
Wiring is not a problem; I can trigger files with a strong sound in non-UART modes, and I have the CON configuration correct (1 Off, 2 Off, 3 On). V+ and Ground connected to Arduino, and Module TX to Arduino RX, Module RX to Arduino TX. The file is named correctly (0001.mp3)
The UART stuff is pretty new to me so I appreciate the help... even if it ends up stupidly basic.
....if that's the answer, I'm going to be so annoyed for the 5 hours I just spent troubleshooting...
I had been trying to use that dyplayer library, so if I DID want to use it, does that mean I would need to go through all the files in that library and change all instances of "Serial" to "Serial1"?
That is a second option that is commented out in the examples - I had tried uncommenting that, and commenting out the "DY:Player player;" like below, but it did not work.
// Initialise the player, it defaults to using Serial.
//DY::Player player;
// Alternatively initialise on another serial port.
DY::Player player(&Serial2);