Make a Laser Matrix Projector for the iPhone Gör en Laser Matrix projektor för iPhone

The Concept The Concept

The idea is to add some kind of projector capability to mobile phone (eg iPhone) that isn't too complex or expensive. Tanken är att lägga till någon form av projektor förmåga till mobiltelefonen (t.ex. iPhone) som inte är alltför komplicerat eller dyrt. 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. Istället för att använda en dyr mini-projektor, beslöt jag att använda laser i stället för att någon bitmappsteckensnitt hjälp av en matris av laser punkter, som kontrolleras av iPhone.

The Hardware Hårdvaran

The hardware contains 3 basic parts: Hårdvaran innehåller 3 grundläggande delar:

  • 5×7 5 × 7 laser Laser matrix matris
  • 5 8-bit D-type latches (SN74LVTH573PW) to control the total 35 laser pointers 5 8-bitars D-typ lås (SN74LVTH573PW) att kontrollera den totala 35 laserpekare
  • Microcontroller (PIC16F722) to control the decoder and manage the serial communication with iPhone – Microcontroller (PIC16F722) för att styra dekodern och hantera seriell kommunikation med iPhone -- grab the code grab koden . .

The Den laser modules laser moduler can emit 650nm red laser light, with power consumption of 2~5 mW. kan avge 650nm rött laserljus med energiförbrukning på 2 ~ 5 mW. Since the laser light is very narrow, any tiny movement is misalignment alters the matrix. Eftersom laserljuset är mycket smal, så är varje liten rörelse förskjutning ändrar matris. So the tricky part is how to position the total 35 laser lights in parallel. Så den knepiga delen är hur man skall placera totalt 35 lasern lyser parallellt. I drilled the holes in a plain PCB board, and placed our lasers into the holes. Jag borrade hål i en ren PCB styrelse och placerade våra lasrar i hålen.

The Software Programvaran

The micro-controller The micro-controller software programvara 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. ganska sundet framåt, väntar man bara på signaler från iPhone via den seriella porten och kör kommandot genom att kontrollera 5 spärrarna. It's that simple and could be done with the Det är så enkelt och kan göras med Arduino Arduino if you wanted. Om du ville.

Here's what the application looks like on the iPhone. Här är vad programmet ser ut på iPhone. You can type any message to be displayed with the lasers. Du kan skriva ett meddelande som ska visas med laser. Amazing displays can be made using lasers. Amazing skärmar kan göras med hjälp av laser. It won't be long before similar projectors are used to project the Det kommer inte att dröja länge innan liknande projektorer används för att projicera best casino bästa kasino using iPhone technology. med iPhone teknik. With laser projectors the skies aren't the limits. Med laser projektorer himlen är inte gränserna.

The iPhone side software is a bit more complex. IPhone klientprogram är lite mer komplicerat. Apple just added the serial port support in its iPhone SDK 3.0 beta. Apple har precis lagt till serieporten stöd i sin iPhone SDK 3.0 beta. However, I'm still using the old iPhone 2.2 firmware and haven't bothered to upgrade yet. Men jag använder fortfarande den gamla iPhone 2.2 firmware och har inte brytt sig om att uppgradera ännu. So I used an unorthodox way to implement the serial port communication. Så jag använde en oortodoxa sätt att genomföra den seriella porten kommunikation. 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. I grund och botten, tog jag IOKit ram från iPhone och laddas i Xcode, så att programmet ingen har tillgång till / dev / tty.iap. Looking back on it, it's probably better to use the built in 3.0 SDK serial. Ser tillbaka på det, är det förmodligen bättre att använda den inbyggda 3.0 SDK serienummer.

After establishing serial communication, the rest is fairly easy, just send out the commands to eLaser hardware and illuminate the laser lights. Efter att ha utarbetat seriell kommunikation, resten är ganska lätt, bara skicka ut kommandon till eLaser hårdvara och belysa den laser ljus.

The End Result: Slutresultatet:

If you wanted, you could put more powerful lasers in your matrix and Om du vill kan du lägga kraftfullare lasrar i din matris och project on the sides of buildings projekt på sidorna av byggnader from a few hundred yards away. från några hundra meter bort.

It's only a matter or time before people hook their laser controllers up to their iPhones and play Det är bara en fråga eller tid innan folk krok deras laser flygledare upp till sina iPhones och spela online bingo Online Bingo on the wall. på väggen. It's an interesting concept one that is surely attainable. Det är ett intressant koncept ett som är säkert uppnås.

Video Demo: Video Demo:
(I had some issues getting the keyboard to come up (Jag hade vissa problem att få tangentbordet för att komma ;)


This post was submitted by a Hack N Mod fan, just like yourself. Det här inlägget lämnades in av en hacka N Mod fläkt, precis som dig själv. If you'd like to Om du vill earn money tjäna pengar from your projects, feel free to från dina projekt, gärna contact us Kontakt . .

Comment: Kommentar:
andre andre

May 19th, 2009 19 Maj 2009

and for extra hackage, you could use surplus PS3 diodes. och för extra hackage, kan du använda överskottet PS3 dioder. 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. Uppenbarligen för vettig kostnad du vill använda en 4 * 4 eller 4 * 3 matris, men det skulle projektet flera färger och nyanser.

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. Driving dem är inte så svårt, du bara använder en liten LM317T baserad drivrutin och har PIC etc "steg" den nuvarande till en av fyra nivåer.

-A A

Ryan Ryan

May 19th, 2009 19 Maj 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. Jag anser att detta är en relativt dålig konstruktion eftersom 35 lasrar har långt passerat den punkt där en grundläggande scanner skulle ha varit billigare, mindre, och betydligt högre upplösning.

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. Förutom detta, är på gränsen till utgifterna 6 $ * 35 av lasrar galen tanke på att du kan få samma modell för omkring två dollar och dessa (som är identiskt speced) för 0,98 $ (10 +) inklusive frakt.

Congrats on wasting your money on a wasteful design. Grattis på slösa dina pengar på en slösaktig design.

Joe L Joe L

May 19th, 2009 19 Maj 2009

He didn't pay $6 per laser, he got them for 40 cents a piece on ebay. Han ville inte betala $ 6 per laser, han fick dem för 40 öre styck på eBay.

brenda brenda

May 20th, 2009 20 maj, 2009

Oh please, don't use that video service again : ( Åh snälla, använd inte denna video tjänst igen: (

IWantaiPhone IWantaiPhone

May 20th, 2009 20 maj, 2009

Hey, can you install it on Hej, kan du installera det på http://interactiveiphone.com http://interactiveiphone.com so I can use it? så jag kan använda det?

I think it is a great project! Jag tycker att det är ett stort projekt!

Bartosz Bartosz

June 7th, 2009 7 juni 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 Hej, jag ställde den OIKit.framework från min iPhone i Xcode och jag använder vissa delar av koden från serial.c tillgång tty.iap
How did you actually manage to write to that port? Hur lyckades du faktiskt skriva till hamnen?

Ben Ben

October 12th, 2009 12 OKTOBER 2009

can you help with the serial port Access using the NEW SDK ? kan ni hjälpa till med den seriella porten Access med den nya SDK?

Joe L Joe L

October 12th, 2009 12 OKTOBER 2009

Haven't taken a look into it yet, but we'll post our findings when we do. Har inte tagit en titt in i det ännu, men vi kommer att lägga våra resultat när vi gör.