loading
The purpose of the project was to create an external USB audio card, which could be able to:
1) serve as usual external USB audio card with headphone/line output and audio line input
2) can transmit the digital audio data at relatively long distance (20m -100m)
3) can receive and process the digital audio data send by the similar card and either transfer it through the USB to the PC, or convert it to analog audio signal
As long distance transfer media was chosen the POF.
A short explanation of the POF technology will be presented:

What is POF?
POF stands for plastic optical fiber with the term plastic being used a vulgarization for polymer materials.
The 1mm fiber diameter is about 500 times thicker than a glass optical fiber. 96% of the cores cross section conducts modulated light for data transmission similar to glass optical fiber applications. The maximal transmission distance amounts to about 100m without active repeaters. Polymer fibers are used for high speed data network in homes, commerce and industry as well as in cars and airplanes. POF is often regarded as an optical home network because POF is easy to install. The fiber is thin, can be shortened to the desired length by a sharp knife and requires no connectors on its ends. Anyone can set up a robust, high performance and Ethernet compatible network without any special tools.
The key advantages of POF networks are:
- No electromagnetic radiation
- Electrically isolated network
- Immunity against electromagnetic coupling
- No electromagnetic cross talk
- Flexible, reliable and maintenance-free
- Low weight
- Resistant to humidity, heat and vibration
- Visible light that is eye-safe

Target Markets and Applications
Residential Networks

POF is an excellent solution for multimedia and intelligent home networks. In particular, POF is suitable as network backbones to mutually interconnect TV, set top boxes, NetTV, gaming, PCs, network attached servers (NAS), internet and VoIP. Carrier Networks POF is an attractive solution for telecommunication companies, cable networks and infrastructure providers to offer a completely optical solution (Vertical installations GOF (glass optical fiber), Horizontal (floor level) POF). As an electrically non-conducting and against electromagnetic interference immune “cable”, POF is the only cost-effective solution that suits both to old and new buildings.
Enterprise Networks
POF is also a smart alternative to copper cabling in commercial environment. Compared to copper, POF has the following advantages: POF is thin and therefore easy to install and hide. POF is also easily extensible and upgradeable, robust, electrically non-conducting and reliable. Industrial Networks
POF already has a track record for connecting Ethernet-based industrial applications, such as control units within the manufacturing process, industrial control modules and links in the control room. POF is often the only affordable solution to meet the mechanical, electromagnetic and chemical challenge of an industrial environment in a spark-free manner. Car, Aircraft and Train Networks POF does away with the boundaries of today's copper cables in mobile applications by its unique advantages such as like low weight, requires least space, immunity against vibration and humidity.

Further information about the POF and some high speed solution can be found here:
http://www.innodul.com

Step 1:

As data transfer protocol was decided to be used the S/PDIF standard.

An internet research for audio codec suitable for the realization of the project showed, that the best solution would be the Texas Instruments (Burr-Brown) chip PCM2906.
Here can be seen the chip information: http://www.ti.com/product/pcm2906c
For the POF transmitter/receiver part was used the Firecomms Optolock FC3000T. It includes the transmitting LED and the receiving PIN photodiode in one package. More information about the device can be found under the link: http://www.firecomms.com/ . The used Optolock is analog. Under desire a different type can be used (there are some which contain the receiver part embedded inside the same package), but the schematic and the PCB of the current implementation must be changed according the new requirements (in some cases differential to single ended conversion must be done).

The opamps and the linear regulator used are also products of Texas instruments. (For the audio amplifiers better to use OPA2353UA instead OPA2340UA as given in the Eagle files)
The micro switch comes from http://www.te.com . The electrolyte capacitors are tantalum. The resistors metal film devices.
The Schottky diode requirements are:  VF ≤ 350 mV at 10 mA, IR ≤ 2 μA at 4 V. I have used BAT43.

The audio jacks are from the type MJ-352WO (MJ-352). Can be ordered at http://www.farnell.com – article # 1267400.

