USB audio DAC
 


 

USB audio DAC

 


I wanted to build high quality preamplifier with built-in DAC from SPDIF or USB for my power amplifier Leachamp. I had available circuit PCM2902. I tried to design DAC from USB with this circuit on one-sided PCB and I was succesful.


USB audio DAC

Circuit description

Schematics is from datasheet of PCM2902. Circuit includes DAC and ADC, SPDIF output and input and HID part with 3 buttons for MUTE, VOL+ and VOL-. I used only DAC part. Other parts are not used. For high quality playback is needed to use external low-drop voltage stabiliser for DAC part. I used LP2951CM which was available at local store. Output voltage is set to about 3.7V with two resistors. Circuit board is designed regarding to good ground placement and separating of analog and digital ground. These ground are connected in one point at USB connector.

Placement procedure

After drilling holes for crystal, output pads and USB connector I placed integrated circuit PCM2902, because I want space around him for soldering. I placed circuit at right place, soldered one pin on the side a next goes over all pins on second side and next same on first side. Almost all pins are now shorted. Now I take up tin with a solder wick. There must be enough flux on place for good disconnecting of shorted pins. After visual and electrical check we can make identical procedure with voltage stabiliser. Here is not too critical, because there are more space between pins. Next I placed SMD resistors, ceramic capacitors and LED. These parts I shoulder, that after placing on right place hold with nail, screwdriver or tweezer. One pin I solder with small amount of tin. If part still sits on right place, I solder second end and next I finally solder first end. Next I place tantal capacitors and crystal because they are big. On the end I solder USB connector. Circuit must work immediately after first connection to system a advertise like standard USB soundcard. For normal operating systems like Linux or Windows XP are not needed special drivers.

Printed circuit board

Circuit board is designed one-sided and everything beside crystal and USB connector are placed from the bottom side. Circuit board is available for free version of program Eagle, which can be free downloaded from their homepage.

External Low Pass Filter

Schematics of LPF In datasheet of PCM2902 is recommended to connect Low Pass Filter to output of DAC for filtering high frequencies above audioband which are produced by oversampling conversion. Integrated circuit includes digital LPF which filters frequency above 100kHz. In application notes for filter on the manufacturer pages are recommended 1st-Order LPF (simple RC) or 2nd-Order with operation amplifiers which works like preamplifier too. I used simple RC LPF with recommended values R 1k and C 4n7. It's better to use roll-type capacitor instead ceramic. I didn't hear difference in a sound between connection with filter or without it, but with respect to other components in a audio chain it is better to use it. For a higher cut-off frequency we can change value of capacitor to 3n3.

This DAC is relativelly simple for construction thanks to one-sided circuit board. Complementing is easy in amateurish conditions and his sound is very good with minimal interference. Sound is not crystally clean. Frequency band looks flat, but localization of individual instruments is a little worse. Maybe there can be enough to replace output electrolytic capacitors with roll-type, but this will require much space. I will try to build one more DAC without oversampling, if it will have sharper sound which I imagine for my amplifier.

Update August 6 2008

Schematics diagram and circuit board was updated due to possibility to have digital SPDIF output. Circuit will be used as USB-SPDIF converter and will be connected to external high quality DAC.


USB audio DAC


USB audio DAC


USB audio DAC

USB audio DAC




Accurate LC Meter Capacitance Inductance Meter with 16F628 and LCD
Volt Ampere Meter with 16F876 Microcontroller and LCD display
 
Accurate LC Meter

Build your own Accurate LC Meter (Capacitance Inductance Meter) and start making your own coils and inductors. This LC Meter allows to measure incredibly small inductances making it perfect tool for making all types of RF coils and inductors. LC Meter can measure inductances starting from 10nH - 1000nH, 1uH - 1000uH, 1mH - 100mH and capacitances from 0.1pF up to 900nF. The circuit includes an auto ranging as well as reset switch and produces very accurate and stable readings.
PIC Volt Ampere Meter

Volt Ampere Meter measures voltage of 0-70V or 0-500V with 100mV resolution and current consumption 0-10A or more with 10mA resolution. The meter is a perfect addition to any power supply, battery chargers and other electronic projects where voltage and current must be monitored. The meter uses PIC16F876A microcontroller with 16x2 backlighted LCD.

50MHz 60MHz Frequency Meter / Counter with 16F628 & LCD
1Hz - 2MHz XR2206 Function Generator
60MHz Frequency Meter / Counter

Frequency Meter / Counter measures frequency from 10Hz to 60MHz with 10Hz resolution. It is a very useful bench test equipment for testing and finding out the frequency of various devices with unknown frequency such as oscillators, radio receivers, transmitters, function generators, crystals, etc.
1Hz - 2MHz XR2206 Function Generator

1Hz - 2MHz XR2206 Function Generator produces high quality sine, square and triangle waveforms of high-stability and accuracy. The output waveforms can be both amplitude and frequency modulated. Output of 1Hz - 2MHz XR2206 Function Generator can be connected directly to 60MHz Counter for setting precise frequency output.

BA1404 HI-FI Stereo FM Transmitter
USB IO Board PIC18F2455 / PIC18F2550
BA1404 HI-FI Stereo FM Transmitter

Be "On Air" with your own radio station! BA1404 HI-FI Stereo FM Transmitter broadcasts high quality stereo signal in 88MHz - 108MHz FM band. It can be connected to any type of stereo audio source such as iPod, Computer, Laptop, CD Player, Walkman, Television, Satellite Receiver, Tape Deck or other stereo system to transmit stereo sound with excellent clarity throughout your home, office, yard or camp ground.
USB IO Board

USB IO Board is a tiny spectacular little development board / parallel port replacement featuring PIC18F2455/PIC18F2550 microcontroller. USB IO Board is compatible with Windows / Mac OSX / Linux computers. When attached to Windows IO board will show up as RS232 COM port. You can control 16 individual microcontroller I/O pins by sending simple serial commands. USB IO Board is self-powered by USB port and can provide up to 500mA for electronic projects. USB IO Board is breadboard compatible.

RF Remote Control 433MHz Four Channel
100m 4-Channel 433MHz Wireless RF Remote Control
 
200m 4-Channel 433MHz Wireless RF Remote Control

Having the ability to control various appliances inside or outside of your house wirelessly is a huge convenience, and can make your life much easier and fun. RF remote control provides long range of up to 200m / 650ft and can find many uses for controlling different devices, and it works even through the walls. You can control lights, fans, AC system, computer, printer, amplifier, robots, garage door, security systems, motor-driven curtains, motorized window blinds, door locks, sprinklers, motorized projection screens and anything else you can think of.
100m 4-Channel 433MHz Wireless RF Remote Control

Four button RF remote is used to turn ON / OFF four different devices independently. Any of the four outputs can be configured to work independently in either toggle or momentary mode. Outputs are buffered by BC549 NPN transistors and can drive low voltage devices directly or be connected to either 5V or 12V relays (or motors) to control appliances that use 110V / 220V mains voltage or any voltage of your choice. Multiple remote systems can be used independently to control more than four appliances in the same location by changing the address code on 433MHz receiver and remote. It is also possible to use several remotes to control the same appliance such as garage door.
 

Electronics-DIY.com © 2002-2014. All Rights Reserved.