Serial Communication with TOSLINK - diyAudio
Go Back   Home > Forums > Source & Line > Digital Line Level
Home Forums Rules Articles diyAudio Store Gallery Wiki Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Line Level DACs, Digital Crossovers, Equalizers, 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
Thread Tools Search this Thread
Old 2nd March 2012, 04:24 AM   #1
diyAudio Member
Join Date: Jan 2012
Default Serial Communication with TOSLINK

Hi All.

I am trying to send Serial Data from Microcontroller to my PC over Optical.
I have connected:


The MCU sending "Hello" every 1 sec interval (with 115200 Baud)... but at receiving End (at PC), I am not getting actual data. I am getting some ERROR (Garbage) Data every 1 sec Interval. I have directly connected the TOTX and TORX with MCU UART PIN's. Do I need to use additional any circuit (Like Pull-Up or Logic Level Converter) to receive Actual data?

Thanks for reading. Awaiting for your suggestion.

  Reply With Quote
Old 2nd March 2012, 05:34 AM   #2
Electrons are yellow and more is better!
diyAudio Member
peranders's Avatar
Join Date: Apr 2002
Location: Göteborg, Sweden
Blog Entries: 4
Don't you have a SPDIF decoder in the PC end?
/Per-Anders (my first name) or P-A as my friends call me
PA03 LM4780 amplifier group buy, SIGN UP HERE for the group buy 0 boards left. 118 paid.
  Reply With Quote
Old 2nd March 2012, 06:03 AM   #3
diyAudio Member
Join Date: Jan 2012
Hi thanks for reply.

No, I don't have any decoder. I have connected TORX with my PC COM port through MAX232 circuit.

Should it work?

  Reply With Quote
Old 2nd March 2012, 06:30 AM   #4
diyAudio Member
Join Date: Jan 2012
Extremely sorry. I told u wrong connection. My connection is like below:

TORX147 VOUT --- PC COM Port (through MAX232 circuit)

  Reply With Quote


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
DIY wireless communication BlueSkyGuy Everything Else 8 3rd October 2011 04:20 PM
Underwater Communication mavrik2k Class D 1 20th July 2011 12:34 PM
Manual I2C communication btw PIC12F683 & TDA7316 Mr Zhan Digital Source 0 8th August 2005 06:13 AM
The National Vintage Communication Fair dhaen Tubes / Valves 1 28th April 2003 09:28 AM

New To Site? Need Help?

All times are GMT. The time now is 03:14 PM.

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

Content Relevant URLs by vBSEO 3.3.2