Your Name 6a9858fc7e add completed tracks | %!s(int64=4) %!d(string=hai) anos | |
---|---|---|
AltSoftSerial | %!s(int64=4) %!d(string=hai) anos | |
ArduinoSerialMP3Player | %!s(int64=4) %!d(string=hai) anos | |
pictures | %!s(int64=4) %!d(string=hai) anos | |
sounds | %!s(int64=4) %!d(string=hai) anos | |
.gitignore | %!s(int64=4) %!d(string=hai) anos | |
Catalex_YX5300_Docs.zip | %!s(int64=4) %!d(string=hai) anos | |
README.md | %!s(int64=4) %!d(string=hai) anos |
Make sure the first partition of the SD card is the one that contains the example files. It should be formatted FAT32.
Connect pins 8 and 9 to the YX5300 UART. (pin 10 is not usable)
Ground pin to trigger playing mp3 files in assigned folder 01..05. Pin D2 is assigned folder 01.
Send commands to the Arduino Nano hardware UART TX1..RX0. The software will control the YX5300. Control at 9600bps.
Sketch is included on [SD card](".\arduino\ArduinoSerialMP3Player\ArduinoSerialMP3Player\ArduinoSerialMP3Player.ino") I had a problem trying to program this using the Arduino 1.8.7, these are the steps I took to resolve:
Modified the code to use Paul's altSoftSerial and added trigger pins. Otherwise nothing else was modified, original repo is on github/cefaloide
To make cat noises some sample mp3 were collected from the internet. Audacity was used to make modifications and to analyze the samples.