2022-12-30 14:39:27 +01:00
2022-11-20 21:57:32 +01:00
2022-11-20 21:54:24 +01:00
2022-11-20 21:47:14 +01:00
2022-12-30 14:39:27 +01:00

MARLIN Box

This project aims to take another approach at RFID-Jukeboxes like the toniebox.

Our goal is to empower parents to make their kids happy - on their own terms.

Prerequisites

The project is currently in the development but is already used in production.

If you wish to try the MARLIN Box in this state you will need the following:

Setup

  • Setup your Raspberry Pi Zero 2 W as usual or use the Raspberry Pi Imager on your Computer and insert the configured SD-Card into your Raspberry Pi Zero 2 W
  • Once online and connected to your network ssh into the Raspberry
  • Update and Restart the Pi using sudo apt-get -y update && sudo apt-get -y upgrade && sudo reboot now
  • ssh back
  • Install curl and portaudio19-dev if it's not already there using sudo apt-get -y install curl portaudio19-dev
  • Download golang using curl -OL https://go.dev/dl/go1.19.4.linux-armv6l.tar.gz
  • Extract the archive using tar -xf go.19.4.linux-arm6l.tar.gz
  • Clone this repository
    • git clone https://github.com/itsscb/marlinbox
    • cd marlinbox/cmd
  • Build the software ~/go/bin/go build main.go && mv cmd marlinbox
  • Create or modify the file playlist.json in the same directory
  • Create the systemd service with sudo nano /etc/systemd/system/marlinbox.service
[Unit]
Description=Runs the binary of the marlinbox

[Service]
ExecStart=/home/marlinbox/marlinbox/cmd/cmd
WorkingDirectory=/home/marlinbox/marlinbox/cmd
Type=simple
User=root

IMPORTANT: Update the path of ExecStart and WorkingDirectory according to your setup.

  • Enable the systemd service with sudo systemctl enable marlinbox.service
  • Restart the Pi with sudo reboot now

Your MARLINBOX should be up and running.

Description
RFID-Jukebox
Readme Apache-2.0 3 MiB
Languages
Go 100%