Go Back   Home > Forums > >

PC Based Computer music servers, crossovers, and equalization

Combining Raspberry Pi with audio CD drive
Combining Raspberry Pi with audio CD drive
Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools
Old 6th September 2020, 01:22 PM   #1
EdwinKiel is offline EdwinKiel
diyAudio Member
 
Join Date: Sep 2020
Default Combining Raspberry Pi with audio CD drive

Hi,


I'm building digital music players based on the Raspberry Pi for retrofitting audio equipment (internet radio capability, streaming music from the NAS, better GUI, more functionality). I'm already able to play Audio CDs with a standard USB CD-drive (using VLC) but the startup is slow (detecting the type of CD), the speed too high (can be reduced by using Setcd), in the end it's not playing a good old audio CD.


Now I would like to combine the Raspberry Pi with a CD mechanism. I already learned that the mechanics with laser pickup and the two motors for spindle and rotation are available as spare parts. Whats missing is a control board with the interfaces to the CD mechanics (laser pickup + the motors) and to the Raspberry PI (I2S digital audio signal and control interface with SPI or I2C).


I already found an IC (Onsemi LC78615E) which integrates this functionality. But I didn't found a ready PCB either for this chip or something similar.


My questions:
  • has anyone experience with this topic (interfacing Raspberry PI with I2C and SPI/I2C with a conventional CD mechanics)
  • are there PCBs available?
Would really be great if I can get some information here.


Edwin
  Reply With Quote
Old 6th September 2020, 01:36 PM   #2
edbarx is offline edbarx  Europe
diyAudio Member
 
edbarx's Avatar
 
Join Date: May 2018
Location: Maltese Archipelago
A USB stick and an .iso image of audio CDs is enough. You can instruct the Pi, Linux, to play the .iso file directly. There is no need to use any laser and mechanics to play CDs.

In VLC click Media --> Open Media --> Audio CD --> type path to .iso file.

OR:

Drag the .iso file into VLC's window.
__________________
Any fool can make things bigger, more complex, and more violent. It takes a touch of a genius, and a lot of courage, to move in the opposite direction. [Albert Einstein]
  Reply With Quote
Old 6th September 2020, 01:45 PM   #3
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
USB CD/DVD drives are readily available, easy to use with RPi.
  Reply With Quote
Old 6th September 2020, 05:05 PM   #4
EdwinKiel is offline EdwinKiel
diyAudio Member
 
Join Date: Sep 2020
I know that using a USB CD drive works, I have this already in use.


My question is for retrofitting existing housings with classic audio CD drive mechanics. For this I'm looking for a solution (and I think it's an interesting project). Therefore my question for a solution not that easy. Maybe someone has an idea.


Edwin
  Reply With Quote
Old 6th September 2020, 06:14 PM   #5
edbarx is offline edbarx  Europe
diyAudio Member
 
edbarx's Avatar
 
Join Date: May 2018
Location: Maltese Archipelago
The thing is you do not actually need a CD ROM/Writer. You can still play CD audio tracks by copying their iso to a thumb drive. It is easier, more convenient and you will have more than one iso per thumb drive. That will give you more freedom for playback.

Use the advantages of the Pi having an operating system running instead of some minimal firmware as used to be the case with CD players. An operating system is much more flexible and much more powerful. Use its power.
__________________
Any fool can make things bigger, more complex, and more violent. It takes a touch of a genius, and a lot of courage, to move in the opposite direction. [Albert Einstein]
  Reply With Quote
Old 7th September 2020, 03:31 PM   #6
phofman is offline phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
Quote:
Originally Posted by EdwinKiel View Post

My question is for retrofitting existing housings with classic audio CD drive mechanics. For this I'm looking for a solution (and I think it's an interesting project). Therefore my question for a solution not that easy. Maybe someone has an idea.
An existing housing will most likely have existing buttons and an existing display (VFD), it is not just about controlling the CD drive. RPi can certainly be programmed to control all of that, with considerable effort. The question is can you do it and are the countless hours of work worth the result to you?
  Reply With Quote
Old 7th September 2020, 03:42 PM   #7
Sangram is offline Sangram  India
diyAudio Moderator
 
Sangram's Avatar
 
