3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

DIY Magic Mirror and Photobooth - Arduino Powered

DIY Magic Mirror and Photobooth - Arduino Powered
«
  • two-way-mirror-small.jpg
  • mirror.jpg
  • mirror no frame.jpg
  • magic_mirror.jpg
  • mirror and mantle1.jpg
  • mirrorpane1.jpg
  • mirrorpane2.jpg
  • mantle and mirror.jpg
  • pirate.jpg
  • inside house 2.jpg
  • haunted mode1.jpg
  • mirror pane back.jpg
  • last photo ←
»
An assembled kit for this project is now available from Seeedstudio.com
More info at this project at http://diymagicmirror.com


Who's the fairest of them all. Make your own Magic Mirror and find out. The Magic Mirror can read the weather, tell you how your stocks did, can be wired to your doorbell with an IP camera video feed, turns lights & appliances on and off using X-10 control, and even has a Breathalyzer that tells you when you've had too much to drink. The Magic Mirror plays pre-recorded animations based on input from various sensors. Featuring four characters, each character responds to the sensor inputs with its own personality. Characters include a skull for your next Halloween party, a pirate, a princess character, and a really mean pumpkin who disses you New York cabbie style.

Magic Mirror Features:

  • Breathalyzer with optional Tweeting
  • Photobooth Mode (Link to Separate Instructable on Photobooth Mode)
  • Speak your Tweets from Twitter
  • Weather Forecast
  • Stock Performance
  • Sends X-10 CommandsDoorbell input with IP camera feed
  • Picasa based slideshow
  • Princess, Pirate, Halloween, Insult Characters
  • Text to Speech Mode
  • Personalize it with your own Videos
  • Runs as a native application on the PC, Mac, and Linux
Parts
El Cheapo PC or Laptop (a 3-4 Year Model will work)
Arduino Micro-Controller - $30
Used 15" LCD monitor - $50
Dielectric Glass TV Mirror 4mm (2-Way Mirror) 12x12 Sample (Optional) - $20
Magic Mirror Kit with Software
Picture Frame with Oval Matte (Optional)

Sensors (Pick and choose the sensors based on your installation)

Maxbotix Promixity Sensor
Seeedstudio or Phidgets Touch Sensors (3) - $7 each
Alcohol Sensor (1) - $7
Reed Switches (2) - $5 each
See here for all supported sensors

X-10 Components and LEDs (Optional)

X-10 Firecracker - $5 on eBay
X-10 Transceiver Module - $20
X-10 Dimmer Switches (2) - $12 each
LEDs - $5
 
Remove these adsRemove these ads by Signing Up
 

Step 1Arduino and Adobe Flash

Arduino and Adobe Flash
«
  • board-pic-large.jpg
  • how-it-works.jpg
The basic concept is the Magic Mirror plays pre-recorded videos (Adobe Flash format) based on input from various sensors (proximity, touch, switches). I chose Flash because there is an open source Flash library available called AS3Glue that talks to the Arduino.

On the Arduino, you have to load a program called Firmata which let's you control the Arduino from Adobe Flash (specifically Action Script 3.0). There are multiple versions of Firmata out there so be sure to use the one that comes with the Magic Mirror software download. You also have to run a serial server (included in the software download) which acts as a middleman converting serial data received from the Arduino to a TCP/IP port that Flash can access.
« Previous StepDownload PDFView All StepsNext Step »
89 comments
1-40 of 89next »
Nov 1, 2011. 10:41 PMSovereignty says:
Has this ever officially received a Coolest Instructable Ever award?
Oct 16, 2011. 7:32 PMGUNsicker says:
Awesome!!
Also - Is that you... Keanu Reeves?
:D
Oct 13, 2009. 5:06 PMmaxpower49 says:
ummm what does this have to do with the magic Magic Mirror
Oct 16, 2011. 11:06 AMspacelf says:
Do not question Magic Mirrors and the things that maybe.

