Magic Mirror Mini for Android

 by alinke
Featured
A few years ago, I did a project called the DIY Magic Mirror. It's an interactive talking magic mirror that plays various video responses from a PC in response to various sensor inputs from an Arduino. I'd been wanting to do a mini version of the project for awhile, essentially the same project but with a smaller display and without the PC. A few months ago, I stumbled upon the IOIO platform. IOIO is like Arduino but with really good support and libraries for Android. It was the perfect fit to port the PC/Arduino based DIY Magic Mirror project to a smaller form factor powered by Android.



The premise of the Magic Mirror is to play various video responses based on sensor inputs. For example upon a button switch press, the Magic Mirror will play one of three weather forecast videos depending on the weather forecast for that day: a sunny day video, a grey skies/ok day video, and a rainy day video response. Likewise for stock performance, it will play one of three videos depending on how your stocks(s) did for the day. There are also some videos that play when triggered by the proximity sensor.

Required Parts
  • IOIO Board: IOIO Board $50 or Droidalyzer IOIO Board $65 (IOIO + onboard LIPO charger, LIPO battery, pin headers, bluetooth dongle, mint tin case, alcohol detector)
  • Android Phone
  • Android Magic Mirror App: Trial Version and Paid Version (the trial version is exactly the same except with a trial version message) . Definitely use the trial version first to see if it's a fit for you before getting the paid version.
  • 2 momentary switches
  • Maxbotix EZ-1 Proximity Sensor - $25
  • 10K Potentiometer
  • LED
  • 220 Ohm resistor
  • Two-Way Mirror  - $20 for 12"x12" size
  • Foam core board
  • Enclosure of your choice
 
Remove these adsRemove these ads by Signing Up

Step 1: Wiring up the Circuit

First you'll want to wire up the circuit with a breadboard to ensure everything works.

1. Install the Magic Mirror Mini app onto your Android phone.

2. Wire up the circuit following this schematic.

3. Launch the Magic Mirror app, go to settings, Bluetooth and Bluetooth pair to the IOIO board using code: 4545.

4. The app should now be playing different videos based on the sensor and switch inputs.

ddhix says: Apr 25, 2013. 11:17 PM
I love this.

Am I the only one who has considered the possibility of building a frame, and instead of using the cool faces/voices that alinke used, instead making a HAL-9000 representation, with motion detection so it can greet you at the door? "Hello Dave." "Just what do you think you are doing, Dave?"
alinke (author) in reply to ddhixApr 26, 2013. 11:05 PM
nice idea!
chse720 says: Jul 14, 2012. 7:35 AM
how did you create the 3d animations?
bricabracwizard says: Jul 3, 2012. 5:20 PM
Can you do this with an iPhone?
alinke (author) in reply to bricabracwizardJul 3, 2012. 11:03 PM
unfortunately not, special permission is required from Apple to develop hardware accessories, it is also a fairly costly process to go through. Recently however, Apple has opened up developer access to the Bluetooth stack on the iPhone 4S and new iPad devices so it would be technically possible on those devices but someone would need to port the IOIO libraries to iOS.
nickolaiisoe says: Jul 2, 2012. 5:32 AM
good for halloween
jessyratfink says: Jul 1, 2012. 11:01 AM
Using the old radio is such a nice touch! It looks amazing.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!