Your Name 6a9858fc7e add completed tracks | 4 năm trước cách đây | |
---|---|---|
AltSoftSerial | 4 năm trước cách đây | |
ArduinoSerialMP3Player | 4 năm trước cách đây | |
pictures | 4 năm trước cách đây | |
sounds | 4 năm trước cách đây | |
.gitignore | 4 năm trước cách đây | |
Catalex_YX5300_Docs.zip | 4 năm trước cách đây | |
README.md | 4 năm trước cách đây |
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.