Control Arduino VS1053B Shield through Node.js interface
##Demonstration##
##Hardware Requirements##
-
MicroSD Card with mp3s named as shown below (installed in VS1053 Shield):
##Instructions##
- Install Node.js
- Install nodeserialport
- Obtain the Sparkfun MP3 Player Shield Library and install into C:\Program Files (x86)\Arduino\libraries
- Open Arduino IDE and select Examples => SFEMP3Shield => MP3Shield_Library_Demo and flash to your Arduino
- Open a Command Prompt / Terminal then navigate to the directory of Adruino_VS1053B_Shield_Node_Interface.js included in this library and modify the COM Port value in
var sp = new SerialPort("COM3", {
to match the COM / tty port of your Arduino - Excecute:
node Adruino_VS1053B_Shield_Node_Interface.js
- Plug up some speakers and enjoy =)