Jukebox Pi [gav-pi19]

Raspberry Pi - MPD Monitor

At times, with my Multimedia System playing random music by default (obviously, it can be overridden with any number of Music Player Clients), I just wasn't sure which track was playing.

So, with a spare Raspbery Pi Zero W, a 4x20 dot matrix display, an enclosure that I bought from a seller who's no longer on Ebay, and a little bit of Python, we have a fully functioning MPD monitor (that also tells me if my Internet connection is live)!

Installation was simple:

Raspberry Pi - MPD Monitor
Raspberry Pi - MPD Monitor
  1. Assemble the enclosure.
  2. Mount the LCD (with LCD backpack) and Raspberry Pi to the enclosure.
  3. Connect VCC, GND, SDA and SCL from the Pi to the backpack.
  4. Install Raspbian Lite to a micro SD card.
  5. Put the sd card in the Pi and boot up.
  6. Enable I2C in the configuration.
    sudo raspi-config
  7. Install a couple of additional python modules:
    sudo apt install python3-smbus python3-mpd mpc
  8. Call the script from /etc/rc.local
  9. Reboot and hope it works (you may want to run it from the command line first of all though)!

Note: there may be a slightly later version of the script on my useful scripts page (which may be safer, just in case I've got the multiple   required to show white space delimiation for Python wrong.

Specifications

Case: ???
Board: Rapsberry Pi Zero-2-W (version 1.0)
SoC: Broadcom BCM2710A1 (Inside Raspberry Pi RP3A0 SiP)
CPU: 64-bit Quad-core (ARM Cortex-A53, ARMv8-A arch) @ 1Ghz
GPU: Broadcom VideoCore IV @ ??? MHz
RAM: 512MiBytes SDRAM
Storage: Sandisk Ultra, class 10 (16GByte micro SDHC)
Display: Waveshare Zero-DISP-7 (7-inch 1024x600, 5-point touchscreen)



Del.ico.us Digg Facebook Google LinkedIn LiveJournal NewsVine reddit StumbleUpon Twitter
Valid XHTML 1.0 Transitional Valid CSS! [Valid Atom 1.0] [Valid RSS 2.0]
[ Page last updated Sun 6th Jul 2025 | viewed 27 times ]