Re: Is it possible to transfer data by using light
Re: Is it possible to transfer data by using light
- Subject: Re: Is it possible to transfer data by using light
- From: Alex Zavatone <email@hidden>
- Date: Thu, 17 Sep 2015 09:06:15 -0400
Yes. How do you think TV remotes work?
They use IR transmitters/receivers.
They are, however, PAINFULLY SLOW.
When we were making FiOS TV, we had to create an app called FiOS Mobile Remote for the iPhone that would control your FiOS set top box.
EVEN THOUGH the iPhone had to pipe its commands through a much much much longer chain to get to the STB, it was a night and day in terms of performance. In fact, it was almost instant.
Back then when we were prototyping FiOS I took an IR receiver and hooked it up to a PC. Then, using Director, we detected the signal that was being broadcast and mapped each signal to the appropriate keypress.
Then, we wrote a layer on top of that which created key events (press, release, hold and repeat), and that allowed us to have a library which would we could then use to issue commands based on the action being performed on the remote.
All being done by sending a signal over light.
At another company, we turned data into QR codes and the QR codes became data packets which we used to reimplement TCP/IP over a video capture transmission method. Our implementation was to have an iPhone in video capture mode and flash a bunch of QR codes on another computer's screen.
We then pulled each frame out of the video as it was captured, detected when the image representing the QR code changes and rebuilt the data on the device and decoded it.
As I recall, we were testing driver's license detection software and used a kitten as the photo in the license.
So, yes, you can use light to transmit data.
On Sep 16, 2015, at 11:14 PM, ico wrote:
> First of all, please take a look at this video:
> https://www.youtube.com/watch?v=LPyLHhiGTHM
>
> This toy can connect to the iphone's network by detecting the blinking
> screen of an iPhone. I wonder if it is possible that using this technique
> to transfer data.
> For instance,
> 1. you have some data, and transform it into a frequency of flash light
> 2. you control iPhone A to blink its screen or its flashlight according to
> this frequency
> 3. you control iPhone B to detect this frequency of light
> 4. you transform this message into some data which is the same as you have
> in the 1st step
>
> Anyone can give a hint about achieving this?
> Sorry for my bad English.
>
> Thank you!
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden