Page 1 of 1

Player software for VS1053/VS1063 Developer Board

Posted: Thu 2016-08-25 11:08
by Panu
Dear All,

Here's a potentially useful piece of software for the VS1053/VS1063 Developer Board for those who have been looking forward to using it as a music player. This software, based on the VS1053 Hi-Fi Player software uses the SD card to make a music player.

To use this software, you need to tweak the hardware a little, because there's a bug in the board design that prevents reliable SD card resetting, causing random power failures instead. The fix is simple, and actually there's more than one option:
  • you can remove capacitor C36 (located near the SD card)
  • OR you can increase C29 to 47u
  • OR you can short circuit pin 4 of JP1 (SD#ON) to GND, disabling the SD card reset capability. This forces the SD card to be switched on all the time, circumventing the bug.
devboard_slcd.jpg
devboard_slcd.jpg (212.41 KiB) Viewed 6010 times
Features:
  • Uses SD card with FAT or FAT32 file system.
  • Should play all or most of VS1053 supported music files.
  • Supports 1.77 inch TFT LCD.
  • Decodes SLCD video (160x120) at roughly 5...10 fps, suitable for example for city guide / museum guide / tour guide players, to show to the listener what is being talked about.
  • Handles the two way multiplexed button matrix of the developer board.
Then a word of caution. Please be advised that this code is a rough work, alpha quality, basically just a proof of concept. It's not production quality software and has very limited functionality: volume up, volume down, skip to next file. It was written by first taking the VS1053 Hi-Fi player source code and then rewriting the parts that are different in the Developer Board, such as SD card handling, display and the buttons. The history, that stems from as far as the VS1003 and VS1011 Stand-Alone players can be seen in the structure of the program, which can be quite hard to read due to extreme memory and variable usage limitations of the VS1011/VS1003 chips for which the underlying player main loop was originally written. Also the code probably has many lines left that only would make sense in the Hi-Fi player, but have not been removed.

As it is, the source code should be an ok (and so far the only available) starting point for developing applications that use the SD card and/or play music using the developer board.

This version is for VS1053b, look below for VS1063a version.

Player software for VS1063 Developer Board

Posted: Thu 2016-09-01 14:28
by Panu
Hi again!

Here's the above software, ported to VS1063A developer board.

-Panu

Re: Player software for VS1053/VS1063 Developer Board

Posted: Fri 2016-10-28 6:26
by nikhil232k5
Hello Sir,

I tried the same on board and after programmed board its shows ok but still i m not able to read SD card

Kindly support

Re: Player software for VS1053/VS1063 Developer Board

Posted: Sat 2016-10-29 9:07
by nikhil232k5
Dear Sir,

As per forum we have done below changes:-

removed capacitor C36 (located near the SD card)
increased C29 to 47u
shorted pin 4 of JP1 (SD#ON) to GND,

after completion added ""Devhifiplayer.solution"file on VSIDE, build and programmed than after programmed it's found "OK" as per attached pic.

after completion of the above written process we are unable to read SD card.

Kindly provide the solution or look on the matter ASAP.

Nikhil Gupta
Fiem Industries Ltd

Re: Player software for VS1053/VS1063 Developer Board

Posted: Sat 2016-10-29 19:56
by Panu
Hi!
As per forum we have done below changes:-

removed capacitor C36 (located near the SD card)
increased C29 to 47u
shorted pin 4 of JP1 (SD#ON) to GND,

after completion added ""Devhifiplayer.solution"file on VSIDE, build and programmed than after programmed it's found "OK" as per attached pic.

after completion of the above written process we are unable to read SD card.
'
Could you answer a couple of questions...

1) Do you have VS1053 or VS1063 board?

2) Which firmware you are trying to upload?

3) When you start the program, what is shown on the LCD display?

4) Is the unmodified firmware "DevHifiPlayer-2016-09-01-15-19-vs1063-experimental.zip" (for VS1063) or "DevHifiPlayer_RC1.zip" (for vs1053) able to play an MP3 file from the root directory of the SD card if it's the only file on the SD card?

5) have you tried more than one SD card? The software is old, it may not work with all cards.

6) in the end, what exactly are you wanting or trying or needing to do? If we know what your end goal is, we can support you better.

-Panu

Re: Player software for VS1053/VS1063 Developer Board

Posted: Thu 2016-11-03 8:57
by nikhil232k5
Dear Sir,

Please check below points:-

I have upload DevHifiPlayer_RC1.zip for play audio file.

I have tried with multiple SD cards.

We required:-

Play Audio / Video through SD card on headphone or Audio in
Play Microphone

Thanks and Regards,
Nikhil Gupta

Re: Player software for VS1053/VS1063 Developer Board

Posted: Wed 2017-01-25 16:50
by pasi
If you want to test the microphone, the attached version includes a short code to start encoding with suitable parameters for the microphone.

Also note that you need to move the analog input jumpers from the FM radio setting to the microphone setting.

Re: Player software for VS1053/VS1063 Developer Board

Posted: Thu 2018-09-06 13:26
by lijinqiu1
I have a quest with the boot select button on the Developer Board.
I see the datasheet, "If GPIO0 is set with a pull-up resistor to 1 at boot time, VS1063a tries to boot from external SPI memory.".
But whenever I push or release the boot select button´╝îthe gpio0 allways be pulled high. So what dose the mean fo select button(S10)?

Re: Player software for VS1053/VS1063 Developer Board

Posted: Thu 2018-09-06 16:51
by Panu
Hmm, I think it might cut the chip select from the SPI flash so that it doesn't give out any boot data...?

-Panu