Make a Laser Matrix Projector for the iPhone جعل الليزر ماتريكس العارض لفون

The Concept المفهوم

The idea is to add some kind of projector capability to mobile phone (eg 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: الجهاز يحتوي على 3 أجزاء أساسية :

  • 5×7 5 × 7 laser ليزر matrix مصفوفة
  • 5 8-bit D-type latches (SN74LVTH573PW) to control the total 35 laser pointers 5 8 بت مد نوع المزالج (SN74LVTH573PW) للسيطرة على مؤشرات ليزر مجموع 35
  • Microcontroller (PIC16F722) to control the decoder and manage the serial communication with iPhone – متحكم (PIC16F722) للسيطرة على فك وإدارة الاتصالات التسلسلية مع فون -- grab the code انتزاع الشفرة . .

The أل laser modules وحدات الليزر can emit 650nm red laser light, with power consumption of 2~5 mW. يمكن أن ينبعث من 650nm الحمراء ضوء الليزر ، مع استهلاك الطاقة من 2 ~ 5 ميغاواط. 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. ذلك الجزء الذي يتطلب حنكة هو كيفية موقف مجموع 35 أضواء الليزر بشكل متواز. 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. إلى حد ما المضيق إلى الأمام ، وأنه في انتظار الأوامر التي بعث بها فون عبر منفذ تسلسلي ، وتنفيذ الأمر من خلال التحكم في 5 المزالج. 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. يمكن أن يعرض رائع أن يتم باستخدام أشعة الليزر. It won't be long before similar projectors are used to project the فإنه لن يمر وقت طويل قبل العرض مشابهة تستخدم في المشروع best casino أفضل كازينو using iPhone technology. باستخدام تكنولوجيا فون. 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. التفاح فقط واضاف المنفذ التسلسلي في دعم اي فون SDK 3.0 بيتا. However, I'm still using the old iPhone 2.2 firmware and haven't bothered to upgrade yet. ومع ذلك ، ما زلت باستخدام اي فون 2.2 الثابتة القديمة والتي لم يكلف نفسه عناء الترقية بعد. 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. في الأساس ، وأنا أمسك إطار IOKit من اي فون وتحميله في Xcode ، ذلك أن البرنامج لا هي قادرة على الوصول إلى ديف / / tty.iap. Looking back on it, it's probably better to use the built in 3.0 SDK serial. يبحثون عن ذلك ، فإنه ربما يكون من الأفضل استخدام المضمنة في 3.0 المسلسل SDK.

After establishing serial communication, the rest is fairly easy, just send out the commands to eLaser hardware and illuminate the laser lights. بعد إنشاء الاتصال التسلسلي ، والباقي هو سهل نسبيا ، فقط ترسل الأوامر إلى الأجهزة eLaser وتنير أضواء الليزر.

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. من على بعد بضع مئات الياردات.

It's only a matter or time before people hook their laser controllers up to their iPhones and play انها فقط مسألة وقت قبل الناس أو الخطاف على وحدات تحكم بالليزر لكي تصل الى فون واللعب online bingo بنغو on the wall. على الحائط. It's an interesting concept one that is surely attainable. انه مفهوم مثير للاهتمام واحد هو بالتأكيد يمكن بلوغه.

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 اتصل بنا . .

Comment: التعليق :
andre أندريه

May 19th, 2009 ربما 19th ، 2009

and for extra hackage, you could use surplus PS3 diodes. ولhackage اضافية ، هل يمكن استخدام فائض الثنائيات PS3. 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. ومن الواضح بالنسبة لتكلفة معقولة كنت تريد استخدام 4 * 4 أو مصفوفة 4 * 3 ، لكنه سيكون المشروع متعددة الألوان والظلال.

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. الدافعة لهم ليس من الصعب ، عليك فقط استخدام LM317T صغيرة مقرها السائق والموافقة المسبقة عن علم لديهم ، الخ "الخطوة" الحالية إلى واحد من أربعة مستويات.

-A ألف

Ryan ريان

May 19th, 2009 ربما 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. إنني أعتبر أن هذا التصميم وفقيرة نسبيا منذ 35 الليزر قد فاقت بكثير من النقطة التي ماسح ضوئي الأساسية يمكن أن يكون أرخص ، وأصغر ، وأعلى من ذلك بكثير القرار.

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. فضلا عن ذلك ، والإنفاق 6 $ * 35 على ليزر هي الحد الفاصل مجنون النظر يمكنك الحصول على نفس الطراز لحوالي دولارين ، وهذه (والتي هي متطابقة speced) مقابل 0.98 دولار (10 +) بما في ذلك الشحن.

Congrats on wasting your money on a wasteful design. تهاني على إضاعة أموالك على تصميم الإسراف.

Joe L جو لام

May 19th, 2009 ربما 19th ، 2009

He didn't pay $6 per laser, he got them for 40 cents a piece on ebay. انه لم يدفع 6 دولارات لكل الليزر ، وانه حصل عليها لمدة 40 سنتا للقطعة على موقع ئي باي.

brenda بريندا

May 20th, 2009 ربما 20th ، 2009

Oh please, don't use that video service again : ( يا رجاء ، لا تستخدم هذه الخدمة الفيديو مرة أخرى : (

IWantaiPhone IWantaiPhone

May 20th, 2009 ربما 20th ، 2009

Hey, can you install it on مهلا ، لا يمكن تثبيته على http://interactiveiphone.com http://interactiveiphone.com so I can use it? حتى أستطيع استخدامها؟

I think it is a great project! وأعتقد أنه هو مشروع عظيم!

Bartosz بارتوش

June 7th, 2009 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 مرحبا ، أنا وضعت OIKit.framework من وجهة نظري في اي فون Xcode وأنا باستخدام بعض أجزاء من رمز من serial.c الوصول إلى tty.iap
How did you actually manage to write to that port? كيف كنت فعلا إدارة الكتابة إلى هذا الميناء؟

Ben بن

October 12th, 2009 October 12th ، 2009

can you help with the serial port Access using the NEW SDK ? هل يمكن أن تساعد على الوصول إلى المنفذ التسلسلي باستخدام SDK جديد؟

Joe L جو لام

October 12th, 2009 October 12th ، 2009

Haven't taken a look into it yet, but we'll post our findings when we do. لم تتخذ لبحث هذا الامر بعد ، ولكن يجب ان ننتظر بعد النتائج التي توصلنا إليها عندما نفعل.