For the project can be used 12MHz quartz crystal, different from the one I used (NMP120 from Saronix), but the oscillator capacitors must be used according its datasheet.

The project was developed by the use of the CadSoft Freeware software Eagle Light edition.
It can be downloaded here: http://www.cadsoftusa.com/download-eagle/freeware/?language=en

The schematics and the PCB views are presented on the pictures.

Step 2:

As download are available also the Eagle files. You are free to use them for your designs and PCB orders. The size of the PCB is almost exactly half euro-board. In this way you can order two PCB-s at once.
The boards were produced by the Olimex. http://www.olimex.com/   - both PCB-s with double sided metal layers cost ~ 50 USD and the quality is very good. (Abrasive disk cutting recommended).

The parts list (BOM) can be extracted from the Eagle database.

The PCB –s are designed for SMD devices. How to solder such kind of devices can be learned in internet. In the instructables.com also exist a lot of instructables explaining this.  Even for experienced technicians will be a challenge to solder some of these devices, because they have very small pin pitch. It can be seen on the pictures, than on the one PCB I have put through hole capacitors. If you can not find the SMD ones, you can also use this approach. Another suggestion – years ago was recommended that that the chips must be soldered last on PCB to prevent their damaging. Opposite to this, I will advice to solder first the codec chip, and after that the periphery devices. In this way the free access to all pins of the chip by the soldering iron is not disturbed. Of course all soldering requirements concerning the ESD rules must be considered.

Step 3:

The project can be accomplished in few different forms:
1) Only USB audio card with audio output – the POF transmitter/receiver part  and audio input amplifier will be not mounted
2) USB audio card with line input  (presented on the picture – the red line shows the border of the populated PCB area)
3) USB audio card with POF transmitter
4) USB audio card with POF transmitter and receiver

The picture shows the implementation for the phase 1) and 2) - Only USB audio card without any optical interface

Step 4:

To be able to transmit the digital audio data at long distance at least two separate boards must be produced (at least one of them in a form 4, the other can be in form 3). For test purpose a single board in loop configuration can be used (only one wire of the POF cable inserted in the Optolock as single loop) , but to prevent the confusion inside the codec the S/PDIF input line must be interrupted, or the threshold voltage of the S/PDIF receiver comparator must be tuned to be close to the supply potential by the trimmer potentiometer.

If right mounted and soldered the USB card is automatically recognized by Windows and no driver installation is needed. For Windows 7 and upper a PCM2906c version must be used. For Windows XP PCM2906b shall work fine too. Also under Linux the card shall be usable.

The sound quality is incredible.

Step 5:

A bord accomplished at stage 3) is shown on the next pictures.

Using the microswitch the S/PDIF data transmisson can be enabled/disabled. At the end of the POF cable is seen the modulated red light. (Not dangerous for the eyes)

Step 6:

A board assembled in form 4 is presented on the pictures. It was connected in loop configuration - it optical transmitter was connected to its own optical receiver.
The wave scope diagrams of the POF S/PDIF receiver are shown on the pictures below.
Different tests with different POF cable length were done.
To achieve the optimal results the value of R32* can be changed for different POF cable lenghts.

Step 7:

An experiments with POF cable over 200m were done, but the signal was very week to be recognised as S/PDIF standard.

Step 8:

Finally two fully assembled boards were connected together through POF cable ~ 20m.
The scope  wave  diagrams of the POF S/PDIF show the signal form at the PCM2906 SPDIF Dout pin (the green trace) and the signal at the otput of the optical receiver comparator (Din of PCM2906 - second board).

The only adjustment needed at different POF cable lengths is the threshold voltage of the POF receiver comparator. To have this threshold fine adjusted an oscilloscope is needed.

