Featured: Rocker Scale Measures how Hard You Rock

Make a Laser Matrix Projector for the iPhone



          

The Concept

The idea is to add some kind of projector capability to a cell phone (e.g. iPhone) that isn’t too complex or expensive. Instead of using an expensive mini projector, I decided to use lasers instead to any bitmap font using a matrix of laser points, which is controlled by iPhone.

The Hardware

The hardware contains 3 basic parts:

  • 5×7 laser matrix
  • 5 8-bit D-type latches (SN74LVTH573PW) to control the total 35 laser pointers
  • Microcontroller (PIC16F722) to control the decoder and manage the serial communication with iPhone – grab the code.

The laser modules can emit 650nm red laser light, with power consumption of 2~5 mW. Since the laser light is very narrow, any tiny movement is misalignment alters the matrix. So the tricky part is how to position the total 35 laser lights in parallel. I drilled the holes in a plain PCB board, and placed our lasers into the holes.

The Software

The micro-controller software is fairly strait forward, it just waiting for command sent by iPhone via the serial port, and execute the command by controlling the 5 latches. It’s that simple and could be done with the Arduino if you wanted.

Here’s what the application looks like on the iPhone. You can type any message to be displayed with the lasers. Amazing displays can be made using lasers. With laser projectors the skies aren’t the limits.

The iPhone side software is a bit more complex. Apple just added the serial port support in its iPhone SDK 3.0 beta. However, I’m still using the old iPhone 2.2 firmware and haven’t bothered to upgrade yet. So I used an unorthodox way to implement the serial port communication. Basically, I grabbed the IOKit framework from iPhone and load it into Xcode, so that the program no is able to access the /dev/tty.iap. Looking back on it, it’s probably better to use the built in 3.0 SDK serial.

After establishing serial communication, the rest is fairly easy, just send out the commands to eLaser hardware and illuminate the laser lights.

The End Result:

If you wanted, you could put more powerful lasers in your matrix and project on the sides of buildings from a few hundred yards away.

Video Demo:
(I had some issues getting the keyboard to come up ;)


This post was submitted by a Hack N Mod fan, just like yourself. If you’d like to earn money from your projects, feel free to contact us.

 Free Hack N Mod Updates  
    Unlock Serial Communication with the iPhone

    Unlock Serial Communication with the iPhone

    10 Outstanding DIY iPhone Hacks

    10 Outstanding DIY iPhone Hacks

    Extremely Impressive DIY RGB Laser Projector

    Extremely Impressive DIY RGB Laser Projector

    Desktop Helium Neon Laser Lamp Build

    Desktop Helium Neon Laser Lamp Build

Comment:
 
andre

May 19th, 2009

and for extra hackage, you could use surplus PS3 diodes. Obviously for sensible cost you’d want to use a 4*4 or a 4*3 matrix, but it would project multiple colours and shades.

Driving them isn’t that hard, you just use a small LM317T based driver and have the PIC etc “step” the current to one of four levels.

-A

Ryan

May 19th, 2009

I would consider this a relatively poor design since 35 lasers has far surpassed the point where a basic scanner would have been cheaper, smaller, and far higher resolution.

As well as that, spending 6$*35 on lasers is borderline insane considering you can get the same model for around two dollars and these (which are identically speced) for 0.98$ (10+) including shipping.

Congrats on wasting your money on a wasteful design.

Joe L

May 19th, 2009

He didn’t pay $6 per laser, he got them for 40 cents a piece on ebay.

brenda

May 20th, 2009

Oh please, don’t use that video service again : (

IWantaiPhone

May 20th, 2009

Hey, can you install it on http://interactiveiphone.com so I can use it?

I think it is a great project!

Bartosz

June 7th, 2009

Hi, I put the OIKit.framework from my iPhone into Xcode and I’m using some parts of the code from serial.c to access tty.iap
How did you actually manage to write to that port?

Ben

October 12th, 2009

can you help with the serial port Access using the NEW SDK ?

Joe L

October 12th, 2009

Haven’t taken a look into it yet, but we’ll post our findings when we do.

Tags: Apple, cell phone, iphone, iphone app, Laser, laser bitmap, matrix, microcontroller, pic

Subscribe to HacknMod Updates

Subscribe to Hack N Mod via RSS
Follow @HacknMod on Twitter
Send us Projects, Earn Cash
Or, subscribe via email:
  • Airsoft & Gun
  • Apple
  • Arduino
  • Audio
  • Car
  • Case Mod
  • Cell Phone
  • Circuitry
  • DIY Free Energy
  • General
  • Internet
  • Laser
  • Leds & Light
  • Linux
  • NES & Atari
  • Psp, Ps2, and Ps3
  • Robots
  • USB Projects
  • Wii
  • Windows
  • Xbox 360
  • Random
Translate
Translate to EnglishÜbersetzen Sie zum Deutsch/GermanTraduzca al Español/SpanishTraduisez au Français/FrenchTraduca ad Italiano/ItalianTraduza ao Português/Portuguese日本語に翻訳しなさい /Japanese
한국어에게 번역하십시오/Korean中文翻译/Chinese Simplified中文翻译/Chinese Traditionalترجمة الى العربية/ArabicVertaal aan het Nederlands/DutchΜεταφράστε στα ελληνικά/GreekПереведите к русскому/Russian
Oversetter til Norsk/NorwegianÖversätta till Svensk/Swedishहिन्दी अनुवाद करने के लिए/HindiTradueix al català/CatalanTulkot uz latviešu/LatvianPreložiť do slovenčiny/SlovakПереклад на українську/Ukrainian
Plugin by Taragana
30 Days All Time
How to: Integrate Google's Nexus 7 into your Car Dashboard

How to: Integrate Google's Nexus 7 into your Car Dashboard

Hexacopter + Hexapod = An Eerie Robotics Masterpiece

Hexacopter + Hexapod = An Eerie Robotics Masterpiece

Incredible Transforming Desk from the 1700's

Incredible Transforming Desk from the 1700's

6 Fantastic Laser Pointer Projects

6 Fantastic Laser Pointer Projects

Reusing an Old PC as a Server

Reusing an Old PC as a Server

About Us

  • About
  • Contact Us
  • Advertise
  • Send us Hacks
  • Write for Us

Get Daily Updates

Add to Google Reader or Homepage

Newsletter

  • Free HacknMod Gear
  • Exclusive Discounts
  • Behind the Scenes
  • HacknMod Store Discounts
  • E-mail:

HacknMod Store

Most Popular | Led Projects | Hack N Mod Store | Submit Hacks

HacknMod.com © 2013