Login | Register
The Engineer's Place for News and Discussion®

Previous in Forum: Digitize Video?   Next in Forum: How To Use Cricket
Close

Comments Format:






Close

Subscribe to Discussion:

CR4 allows you to "subscribe" to a discussion
so that you can be notified of new comments to
the discussion via email.

Close

Rating Vote:







17 comments
Active Contributor

Join Date: Jan 2012
Posts: 23

Serial Communication Laser

06/14/2012 6:26 AM

I tried to send data between 2 PCs using laser as the medium. For that I used RS-232 and then max232 IC for voltage level conversion and ran a program using matlab? I took the output 4rm max232 and connected it to my laser medium. First I sent a binary data 1010 from my PC to another PC but I didn't get any output? What could be the problem?

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Comments rated to be Good Answers:

These comments received enough positive ratings to make them "good answers".

Comments rated to be "almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, rate them!
4
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 15258
Good Answers: 498
#1

Re: Serial Communication

06/14/2012 6:53 AM

You need to hook a scope onto the transmitting led and receiver to see if the data is actually being transmitted and received.
Start at the begining and work through, same as any fault finding process.
Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply Good Answer (Score 4)
Guru
Engineering Fields - Electrical Engineering - New Member Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 7066
Good Answers: 470
#3
In reply to #1

Re: Serial Communication

06/14/2012 11:47 AM

Exactly. GA

At any point in either signal chains (A→B & A←B) the data can be lost. An additional complication with RS232 though is that one may also have handshaking communication in either direction not happening that is preventing signals from being generated. Software handshaking is great at validating sound communication but it can make hardware troubleshooting awkward.

__________________
"A good scientist is a person with original ideas. A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering." Freeman Dyson
Register to Reply
Power-User

Join Date: Aug 2010
Location: Omni-present via the internet!
Posts: 122
#2

Re: Serial Communication

06/14/2012 7:05 AM

How is he receiver end. Is the out output into MATLAB also?

__________________
Never stop asking questions.
Register to Reply
Active Contributor

Join Date: Jan 2012
Posts: 23
#7
In reply to #2

Re: Serial Communication

06/15/2012 2:42 AM

yes

Register to Reply
Power-User

Join Date: May 2008
Posts: 197
Good Answers: 6
#4

Re: Serial Communication Laser

06/15/2012 12:55 AM

You say you are using a Laser...exactly what are you using? Are you also using fiber optic cable to transmit/receive? If so what fiber are you using? Singlemode/multimode? What distance? What is the wavelength of the Laser? Is the responsivity of the receiver device Ok for the Laser you are using? If you are sure that the signal going into the Laser is good, you will need an optical to electrical converter connected to your oscilloscope to see what type of signal you are receiving. What are you using for the receiver part of the circuit? I can give you a hint that you will require a pre-amp, amp, and comparator (yes, in those stages) to get a good enough signal to convert back to RS232. (yes I designed one such modem for a company I work for...but can't give intellectual property (ie circuit)...only 'hints'. It's about the size to fit into ones hand and plug directly to the PC port).

Register to Reply Score 1 for Good Answer
Active Contributor

Join Date: Jan 2012
Posts: 23
#11
In reply to #4

Re: Serial Communication Laser

06/15/2012 9:57 AM

sir, if i am using this circuit for both transmitter and receiver , and i am connecting a laser torch to the laser output then, what must be the power of laser torch that i can connect? if i connect a 1mwatt laser,will i get any output? what about a 5mwatt torch?

Register to Reply
Guru
Engineering Fields - Electrical Engineering - New Member Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 7066
Good Answers: 470
#12
In reply to #11

Re: Serial Communication Laser

06/15/2012 10:13 AM

You do not have enough power to drive an X-ray laser with this circuitry. This circuit is not suitable to drive any of the excimer lasers. You obviously can drive some lasers with this circuit. This circuit though is not a duplex circuit. This circuit is only a transmitter.

__________________
"A good scientist is a person with original ideas. A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering." Freeman Dyson
Register to Reply
Guru

Join Date: Dec 2005
Location: Etats Unis
Posts: 1840
Good Answers: 44
#13
In reply to #11

Re: Serial Communication Laser

06/16/2012 1:37 AM

There is so much wrong here as to defy the point of making any helpful comment since what is indicated is that there is such a lack of even the most basic notion of what is required that to help would be to attempt to teach an entire discipline which is way beyond the scope of what could be done.

I have developed laser systems that transmit data in open air from a hand held targeting device at distances of 400 yards. I in fact developed some of the very first infrared proximity sensors used in automatic toilet flushing. Doing what you propose to do requires an understanding of numerous aspects of the technology you are attempting to use and from the schematic you show it is clear you have no basic handle on any of what is required.

If this is for a comercial application, find a qualified consultant. If you are just messing around to learn, get some data sheets on the optical parts you are using and study them. Find some application notes for things like remote controls and start there. You are trying to make fire with wet sticks and you have hardly figured out you need to rub them together. It's going to be a long road but study hard and good luck.

__________________
The hardest thing to overcome, is not knowing that you don't know.
Register to Reply
Power-User

Join Date: Jan 2007
Location: Berlin (Germany)
Posts: 332
Good Answers: 2
#5

Re: Serial Communication Laser

06/15/2012 1:41 AM

