Diy Magic Mirror And Photobooth - Arduino Powered
About the project
An Arduino/sensor controlled Magic Mirror with characters that speak the weather, Stock and Bitcoin performance, Tweets along with novelty Breathalyzer, Photobooth, and X-10 control functions
Project info
Difficulty: Moderate
Platforms: Arduino, Seeed Studio
Estimated time: 2 days
License: Creative Commons Attribution-NonCommercial CC BY-NC version 4.0 or later (CC BY-NC 4+)
Story
An assembled kit for this project is now available from http://diymagicmirror.com/kit_assembled.html
The Magic Mirror shield / kit makes the wiring easier but it's also very straight forward to do this project with an Arduino Uno, see Arduino Uno Setup Guide along with the wiring schematic.
More info at this project at http://diymagicmirror.comThe software for this project is open source
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
- Money Performance (Bitcoin or Stocks)
- 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 (Windows 7 or Windows 10)
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 SensorSeeedstudio or Phidgets Touch Sensors (3) - $7 eachAlcohol Sensor (1) - $7Reed Switches (2) - $5 each
See here for all supported sensors
X-10 Components and LEDs (Optional)
X-10 Firecracker - $5 on eBayX-10 Transceiver Module - $20X-10 Dimmer Switches (2) - $12 eachLEDs - $5
Step 1: Arduino and Adobe Flash
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 rel="nofollow">proximity sensor, I have the first video set to go off when the subject is standing at a specified distance from the sensor (the distance can be changed from the configuration program). The Video then tells the subject to come a little closer and then a second video plays. There is also a stealth mode setting where the Magic Mirror appears as a normal mirror and then gives people a surprise when within range of the proximity sensor (good for Halloween parties). I mounted the touch sensors behind the drywall.Connect the sensors per this schematic below.
The door and window reed switches are the same ones used in home alarm systems. I got mine from www.hometech.com.
Leave your feedback...