Our Cookies Policy
To make full use of www.electromaker.io, enjoy the personalised features and ensure the websites works to its full potential, your computer, tablet or mobile phone will need to accept cookies.
Our cookies don’t store sensitive information such as your name, address or payment details: they simply hold information about how you use our site so we can improve your experience and resolve any errors.
If you’d prefer to restrict, block or delete cookies from www.electromaker.io, or any other website, you can use your browser to do this. Each browser is different, so check the ‘Help’ menu of your particular browser (or your mobile phone’s handset manual) to learn how to change your cookie preferences.
Here’s a list of the main cookies we use, and what we use them for:
Electromaker – Login session
Google Analytics – Analytics
Twitter – Twitter Feed
Each web browser handles cookie management differently, please follow instructions for your chosen browser:
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.
2. Plug in the following Grove Sensors according to the Grove diagram: Char Select Potentiometer, Weather Switch, Stock Switch, Proximity Sensor, and Indicator LED.
3. Launch the Magic Mirror app, go to settings, Bluetooth and Bluetooth pair to the PIXEL board using code: 0000.
4. The app should now be playing different videos based on the sensor and switch inputs.
Step 2: Custom Wiring Option
Or alternatively if you want more control over your sensors and mounting options, then you can go custom and follow the wiring schematic.
Step 3: Preparing the Enclosure
I had this old radio case lying around which turned out to be a nice enclosure for the project. Note that this radio case was purchased like this as is without the radio tubes, dials, etc and thus no vintage radio was destroyed for this project. The two-way mirror effect requires that one end be darker than the other. In this case, the two-way mirror was glued to the case and then covered with foam core board. Once the back is covered and dark, it turns into a mirror and when the back is not covered, it will just look like a normal piece of glass. As you can see in the pics, a cut-out was then made in the foam core to mount the Android phone. The Android phone being a light source will then shine through the two-way mirror providing a floating, almost hologram like effect.
Step 4: Permanent Installation Wiring
After you've tested your circuit and all is working between the phone and sensors, you're ready to wire/solder things up for permanent installation.
The app is also open source, feel free to tweak and add your own functionality.
Feature DIY Magic Mirror Magic Mirror Android Edition OS Support PC, Mac, Linux Android Switch Triggered Weather Forecast Videos Yes Yes Switch Triggered Stock Performance Videos Yes Yes Proximity Sensor Triggered Videos Yes Yes Four Characters (Magic Mirror, Pirate, Spooky, Mean Pumpkin) Yes Yes Support for a Custom Character Yes Yes Text to Speech (TTS) with Lipsync Yes No Webcam Facial Recognition Triggered Videos Yes No Custom Audio MP3s Yes No Photobooth with X-10 Lighting Control Yes No Speak my Tweets or Twitter Keywords Yes No Breathalyzer Yes No Doorbell Video with IP Camera Yes No Picasa Web Album Mode Yes No Quiz Mode Yes No Adjustable Positioning of Characters (Portrait, Landscape…) Yes No Price (not including the hardware) $49.99Free
Step 6: Personalizing With Your Own Videos
You can also add in your own custom videos for the weather, video, and proximity sensor video responses. 1. Produce your custom videos saving them in the .3GP format at a resolution of 240 (width) x 352 (height) resolution. 2. Follow this naming convention for the custom videos:
idle_custom.3gp (the idle video that plays when no sensor has been triggered)
proximity1_custom.3gp (triggered by the proximity sensor, will cycle between these two videos)
proximity2_custom.3gp (triggered by the proximity sensor, will cycle between these two videos)
weather_good_custom.3gp (the sunny/good weather forecast video)
stock_up_custom.3gp (your stock(s) had a good day as defined by the good day stock threshold value in settings)
stock_no_change_custom.3gp (your stock(s) had an ok day)
stock_down_custom.3gp (your stocks were down video)
3. If one doesn't already exist, create a sub-directory from the root of your phone's microSD card called "Videos" and then copy the custom videos into this directory. 4. Open the Magic Mirror Mini app, go to settings, and check "Custom Videos". 5. Enter custom mode by turning the character change potentiometer until you're in custom mode.