If it was my project I would at first check it without PCs using only static voltage levels. So you can be sure that the problem isn`t your Matlab interface or an incorrect RS-232 configuration (start/stop-bit, parity etc.). This test can be done only with a voltmeter and without scope.

Regard the polarity of the rs-232 signals in relation to the polarity of the TTL-signals, it`s an error source often disregarded.

If the error still exists I would replace the laser medium by a normal optocoupler - so you can see whether the problem is caused by the laser which may be the wavelength or the optical power (too high or too low).

Regards Uwe

__________________
The sum of intelligence on earth is a constant. And the population grows and grows and .....
Register to Reply Score 1 for Good Answer
Guru
Popular Science - Weaponology - New Member United Kingdom - Member - New Member

Join Date: May 2007
Location: Harlow England
Posts: 15258
Good Answers: 498
#6
In reply to #5

Re: Serial Communication Laser

06/15/2012 2:37 AM

' without PCs '

Exactly! GA
3 rules of fault finding, experimentation and desgin.
Simplify
Simplify
Simplify
Del

__________________
health warning: These posts may contain traces of nut.
Register to Reply
Active Contributor

Join Date: Jan 2012
Posts: 23
#15
In reply to #5

Re: Serial Communication Laser

06/23/2012 11:40 AM

if tis is my circuit,will i get any output?

Register to Reply
Guru
Engineering Fields - Electrical Engineering - New Member Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 7066
Good Answers: 470
#16
In reply to #15

Re: Serial Communication Laser

06/23/2012 11:57 AM

Unfortunately the image I can see from the CR4 is not clear enough for me to conclusively say what you are doing. The MAX 232 chip is an RS232 transmitter and receiver (unlike my earlier implication) that converts the logic levels of RS232 to and from nominal TTL +5V logic levels. What I can see though is that only one signal lead (the emitter of the PNP transistor) leaves this part of the schematic to presumably go to your fiber optics. This will probably be able to drive communication from the computer on the left out to something on the right, but return signals from the right have no path to return to the computer. So all I can say is that this maybe be useful for part of what you wish to do but you clearly need more for this to work.

__________________
"A good scientist is a person with original ideas. A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering." Freeman Dyson
Register to Reply
Guru

Join Date: Dec 2005
Location: Etats Unis
Posts: 1840
Good Answers: 44
#17
In reply to #15

Re: Serial Communication Laser

06/23/2012 3:09 PM

Once again, I reiterate my prior comment. What is shown demonstrates a complete void of understanding of the technology of optical data transmission and reception. The only answer would be to offer a working design which would be a Cadillac and what he is showing is a skateboard with no wheels.

__________________
The hardest thing to overcome, is not knowing that you don't know.
Register to Reply
Guru

Join Date: Dec 2005
Location: Etats Unis
Posts: 1840
Good Answers: 44
#8

Re: Serial Communication Laser

06/15/2012 2:44 AM

Given all the potentially critical information you have not told us, one could only guess which of a multitude of problems you may be having. Sending data optically is not a simple matter and merely "connecting" your RS232 feed to a laser offers many possible modes of failure that you haven't given adequate information to support a good diagnosis. Right off the top, if, in the unlikely event everything else that could go wrong hasn't, there is a critical alignment issue and if you happen to be using an infrared laser (we don't know from what you have said) then unless you have a sure means of verifying alignment, there's a good possibliity that is a dealbreaker. Also, if you are counting on on/off keying as your means of sending mark/space (1/0) info, the "what can go wrong" there is beyond a simple discussion especially considering that your discription of the problem does not give a clue as to what you may or may not know about successfully attempting to make this type of interface work. Please tell us more about the details of your transmission mode and the receiver end of the link.

__________________
The hardest thing to overcome, is not knowing that you don't know.
Register to Reply
Power-User

Join Date: Feb 2012
Location: 24°19'25"E 59°17'35"N
Posts: 341
#9

Re: Serial Communication Laser

06/15/2012 9:23 AM

TX_/¯\_/¯\_/¯\ . . .
. . . . . . . . . . . . .-=-=-= rx

DC offset

Register to Reply
Guru
Engineering Fields - Electrical Engineering - New Member Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 7066
Good Answers: 470
#10
In reply to #9

Re: Serial Communication Laser

06/15/2012 9:29 AM

Plausible. From what the OP has provided it's also possible that the large black switch is in the 0 position to prevent a DC offset.

__________________
"A good scientist is a person with original ideas. A good engineer is a person who makes a design that works with as few original ideas as possible. There are no prima donnas in engineering." Freeman Dyson
Register to Reply
Guru

Join Date: Jun 2011
Location: Phnom Penh
Posts: 2371
Good Answers: 66
#14

Re: Serial Communication Laser

06/16/2012 4:18 AM

Where you able to pass data from one PC to another just using a cable in the first instance ie RS232 electrical?

__________________
Difficulty is not an obstacle it is merely an attribute.
Register to Reply
Register to Reply 17 comments
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Comments rated to be Good Answers:

These comments received enough positive ratings to make them "good answers".

Comments rated to be "almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, rate them!
Copy to Clipboard

Users who posted comments:

ci139 (1); daffy (1); Del the cat (2); mathewkyle (1); neenajoy09 (3); rcapper (3); redfred (4); uweka (1); Wal (1)

Previous in Forum: Digitize Video?   Next in Forum: How To Use Cricket