if you look above the window you shall see. (pumkin head)
Oct 16, 2011. 7:36 AMhihihi0hi says:
That's so cool!
Oct 2, 2011. 1:01 AMvistal says:
Hmm i like to see a trans formers Optumis prime for my nephew how hard would that be?
Jun 28, 2011. 6:06 AMFireater989 says:
Do the kits come with the new mask version? If not, is there any way you (the supplier) can update it or do I have to buy it myself?
Jun 28, 2011. 4:29 PMFireater989 says:
http://www.imagineerieing.com/products.html
There's the original Mirror, then there's the Mirror, Mirror. I think you have the new one cause it was released in '08 and that's when this was written
Jul 5, 2011. 9:15 AMvishalapr says:
I was amazed by the video!What a fantastic job u have done, wish I could make one, will try to make one soon!!!
May 23, 2011. 2:01 PMtinker234 says:
nice hey could i make this in a wall and use diffrent avatars
May 24, 2011. 5:45 AMtinker234 says:
thanks i will pick one up evantully
Oct 24, 2010. 7:05 AMtypedink says:
This is just great! I really wish I could afford the kit.
Apr 21, 2011. 9:07 AMgoedeleg says:
Would it work with arduino uno?
Oct 16, 2010. 7:49 PMmary candy says:
this is the best thing I saw here!
I am in shock. :O
Oct 16, 2010. 7:45 PMmary candy says:
AMAZING !
Oct 15, 2010. 2:02 PMskywalker619 says:
Now this!!

is GREAT just WOW!!
Oct 10, 2010. 9:07 PMRichardBronosky says:
Very sad. I like to contact the guy from www.imagineerieing.com but can find no way to do so. The "Mac" version he offers is for PPC only. The new Intel Macs can support PPC software via Rosetta, but Apple doesn't even include Rosetta in Mac OS 10.6 (2009). He really needs to recompile his Mac offerings.
Jan 31, 2010. 1:26 AMDoubleblades85 says:
lol i need that =]
Jan 13, 2010. 3:30 AMmanchaware says:
Have you heard of the beagleboard? It's an ultra small (3"x3") pc board capable of playing HD video (via DVI-D/HDMI). It comes with 1 USB, 1 Line in, 1 Line Out, and 1 S-Video Out. And, it only requires 5V @ 500mA so you don't need a fan to cool it. It doesn't have a HDD, but instead sports an SD slot so you can probably run Debian or Ubuntu off a 1gb SD card.
Oct 13, 2009. 5:14 PMmaxpower49 says:
do we have to buy the puppets
Dec 4, 2008. 2:41 PMdalucero says:
For the touch sensor you could drill a hole halfway into the sheetrock like a mortise joint, or you could cut a hole all the way through and then cover it with one of those sheetrock repair mesh patches.
Jul 15, 2009. 1:10 PMdalucero says:
awesome! glad it worked out.
Jul 13, 2009. 8:59 AMSoy_Un_Oso says:
that's amazing. your kids must love it, I cracked up in the video when I saw the magic mirror launching windows. it's supposed to run on magic!!!! haha
Jun 18, 2009. 10:10 AMchrispaccord says:
this is pretty awesome. Is there a way to program multiple videos with dialogue and have them run randomly on one proximity sensor? (So that each time you step up to the mirror you would get a different comment from the floating face)
May 23, 2009. 9:10 AMPhoghat says:
Ok, I didn't see the link to buy in teensy little print at the top. Make it bigger man. As of next paycheck I'm there. Probably going for the build it model, have 4 grand daughters and 4 grand sons. You do the math
Feb 28, 2009. 12:47 PMcontrivial says:
I thought I'd seen somewhere (your website) that yu said it was quite a bit dimmer with the mirror. Is this the case? Like, how much so? Neat!
Oct 28, 2008. 2:10 PMbalam says:
wowowowoow amazing work. q: how you wire the arduino? a pic of the wiring will be awesome
1-40 of 89next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
73
Followers
14
Author:alinke
Al is an IT Director by day and a tinkerer by night (when his wife lets him). Al maintains two open source projects: the DIY Magic Mirror / Photobooth at http://diymagicmirror.com and the Droidalyzer ...
more »