Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

phonie-box

My implementation of the PhonieBox project on raspberry pi nano

Hardware

Components

Raspberry Pi

I started with a raspberry pi zero w, but I'm planning to upgrade to a raspberry pi zero 2 as it's faster and should give a better experience. The zero 1 w is working though. Raspberry Pi Zero 2 W

Audio Amp

As the zero doesn't have a sound card, you need some hardware to get sounds out. I settled on a combined DAC and Amp that could drive speakers directly: HiFiBerry MiniAmp

Speakers

These 3W speakers are awful, don't use them. I've ordered some Kenwood JVC CS J420X* instead as the case I'm planning to use was designed around them.

RFid Reader

RFID-RC522 (as I had one in my parts drawer)

RFID Tags

I'm going to try these stickers* as they're cheap and cheerful, but are as yet untested.

Buttons

These 12mm momentary push button switches* are again what the case I'm planning to print is based on. I think I'll only need 5.

Screen

1.3" I2C OLED 128x64* not necessary, but I'm going to give it a go.

Case

have a 3D printer so I'll start with this one by Doblist as it looks reminiscient of the TonieBox.

Power Supply

I'm currently using an official 2.5A 5V raspberry pi power supply, but this may change.

Power Bank

TBD.

On Off Switch

Pimoroni OnOff SHIM for Raspberry Pi I'm currently powering down by running sudo shutdown now over ssh and powering back up by unplugging the replugging the power cable. I'm hoping this shim will make it more convenient.

SD Card

I'm using a Sandisk Ultra micro SD Card* but any fast card with decent space should work. I've yet to test one larger than 32GB, but it should be fine.

Misc others

  • jumper cables
  • screws
  • SD Card adapter
  • USB cables

How to Assemble

ToDo: currently it's a mass of wires on my desk, but I have a working prototype. If you're not going to mount your miniamp directly onto the pi, this page is useful to know which pins are needed using jumper cables: [https://sites.google.com/site/cartwrightraspberrypiprojects/home/steps/hifiberry-miniamp] pi zero pinout

Software

Operating System

Phonie Box Project

ihttps://github.com/MiczFlor/RPi-Jukebox-RFID

How to Configure

RFID Reader

MiniAmp audio out

[https://www.hifiberry.com/docs/hardware/gpio-usage-of-hifiberry-boards/#:~:text=HiFiBerry%20MiniAmp,shuts%20down%20the%20power%20stage.] [https://www.hifiberry.com/docs/software/configuring-linux-3-18-x/] [MiczFlor/RPi-Jukebox-RFID#1073 (comment)]

Getting hold of Content

Music

YouTube to MP3

I've used 4K YouTube to MP3 to pull down some non copyrighted music from YouTube on windows. The starter plan is free and allows 15 downloads per day.

Streaming YouTube Music

This is currently not supported afaik, but this project and it's recent MRs suggest it could be:

Audio Books

Audible

Audible was the cheapest for the book I was trying to get, but they would not give me an MP3, only a DRM enabled AAC file. Pippi Longstockings * was £2.62 when I bought it. You can also get it for free if you start a free trial.

You can download the AAC from audible.co.uk.

Do not use OpenAudible to download the AAC as it corrupts the file's metadata making it unable to work with InAudible. They also played dirty by taking open source code and making a closed source for porfit tool using it. I don't like their tactics, including not making it obvious that you can't actually get mp3s without paying for the product, so I don't use it, but I believe it does work.

InAudible

To get around the audible DRM I use InAudible. It can take an audible AAC and, depending on your settings, can spit out and mp3 per chapter - nice.

How to Use

[http://192.168.86.29/index.php]

Useful Links

These are mostly other people's implementations, but I leaned heavily on them to build mine! [https://splittscheid.de/phoniebox-bauanleitung-toniebox-alternative/#5_3] [https://gt-blog.de/toniebox-hacking-how-to-get-started/]

About

My implementation of the PhonieBox project on raspberry pi nano

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors