USB Sound Card with PCM2902
This is USB sound card with PCM2902 chip. For the purpose of testing the D / A converters, I built a simple USB sound card with the circuit PCM2902. The card has analog input and output, an electrical S / PDIF output, galvanically separated input and optical input and output TOSLINK. The heart of USB sound card is PCM2902 it is a circuit connection, which is a complete USB codec. The circuit can handle up to 48kHz sampling frequency. The integrated circuit includes a USB controller for A / D and D / A converter, HID part for 3 buttons, volume control, custom converters and S / PDIF encoder and decoder.
Involvement is based on the recommended involvement of the data sheet. For a better quality analog output is used with an external voltage regulator circuit IC2. All supply voltages are blocked 1uF capacitors. The circuit is also connected to an optical transmitter and receiver TOTX173 TORX173. Electrical S / PDIF output is realized using an RS422 transmitter IC4. Since the transfer of commercial S / PDIF coaxial cable used with unbalanced 75 ohm impedance, so I used only one output and using the resistive divider R13/R14 I shrunk the output voltage and adjust the output impedance standard. Most of the shows the output voltage of 0.6V peak-peak. The output divider is a little more tension, but it should not matter. S / PDIF receiver also includes an RS422 driver involved in reverse this time as to TTL converter. Entry is zaterminován resistor R7, which can be placed before, or pulse transformer. I had a better experience with a resistor before the transformer. Pulses on an oscilloscope look better. The digital input is connected via switch electrical / optics. The circuit automatically switches from an analog to digital, if you will detect the presence of S / PDIF signal. Analog output does not contain any external amplifier so you can not connect directly to such low impedance headphones. Expected to connect to an amplifier.
There is no need for special drivers. I tried the full functionality in Linux, Windows XP, Windows 7 Drivers are included with the operating system. They work well as HID buttons, volume control and mute.
diagram format Eagle 5
We are placing PCB components from the smallest to largest. First I soldered circuit IC1, which is really quite small already. Circuit I snapped two corner pins mikropájkou. When I was sure that the circuit is properly positioned, so I nanesl on all pins liquid flux, which facilitates pouring tin and drove my soldering iron and tin cored first one side and then the other. Many outlets are fused together. Excess tin I was easily suctioned copper wick, which is sold for this purpose. Next I soldered the other circuits and I continued SMD resistors and capacitors. Then I placed a jumper wire, and all parts of the upper side and end connectors.
PCB is designed as a one-sided with two wire jumpers. This allows us to its easy production in amateur conditions. Its dimensions correspond to a plastic box U-KP35B. After assembly, I discovered that the switch inputs is connected backwards. Here is a link already repaired. SMD components have a size 1206 and are positioned so that the well-soldered.
PDF format Eagle5
Most of the parts I got in GM Electronic. USB connector GES Electronic and IC PCM2902 sell such as FK Technics. Pulse transformer I got on Ebay and specifically PE-65612th If we do not mind that the input is not isolated, it can be replaced by two 100nF capacitors.
List of components
designation value and type number
R1-R2 SMD1206 22R 2pcs
R3 1M SMD1206 1pc
R4, R9-R11 SMD1206 1K5 4pcs
R5 180km SMD1206 1pc
R6 91k SMD1206 1pc
R7 SMD1206 75R 1pc
R8 2R2 SMD1206 1pc
R12 SMD1206 8K2 1pc
R13 SMD1206 360R 1pc
R14 SMD1206 91R 1pc
R15 SMD1206 330R 1pc
C1-C8 1uF Ceramic SMD1206 8pcs
C9-C14 10uF/25V electrolyte SMD size B 6pcs
C15-C16 22pF Ceramic SMD1206 2pcs
C17 10nF Ceramic SMD1206 1pc
C18-C20 100nF Ceramic SMD1206 3pcs
IC1 PCM2902, PCM2902B 1pc
IC2 LP2951CM SMD SO-08 1pc
IC3-IC4 75176B SMD SO-08 2pcs
L1 47uH axial 1pc
LED1 2 mA LED green 1pc
OX1 TORX173 toshiba 1pc
OX2 TOTX173 toshiba 1pc
Q1 12MHz crystal mini 1pc
S1-S3 microswitch 6x6mm high 3pcs
S4 P-Switch KNX125 1pc
TR1 LL1572 or S22083, or PE-65612 1pc
X1 USB miniUSB socket PCB MBW 1pc
X2-X3 3.5 "jack EBS35 2pcs
X4-X5 RCA jack PCB TOBU3 2pcs
Krab1 Plastic Box U-23 mm x 54mm KP35B x 104 mm 1pc
Uvedené connection works reliably. Measured parameters approximately correspond to those in the data sheet. If you want to use just some of the inputs or outputs, it is not necessary to assemble all the connectors. In addition to the circuit PCM2902 are expensive optical transceivers and transformers. Wiring can be used as a second sound card, or as S / PDIF output to a stereo amplifier with digital input. The digital input can be used to connect other digital audio sources such as DAT, MiniDisc, CD player, etc. parameters measurement programs I conducted RightMark Audio Analyzer (RMAA) and Baudline. With RMAA for some reason, I reached under Windows 7 much worse than under Windows XP. Also there worked odd volume control. I also dealt with testing only under Linux.
USB Sound Card with PCM2902