Of course different type of opamps for the optical receiver can be used also - I will recommend to use JFET input OPAMPS (they have low input capacitance) with high BW (over 100MHz) and high SR. If single OPAMP used , the schematics/PCB must be changed and additional fast comparator must be added.
Ya think the cable you used would be capable of transmitting fair amounts of light for ambient lighting. For instance, high output leds for walkways, stairways, and small accent lights. <br> <br>rudi138
This is very well done. Do you have an application in mind for this technology?
Dear Randofo, <br> <br>I wanted to try the capabilities of the POF to transfer digital data under S/PDIF standart at long distance. The advantage is: <br>1) no radio emission <br>2) the technology can be used for concerts, where a lot of cables must be installed, the sound boxes are placed at long distance between themselves. <br>3)it is very easy to check the presence of the signal - if the red light exist - the data is there <br>4)very robust agains water, heat, gases, IMI, EMP.... <br> <br>More advanced way to transfer data (also multimedia) is the POF LAN techznology. In this time using POF a digital stream can be transferred with 200MB/s speed. That is enough for HD tv signal with the corresponding high quality sound. Soon LAN adapters with 1GB/s will be available on the market. <br>You can visit the site http://www.innodul.com , where you can find additional information about this technology.
Nice application ideas. If you start a company supplying for these gigs, show me where I can buy stock. I'll start a company with you. :) Nice Job, Good Luck!
Hi Tspherix, <br> <br>The design is &quot;Open source&quot;. <br>All the files needed are available. If you have an idea to start the company - good luck too. <br> <br>Regards <br>Milen
Thanks for the info. The innodul website currently lists products up to 200 Mbps though. That's megabits not megabytes.
Thanks for sharing this. I too used Olimex for PCBs many times, but I found that the Chinese companies Seeed Studio and Itead are better value and better quality...
Nice instructable over all. I think you could go into a bit more detail on what is doing what in the schematic. Break down the subunits and explain them in a bit more detail. No need to focus on what isn't important to the topic at hand, mainly just explain the purpose of the parts that go into SPDIF optical portion. For example, explain how (and why) one needs an optical tx and rx (and what those terms mean). I always find it best to assume the person knows nothing. Also, another (albeit more general) term for this device is a USB DAC, this is what it is commonly known as in many of the &quot;audiophile&quot; circles. <br> <br>Lasltly, as a chemist I have to call you out on one thing. :) The term plastics isn't a vulgarization. Plastics are any organic material which can be molded, formed, etc. Truthfully, there is a lot of overlap between plastics and polymers. The difference is that while most plastics have polymers as their main component; most plastics are not pure materials. They often incorporate things such as plasticizers and fillers. This is because many polymeric components are unworkable in their native state or possess attributes that are not beneficial to their intended purpose. For example, PVC is too rigid to be moldable.So often times phthalates are added to make it more workable. Additionally, there are many polymers which are completely useless as a plastic because they are liquids. So the term plastic is completely correct in this case because it is a ductile solid organic polymer (whether it has plasticizers or not, which it likely does). <br> <br>Cheers and thanks for introducing people to build your own USB audio devices.
Hi PedroDaGr8, <br> <br>You are right. May be more detailed explanation of the schematics will be usefull, but I decided to present the project in this way, because: <br>1) For not expirienced people, which want only to assemble a high quality USB audio card without optical interface, is enouugh to have the PCB and the BOM list. After proper soldering - the card start to work immediately. <br>2)For the people, more interested in the principle of work - I left the door open - let's them try to find by themselves what is what, and how it works. The information about the circuits can be found in the internet : <br>Texas Instruments site, Wikipedia (What is S/PDIF, implementations...etc.). <br>The POF applications : www.innodul.com,Wikipedia..etc. <br> <br>All the circuits used are connected in their basic operation schematics, which can be found in their datasheets. <br>The optical receiver is unique device produced by firecomms - in their site a lot of information can be found about the POF technology. <br> <br>I am tracting the visitor of instructables.com as high inteligent, and I do not want to bore them with standard schematics explanation. <br> <br>Regards <br>Milen
this is awesome!

About This Instructable

28,706views

88favorites

Bio: Thank you all for following me.
More by Milen:Party stroboscope done by recycled parts Arduino controlled power supply source Arduino Nano to Arduino Uno adapter 
Add instructable to: