My latest project - DAC + headphone amp

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
AVR Programming

gmarsh,

I got myself an AVR ISP MKII programmer, and have downloaded the ATMEGA8L datasheet and ATMEL Pers Comp Program, but I am very new to this........are there some helpful hints as to what programming is required, or some specific code you can provide?

Any further help would be greatly appreciated.

I know we don't even have boards yet, but I'm getting ready!

Robert
 
Re: AVR Programming

rjkdivin said:
gmarsh,

I got myself an AVR ISP MKII programmer, and have downloaded the ATMEGA8L datasheet and ATMEL Pers Comp Program, but I am very new to this........are there some helpful hints as to what programming is required, or some specific code you can provide?

Any further help would be greatly appreciated.

I know we don't even have boards yet, but I'm getting ready!

Robert
Attached is the most recent Mega8L code for the DAC - .hex file ready to program, C source file and makefile. It's the same as the previous code except L/R aren't swapped anymore. :D

To recompile, you'll need WinAVR - http://winavr.sourceforge.net/

Set the Mega8L fuses/flags for a 4MHz IntRC oscillator when you program.

(edit: file is actually attached now)
 

Attachments

  • hpa-avr-code.zip
    3.9 KB · Views: 357
hey guys,

sorry about not getting back to you for the group buy. I've been too busy lately with my last exams and preparations for my final thesis.

Unfortunately my studies take up so much of my time I have to pull out. That, and the fact that i'm *totally* broke (which is normal for a student, i suppose). Sorry 'bout that.

I wish all of you good luck building & listening! Maybe if there's going be a second run i'll step in again. I've been dying for a good headphone amp. I'll have to do with the good 'ol m-audio audiophile usb for now. Good thing foobar finally has a decent asio output plugin.

Matt
 
Hi,

I am new here and came across this project thread while searching for a nice headphone amp with digital in. This is exactly what I was looking for. Thanks to gmarsh for sharing this great project with the general public. This is awsome.

So I guess I missed the boat for a PCB, if someone still has an extra one I like to buy it. Or if another group buy comes up, please count me in for a PCB.

Cheers

Kay
 
Hi,

I was wondering if there would be any interest to a slight modification/addition. I really
like to have an optical output so this unit could be looped through an optical path.

I hope one can get away without having to buffer the output of the optical RX for the
TX. The optical TX and support caps could be omitted and not be populated if one
would not want this option.


I checked into a GB with PCB Pool, as per there online quote 10 pcs.
4 layer 160 x 100 mm board would be about $ 220 US

Please see picture.


An externally hosted image should be here but it was not working when we last tested it.
 
Posted again, with changes I propose.


Changes summary:

- added option for Optical Out with Buffer IC and decoupling Caps.
- moved power configuration to make room for it
- moved fuse holder slighly
- moved Regulator components IC U11, C47, C22 to get clearance for installation in case
- repositioned Crystal and C34
- added option for LED1, R33 (I like to see if the unit is powered)
- put a trace underneath the D/A chip, 0 Ohm R28 can be omitted then
- and changed Label to HD-1.1 to up-rev it.

These proposed changes are of course open for discussion.

I hope the option for the optical out finds interest.


An externally hosted image should be here but it was not working when we last tested it.
 
Hi gmarsh. I'm in the process of updating with the current prices and completing the parts list. So far I have a few questions:

The processor is not available:ATMEGA8L-8AI, Part OBSOLETE
can you suggest a compatible replacement?

I cannot see these parts:
MLCC, 2.2uF, 25V, X5R, 0805, cannot see them on the schematic
C1: 0.022uF, not in the part list
C2: 1000pf, not in the part list

Thanks in advance.
 
Line Output option

Just asking if this circuit can do the trick. I'm not asking to have this inlcuded on the PCB, but I may try to had by myself a small home made SMD pcb with these parts, mounted on the back of the PCB. I tried to used as many standard parts as possible (same parts used on the stock PCB).

Let me know if the circuit can work and if my parts values make sense. Just one channel is shown.

Thanks in advance..

SB
 

Attachments

  • line output_ver 1.0.jpg
    line output_ver 1.0.jpg
    27.1 KB · Views: 1,338
ATmega8L obsolete

ATmega88 is not assigned to replace ATmega8 (Atmel say), but is pin compatible and have large Ucc capabilities (you don't need 'L' voltage versions like ATmega8L). I have built (in another DAC construction, just for test) with ATmega88 and work fine. But take care - ATmega88 hat a lot of differences in registry names and IN/OUT instructions.
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.