Skip to content

Object Oriented music player that allows for displaying of images during the song (but it's slow :/)

Notifications You must be signed in to change notification settings

ketrab2004-Arduino/object_music

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Object Oriented Music Player

Image

with optional loading of images during songs

Parts:

  • Arduino MEGA 2560 (only if you have USE_IMAGERY set to 1, otherwise an Uno should be enough)
  • A buzzer/speaker
    • Something to decrease power that goes to the buzzer/speaker if necessary (I used a LED)
  • A 2.8'' TFT LCD shield w/Cap Touch and microSD if you set USE_IMAGERY to 1 (anything that works with ILI9341 should work) (touch screen isn't used)
    • No screen is necessary if USE_IMAGERY is 0

Setup:

  1. Attach the TFT to the top of the arduino
  2. Connect your buzzer
  3. Change your settings in settings.h
    • DEBUG: whether or not to serial print debug messages
    • USE_IMAGERY: whether or not to enable tft and sd usage
    • BUZZERS: pin of your buzzer
    • SD_CS: if you have USE_IMAGERY set to 1 and your microSD uses a different pin/port
    • BRIGHTNESS: 0-255 for the backlight strength (if you have USE_IMAGERY set to 1)
  4. Choose a song by setting CHOSEN_SONG in songs.h (not all songs are finished/correctly entered)
  5. Upload images for songs to the SD (if USE_IMAGERY is 1)
  6. Upload the sketch
  7. Enjoy the music :)

Video