cdpro2 using pic18f452 for control - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

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 Search this Thread
Old 13th October 2003, 06:41 PM   #1
BrianGT is offline BrianGT  United States
diyAudio Moderator Emeritus
 
BrianGT's Avatar
 
Join Date: Jan 2002
Location: near Atlanta, GA
Send a message via AIM to BrianGT
Default cdpro2 using pic18f452 for control

Managed to get the cdpro2 module working with a PIC18F452, and playing music with the built-in dac today. Next up is to get the pcb made for this project. I will be using the pcm1792/4 along with the ad1896a. I am prototyping it now.

Overview of testing setup:

--
Brian
Attached Images
File Type: jpg cdpro2-01-overview.jpg (71.2 KB, 2118 views)
  Reply With Quote
Old 13th October 2003, 06:42 PM   #2
BrianGT is offline BrianGT  United States
diyAudio Moderator Emeritus
 
BrianGT's Avatar
 
Join Date: Jan 2002
Location: near Atlanta, GA
Send a message via AIM to BrianGT
closeup. Power supply on the left, regulating both 5v and 9v for the transport. Below the regulators is an inverting opamp with a little bit of gain to get some music playing out of the speakers.

--
Brian
Attached Images
File Type: jpg cdpro2-02.jpg (73.5 KB, 2014 views)
  Reply With Quote
Old 13th October 2003, 06:46 PM   #3
BrianGT is offline BrianGT  United States
diyAudio Moderator Emeritus
 
BrianGT's Avatar
 
Join Date: Jan 2002
Location: near Atlanta, GA
Send a message via AIM to BrianGT
Here is a closeup of the lcd that I am using, an Optrex 20x2 blue C505 one, identical to the ones used in the Apox kits.

--
Brian
Attached Images
File Type: jpg cdpro2-03-lcd.jpg (43.0 KB, 1984 views)
  Reply With Quote
Old 13th October 2003, 06:46 PM   #4
jleaman is offline jleaman  Belgium
Banned
 
Join Date: Apr 2002
Send a message via AIM to jleaman
looks good. how does it sound so far just as all stock stuff?
  Reply With Quote
Old 13th October 2003, 06:47 PM   #5
BrianGT is offline BrianGT  United States
diyAudio Moderator Emeritus
 
BrianGT's Avatar
 
Join Date: Jan 2002
Location: near Atlanta, GA
Send a message via AIM to BrianGT
Here is a closeup of the transport, showing the power going in from the regulators, and then the audio coming out from the built-in dac on the other side. Once I get the prototype dac finished, I will use the i2s interface instead.

--
Brian
Attached Images
File Type: jpg cdpro2-04-power_in.jpg (63.0 KB, 1919 views)
  Reply With Quote
Old 13th October 2003, 06:51 PM   #6
BrianGT is offline BrianGT  United States
diyAudio Moderator Emeritus
 
BrianGT's Avatar
 
Join Date: Jan 2002
Location: near Atlanta, GA
Send a message via AIM to BrianGT
Current regulators used, both LM317T adjustable (had them on hand). They are being fed a couple of volts above what the are regulating to, so they are running nice and cool. I haven't decided what to use for the regulation on the final prototype, but this is working fine now. Any suggestions for the power supply for +5 and +9?

--
Brian
Attached Images
File Type: jpg cdpro2-05-regs.jpg (67.0 KB, 1846 views)
  Reply With Quote
Old 13th October 2003, 06:53 PM   #7
BrianGT is offline BrianGT  United States
diyAudio Moderator Emeritus
 
BrianGT's Avatar
 
Join Date: Jan 2002
Location: near Atlanta, GA
Send a message via AIM to BrianGT
Here is a picture of the PIC microcontroller board that I am currently using. It utilizes the PIC18F452, and I added 5 buttons for testing for now (will show other buttons later). They are all tied into a single ADC pin on the PIC, so they can be extended to a lot more buttons easily, while still taking one pin.

--
Brian
Attached Images
File Type: jpg cdpro2-06-pic18f452.jpg (74.2 KB, 1812 views)
  Reply With Quote
Old 13th October 2003, 06:58 PM   #8
BrianGT is offline BrianGT  United States
diyAudio Moderator Emeritus
 
BrianGT's Avatar
 
Join Date: Jan 2002
Location: near Atlanta, GA
Send a message via AIM to BrianGT
Quote:
Originally posted by JasonL
looks good. how does it sound so far just as all stock stuff?
heh.. I haven't gotten to the point of listening to it in a detailed manner. If you look at the first picture, you will see one of the 2 speakers used for listening to it... they are cheap speakers the I cut up to wire into my opamp output stage. I don't expect much from the built-in dac, since I am using an external dac, fed by i2s from the transport. Now, it plays music, and the control buttons work, allowing you to pause, stop, play, and change tracks. The lcd displays the current time and track correctly.

I expect it to be a while until I can listen to it in a final prototype form. For the dac now, I am just verifying that it works as wired on a protoboard. I won't give it a detailed listening until I get the pcb done.

Here are the chips that I have been playing around with for the dac, I think that I have settled on the pcm1792, along with the AD1896a for now. I probably will switch to the TI SRC4192 once I am able to obtain some of them. I should be posting details on the digital side of the dac once I finish getting the schematic worked out.

--
Brian
Attached Images
File Type: jpg cdpro2-09-dac_chips.jpg (75.7 KB, 1830 views)
  Reply With Quote
Old 13th October 2003, 07:06 PM   #9
jleaman is offline jleaman  Belgium
Banned
 
Join Date: Apr 2002
Send a message via AIM to jleaman
every picture you put on i grab and put up on my gallery page : O )

Got more..

ill give you access to my gallery to put some more or LOTS more up on.
  Reply With Quote
Old 13th October 2003, 07:06 PM   #10
BrianGT is offline BrianGT  United States
diyAudio Moderator Emeritus
 
BrianGT's Avatar
 
Join Date: Jan 2002
Location: near Atlanta, GA
Send a message via AIM to BrianGT
Here is what I am going to use for the buttons (I will have them set into my aluminum front panel. I think that they will work fine for now. I haven't been able to find anything else that I like. I just have the bottom 9 buttons wired up now, and haven't decided if I want the "direct access" buttons on the transport.

They are taken from an old Luxman D-112 player.

--
Brian
Attached Images
File Type: jpg cdpro2-07-front_buttons.jpg (59.9 KB, 1756 views)
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to program a PIC18F452 in circuit 12 Cents Digital Source 0 13th August 2006 11:32 AM
DSA protocol for CDPRO2 billr Digital Source 3 4th April 2005 09:17 AM
philips CDPRO2 Joules Digital Source 4 12th January 2005 08:06 PM
CDPRO2- do you just add PS? lgreen Digital Source 7 24th February 2004 09:48 AM
EIJ on CDPRO2 DonJuan Digital Source 8 17th February 2004 04:09 AM


New To Site? Need Help?

All times are GMT. The time now is 07:23 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2