Mar
23

iPhone infrared receiver - using iPhone 2.0 SDK, no jailbreak required!
While there have been numerous one-off examples of hobbyist iPhone accessories posted on blogs and YouTube, few of these approaches have been implemented using the official iPhone SDK.
However, there is an input/output port on the iPhone just waiting to be used: the headphone/microphone port. If you think about it, people have been squeezing over 50kbps over phone lines, and phone lines have far less fidelity than the iPhone's sound chip.
PerceptDev engineers George Dean and Damien Stolarz collaborated on a simple circuit (costing less than $2) to take infrared pulses and convert them to sound waves, as well as an application to recognize the signals. The application can recognize signals from the infrared remote that comes bundled with most Macs.
By connecting a plain-vanilla infrared receiver and a few other components, we created a circuit that converts the output of the IR receiver into an audio signal that can be connected to the iPhone's microphone input.
Then George developed a simple iPhone app that reads the pulses and parses the remote's commands, using the iPhone 2.0 SDK.
The details of these designs, the parts list and links to the software and code are available in iPhone Hacks (O'Reilly Media, Spring 2009).















on Sat, 08/15/2009 - 19:13
I have gone through amazing iphone accessories that you guys are doing to add functionality into current iphone, but is it possible that these circuits are converted into an end user product so that these can be used as well. I couldn't find a single website (within my last half hour research) that is selling these kinds of accessories.
I have gone through "iPhone infrared receiver - using iPhone 2.0 SDK, no jailbreak required!", "iPhone RS232 at 1200 baud - no Jailbreak required, using 2.0 SDK" and I really like all this technical information.
I have also read about the book that is released in April 2009. I will try to get this as well.
Best of luck !
on Wed, 09/16/2009 - 11:21
Wow, the ingenuity of people is amazing. To know that much how a iphone works is incredible!
on Wed, 12/09/2009 - 23:42
That's pretty cool.
I purchased the e-book edition of the iPhone Hacks book.
Have not read it yet.
Can you send out data from the infrared, as well as receiving IR from outside?
on Sat, 01/16/2010 - 19:46
It's theoretically possible to send IR but not with these components. You'd need an IR emitter rather than an IR receiver, and some additional circuitry to turn the iPhone's headphone output into a digital signal that could drive the emitter. (How much extra circuitry depends on what sort of signal the emitter requires and what IR patterns you want to produce.)
We didn't pursue any emitter circuit designs for the book, but it's an intriguing idea.
on Tue, 03/02/2010 - 13:46
I've been trying to make iphone work for me but it kept my head spinning. I've been reading a lot of iphone books online and hopefully I can make it work this time.
Marylee
Iphone Help
10bomb.com
Post new comment