title | permalink | author | description | project | tags | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Binary JukeBox |
/projects/binary-jukebox/ |
Sahaj Sarup |
A Juke-Box like setup. but instead of selecting a song using decimal numbers the user punches in digits in binary! |
|
|
A Juke-Box like setup. but instead of selecting a song using decimal numbers the user punches in digits in binary!
- DragonBoard 410c
- Shiratech FPGA Mezzanine
- 8x LEDs
- 8x 68 Ohm Resistors
- 3x Push buttons
- 3x 10K Ohm Resistors
- 1x Stereo HEadphone Jack
- Make sure that the FPGA Mezzanine is properly connected to the DragonBoard 410c.
- Follow this diagram to connect the LED Control panel to the FPGA Mezzanine's Arduino header
- Install MRAA on 96Boards CE
- Update Submodules:
git submodule update --recursive --init
$ sudo apt install libvlc-dev libncurses5-dev
- Add music Library
- Create a folder called
music
in the project's root directory and add upto 255 tracks.Note: The file names should just be the Name of the Track followed by the Artist.
- Create a folder called
- Compile:
- Simply run
make
at the project's root directory.
- Simply run
- Run
$ sudo ./binjukebox
- You should see all the 255 tracks being listed.
- The first track will start to play.
- The current playing track gets highlighted.
- Use Button 1 and Button two to Left shift a 1 or a 0 bit to make a song selection.
- Button 3 plays the selected song.
- If no song is selected the player would automatically play the next song.