The Alpha Geek – Geeking Out

Project #16: Sound – Music Shield – Mk25

——

#DonLucElectronics #DonLuc #ArduinoUno #Seeed #MusicShield #Arduino #Project #Fritzing #Programming #Electronics #Microcontrollers #Consultant

——

Music Shield

——

Music Shield

——

Music Shield

——

Seeed Studio: Music Shield V1.2

The Music Shield is a professional audio codec. It can work with Arduino, Seeeduino, Seeeduino Mega and Arduino Mega. It is based on VS1053b IC, and can play a variety of music formats stored on MicroSD cards with Seeed the provided Arduino Library. Recording is only supported on Seeeduino Mega and Arduino Mega for now.

  • Arduino, Seeeduino, Arduino Mega, and Seeeduino Mega compatible
  • 2 control-push buttons and 1 knob switch
  • Plays music from micro SD cards Decodes: MP3, WAV, MIDI, Ogg Vorbis
  • I2S interface for external DAC
  • Headphone/Line Out for playback
  • Line In for recording in OGG format
  • Excellent sound quality with ±1 dB Frequency Response
  • FCC verification

Insert the Micro SD card and the earphone. Plug the Music Shield onto the Arduino. Connect the board to PC using USB cable.

DL2407Mk01

1 x Arduino Uno – R3
1 x Seeed Music Shield V1.1
1 x MicroSD 2 GB
1 x Speakers
1 x SparkFun Cerberus USB Cable

Arduino Uno – R3

VOU – 3
RNS – 4
RP&S – 5
RPS – 6
VOD – 7
LED – 8
SPI – 10
MOSI – 11
MISO – 12
SCK – 13
RES – A0
VS1 – A1
VS2 – A2
VS3 – A3
VIN – +5V
GND – GND

DL2407Mk01p.ino

/****** Don Luc Electronics © ******
Software Version Information
Project #16: Sound – Music Shield – Mk25
16-25
DL2407Mk01p.ino
DL2407Mk01
1 x Arduino Uno - R3
1 x Seeed Music Shield V1.1
1 x MicroSD 2 GB
1 x SparkFun Cerberus USB Cable
*/

// Include the Library Code
// Fat 16
#include <Fat16.h>
#include <Fat16Util.h>
// New SPI
#include <NewSPI.h>
// Arduino
#include <arduino.h>
// Seeed Music Player
#include "pins_config.h"
#include "vs10xx.h"
#include "newSDLib.h"
#include "MusicPlayer.h"

// Seeed Music Player
MusicPlayer myplayer;

// Software Version Information
String sver = "16-25";

void loop() {

  // Seeed Music Player
  isMusicPlayer();

}

getMusicPlayer.ino

// Seeed Music Player
// is Music Player
void isMusicPlayer() {

  // Seeed Music Player
  // Set mode to play shuffle
  myplayer.setPlayMode(MODE_SHUFFLE);
  //Otherwise it will add the current song to the new playlist. 
  //If the current playlist is empty,it will add all the songs 
  // in the root directory to the playlist.                      
  myplayer.creatPlaylist();
  // Play List
  myplayer.playList();
  // While
  while(1);
  
}

setup.ino

// Setup
void setup()
{
  
  // Give display time to power on
  delay(100);

  // Seeed Music Player
  // Will initialize the hardware and set default mode to be normal
  myplayer.begin();
  
  // Delay 5 Second
  delay( 5000 );

}

——

People can contact us: https://www.donluc.com/?page_id=1927

Teacher, Instructor, E-Mentor, R&D and Consulting

  • Programming Language
  • Single-Board Microcontrollers (PIC, Arduino, Raspberry Pi, Arm, Silicon Labs, Espressif, Etc…)
  • IoT
  • Wireless (Radio Frequency, Bluetooth, WiFi, Etc…)
  • Robotics
  • Automation
  • Camera and Video Capture Receiver Stationary, Wheel/Tank and Underwater Vehicle
  • Unmanned Vehicles Terrestrial and Marine
  • Machine Learning
  • Artificial Intelligence (AI)
  • RTOS
  • Sensors, eHealth Sensors, Biosensor, and Biometric
  • Research & Development (R & D)
  • Consulting

Follow Us

Luc Paquin – Curriculum Vitae – 2024
https://www.donluc.com/luc/

Web: https://www.donluc.com/
Facebook: https://www.facebook.com/neosteam.labs.9/
YouTube: https://www.youtube.com/@thesass2063
Twitter: https://twitter.com/labs_steam
Pinterest: https://www.pinterest.com/NeoSteamLabs/
Instagram: https://www.instagram.com/neosteamlabs/
LinkedIn: https://www.linkedin.com/in/jlucpaquin/

Don Luc

Leave a Reply

Your email address will not be published. Required fields are marked *

Categories
Archives