Join Date: Sep 2002
Location: India
Combining Raspberry Pi with audio CD drive
You could try asking on the Archlinux forums, but I think it sounds like a project that needs to be designed from the ground up. The motor control interfaces and logic need to be programmed from scratch, as well as things like muting, de-emphasis and software/hardware control of the D/A converters need to be set up. Then there's display and wiring of external buttons. This is only the logic bit, there will be hardware required to interface the CD mechanism with the Pi.

I'm sure it's possible, but I'm sure you'll be on your own on this. The closest I could find is this, but even that uses USB:

DIY: Roon CD Player/Ripper - Tinkering - Roon Labs Community
  Reply With Quote
Old 7th September 2020, 03:52 PM   #8
edbarx is offline edbarx  Europe
diyAudio Member
 
edbarx's Avatar
 
Join Date: May 2018
Location: Maltese Archipelago
I am all for simple and efficient solutions. The Pi is capable of Linux which gives you the power to play ISOs directly without needing other unnecessary expenses. A USB drive, a hard disk or a flash drive is all you need. What you need is to create ISO images for any CDs you may wish to play.

My advice is to forgo unnecessary complications. Yes, when one succeeds, they may be seen by some as an ego boost, but many others see such successes, as a failure to realise and choose simpler solutions.
__________________
Any fool can make things bigger, more complex, and more violent. It takes a touch of a genius, and a lot of courage, to move in the opposite direction. [Albert Einstein]
  Reply With Quote
Old 7th September 2020, 07:07 PM   #9
EdwinKiel is offline EdwinKiel
diyAudio Member
 
Join Date: Sep 2020
Hi,

since some of you are trying to discourage me, I would like to explain my background:

It started almost 2 years ago with a Raspberry Pi, a Hifiberry AMP and a LCD display. I wanted to put this into one housing to create a device, that is capable of playing all music I collected over the years (vinyl, Audio CDs, ripped and downloaded MP3s on my NAS, internet radio, streaming from my iPhone). I before used a Denon network reveiver, but was disappointed from the functionality and user interface and thus sold it at Ebay.

I started with Volumio, but the extensions were not that stable and limited (especially the display is fixed and Webbrowser based), thus I started my first Python project. Now I have:
  • 4 running devices (one on my desk in my home office, one in the living room connected to the Yamaha audio receiver and Linn speakers, one in my bedroom as wake up radio by playing radio and controlling a WLAN lamp, one mobile in the housing of a bluetooth speaker), 2 additional ones in experimental status
  • software based on Raspbian, Python, mpd, vlc (for playing from USB-based CD drive), pygame, musicbrainzngs (for getting cover and track information, even from an audio cd via discid), shairport-sync, connection to my home automation system to display mainly the outside temperature, IP phone for my desk
  • I'm using 4 different LCD displays from 160*128 to 800*480 pixels, mainly SPI interface
  • input by buttons, touchpad, encoder, IR receiver and Webinterface (from iPhone, iPad and PC)
  • one software, configuration for the different devices by a json setup file (including defining display elements)
In total I desiged two PCBs for mounting the buttons and the LCD. The total software is currently 16.000 lines of code, mainly Python, JSON configuration, a little bit js.

Overall I was very much surprised what's all available and possible with quite reasonable effort, in the end this was hobby work beside my full-time engineering job (and family life of course). In the end you can find for every task anything useable, sometimes with some shortcomings, but overall quite successful.

Based on this I would like to add a conventional audio CD interface, this is the background of my question. Maybe someone has an idea what is available.

Edwin
  Reply With Quote
Old 7th September 2020, 09:03 PM   #10
Greg Erskine is offline Greg Erskine  Australia
piCorePlayer
diyAudio Member
 
Join Date: Jan 2002
Location: Sydney/Australia
Combining Raspberry Pi with audio CD drive
Cool system Edwin.

It's a shame we don't have you adding your development to the Logitech's Squeezebox environment.
__________________
Greg Erskine
  Reply With Quote

Reply


Combining Raspberry Pi with audio CD driveHide this!Advertise here!
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Drive NOS PCM63 with I2S from Raspberry pi Nopdon Digital Line Level 1 1st April 2017 12:38 PM
Combining Audio without bleeding over amereservant Construction Tips 13 10th February 2014 09:19 AM
combining 2 or more audio signals? r-wu Analogue Source 6 7th May 2003 10:10 PM


New To Site? Need Help?

All times are GMT. The time now is 12:32 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Copyright ©1999-2021 diyAudio
Wiki