simple comm system using visible light link
simple comm system using visible light link
(OP)
Hi 
I want to build a simple system with the following specifications:
1. group of LEDs with high directivity as a transmitter and a photo-detector as a receiver (works efficiently within at least 1.5 m "5 ft").
2. the nature of the message to be sent is just a finite number of bits (maybe just 8 bits serially sent).
3. for the interface used in receiver, 7 segments LED display that shows a string of 8 bits whenever a new signal is received.
4. for the interface used in transmitter, 7 segments LED display that shows a string of 8 bits to be sent. Each bit has a simple specific switch that assigns the value of the bit (0 or 1). And a button that initiates the transmission of the string of bits.
5. high quality: error in detection is minimized as much as possible.
The problem is I don't know where to begin. I have a good background in the theory but I'm not familiar with the modules in the market.
What modules do you guys recommend to buy to build this system with the above specifications (would be convenient if it's available in Amazon)? What's the circuit diagram? any complicated programming to be expected (I want to avoid coding as much as possible)?
Thank you

I want to build a simple system with the following specifications:
1. group of LEDs with high directivity as a transmitter and a photo-detector as a receiver (works efficiently within at least 1.5 m "5 ft").
2. the nature of the message to be sent is just a finite number of bits (maybe just 8 bits serially sent).
3. for the interface used in receiver, 7 segments LED display that shows a string of 8 bits whenever a new signal is received.
4. for the interface used in transmitter, 7 segments LED display that shows a string of 8 bits to be sent. Each bit has a simple specific switch that assigns the value of the bit (0 or 1). And a button that initiates the transmission of the string of bits.
5. high quality: error in detection is minimized as much as possible.
The problem is I don't know where to begin. I have a good background in the theory but I'm not familiar with the modules in the market.
What modules do you guys recommend to buy to build this system with the above specifications (would be convenient if it's available in Amazon)? What's the circuit diagram? any complicated programming to be expected (I want to avoid coding as much as possible)?
Thank you

RE: simple comm system using visible light link
Unless you only want paltry one foot or less communications you will need to modulate the signals. Modulation increases, by several orders of magnitude, the signal-to-noise ratio so the receivers can actually distinguish the correct signals from the overwhelming background.
You would fair better if you use IR and use visible light to show only sent and received characters.
Keith Cress
kcress - http://www.flaminsystems.com
RE: simple comm system using visible light link
Error detection/correction is a function of the environment. What are your requirements?
Is this for school? Student posting is prohibited.
TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm
RE: simple comm system using visible light link
RE: simple comm system using visible light link
It cannot display a 'string' in the sense of a row of 8 bits.
For that you need a row of single LEDs, which used to be available in one-row packages with a common cathode or a common anode or maybe either. I haven't seen them for a while, so you might have to use 8 discrete LEDs in a row.
<grossly simplified>
... fed into a shift register at the transmitter end,
and a shift register at the receiver end,
both driven by the same clock,
_if_ you are allowed to run a wire between transmitter and receiver.
If you are not allowed to electrically connect transmitter and receiver, things get more interesting. The receiver has to sample the incoming hi/lo signals at some muliple of the transmitter bit rate, so that it can detect actual edges despite differences in the clock rates at each end.
There are, as indicated, IR communication chips that do a lot of the work for you.
I have never been able to make much sense of their documentation, or used them myself, but they demonstrably work.
It might be a better learning exercise to read datasheets and app notes for serial comm chips, e.g. 8251 family, 16550 family, and similar devices.
</grossly..>
Which would work with one transmit LED and one receive phototransistor.
If you use an array of transmitter LEDs, and a single phototransistor reciver, as you suggest in (1), the transmitter circuitry gets slightly simpler because you don't need a shift register to multiplex the switch settings into a single transmitter, but you will need to gate the switch outputs so only one transmit LED is on at a time, and you will need to make sure that you get roughly the same level of output from the receiver for every transmit LED, then feed the receiver signal into a shift register, find the edges, etc., as hinted above.
That may not be what you want.
Go read up on serial communications, opto or wired, then revisit your specification as outlined in your first message, and figure out where you want to go with it.
Mike Halloran
Pembroke Pines, FL, USA
RE: simple comm system using visible light link
TTFN (ta ta for now)
I can do absolutely anything. I'm an expert! https://www.youtube.com/watch?v=BKorP55Aqvg
FAQ731-376: Eng-Tips.com Forum Policies forum1529: Translation Assistance for Engineers Entire Forum list http://www.eng-tips.com/forumlist.cfm
RE: simple comm system using visible light link
Absolutely true, there is a decimal point that you could use.
I would go crazy trying to remember which segment maps to which bit; OP specified an inefficient mapping instead of ASCII.
Mike Halloran
Pembroke Pines, FL, USA
RE: simple comm system using visible light link
Cheers
Greg Locock
New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?
RE: simple comm system using visible light link
Back then, LEDs were fairly new and something of an unknown quantity.
We started with a simple incandescent torch lamp as the emitter, and one of the old-type germanium transistors with the painted glass envelope scraped clean as the photodetector.
We found that if the emitter and detector were mounted in black cardboard tubes with a suitable lens on the front, then we could transmit telephone-quality audio across the school rugby field.
Surprisingly, best results were obtained with the lamp running at well below full brightness, more of a dull glow.
We did try out a visible-red LED, and this gave quite good results too iirc.
RE: simple comm system using visible light link
Trying baseband we had absolutely abysmal results.
So we modulated, but the guy in charge did it at a lame frequency, half of what TV remotes used. He chose 27kHz IIRC.
Then we had to add reflectors so a lot of 6V lantern battery flashlights died for the cause.
All you needed was some direct sunlight to overwhelm the photo-diode.
Then we added a very narrow passband IR filter and that helped a lot.
Finally you could wear this plexiglass bib thingy that held the M100 at working height and the reader unit was a flashlight with a pistol grip, looking like some sort of exotic deathray.
We could read out 32k bytes in one try... um.. frequently.
Keith Cress
kcress - http://www.flaminsystems.com