We’ve seen dozens of “Magic Mirror” builds around here, most of which display all sorts of information — calendar, weather, news. They’re great builds, but they tend to be a bit busy and don’t really inspire a calm start to the day. But if you’re good enough and smart enough, you can build this electronic affirmation mirror, and doggone it, people will like you.
[Becky Stern] stripped the magic mirror concept down to a minimum with this build and uses only an array of 14-segment alphanumeric displays to scroll uplifting messages. The glass she used is partially reflective, and when covered with black tape on the backside, with a small portal for the display, it makes a decent mirror. The displays are driven by a Trinket using static affirmations stored in the sketch; a microcontroller with a WiFi connection could also be used to source affirmations on the fly. Or, you know, stock prices and traffic updates, if you’re not into the whole [Stuart Smalley] thing.
[pepelepoisson]’s Miroir Magique (“Magic Mirror”) is an interesting take on the smart mirror concept; it’s intended to be a playful, interactive learning tool for kids who are at an age where language and interactivity are deeply interesting to them, but whose ceaseless demands for examples of spelling and writing can be equally exhausting. Inspiration came from his own five-year-old, who can neither read nor write but nevertheless has a bottomless fascination with the writing and spelling of words, phrases, and numbers.
The magic is all in the simple interface. Magic Mirror waits for activation (a simple pass of the hand over a sensor) then shows that it is listening. Anything it hears, it then displays on the screen and reads back to the user. From an application perspective it’s fairly simple, but what’s interesting is the use of speech-to-text and text-to-speech functions not as a means to an end, but as an end in themselves. A mirror in more ways than one, it listens and repeats back, while writing out what it hears at the same time. For its intended audience of curious children fascinated by the written and spoken aspects of language, it’s part interactive toy and part learning tool.
Like most smart mirror projects the technological elements are all hidden; the screen is behind a one-way mirror, speakers are out of sight, and the only inputs are a gesture sensor and a microphone embedded into the frame. Thus equipped, the mirror can tirelessly humor even the most demanding of curious children.
[pepelepoisson] explains some of the technical aspects on the project page (English translation link here) and all the code and build details are available (in French) on the project’s GitHub repository. Embedded below is a demonstration of the Magic Mirror, first in French then switching to English.
Remember the days when the television was the most important appliance in the house? On at dawn for the morning news and weather, and off when Johnny Carson said goodnight, it was the indispensable portal to the larger world. Broadcast TV may have relinquished its hold on the public mind in favor of smartphones, but an information portal built into an old TV might take you back to the old days.
It seems like [MisterM] has a little bit of a thing for the retro look. Witness the wallpaper in the video after the break for proof, as well as his Google-ized Radio Shack intercom project from a few months back. His current project should fit right in, based on an 8″ black-and-white TV from the 70s as it is. TVs were bulky back then to allow for the long neck of the CRT, so he decided to lop off the majority of the case and use just the bezel for his build. An 8″ Pimoroni display sits where the old tube once lived, and replicates the original 4:3 aspect ratio. With Chromium set up in kiosk mode, the family can quickly select from a variety of news and information “channels” using the original tuning knob, while parts from a salvaged mouse turns the volume control into a scroll wheel.
So, your smart mirror has been running for a while, but Halloween is coming up and you want to come up with some cool Halloween stuff to display on the mirror. If you’re looking for ideas, check out [Ben Eagan]’s cool Haunted Smart Mirror which connects the mirror via a Raspberry Pi with Amazon Alexa and Phillips Hue lighting.
[Ben] points to another of his blog pages for those readers interested in the nuances of setting up Alexa with a smart mirror, while concentrating on communication with the Hue bridge and creating the setup for a new Alexa command in this post. Dealing with the Phillips Hue API seems fairly straightforward: Get the IP address of your Hue bridge from your router and the ID of your lights from the Hue app and you’re set to send commands via HTTP. [Ben] includes a Python script to make the lights flicker, which you can modify for your own lights as you wish. Once that’s done, you’ll need to set up the intent that Alexa listens for, and then modify the AWS lambda function that sends commands to the Pi. When the command shows up in the queue on the Pi, any commands [Ben] wants to play are fired off – in this case, a video is played and the Hue lights start to flicker.
There’s no mention of security in the article, so that may be worth a little attention with Alexa and the Hue, but with Halloween coming up fast even if you haven’t built a magic mirror yet, if you’ve got Hue lights, this would be a great, quick, Halloween idea. Especially if you could combine it with your outside lights so that Trick-or-Treaters can join in on the fun. Maybe you’d prefer looking up passing planes using Alexa? Or how about getting your fish to talk?
After following along with all the Magic Mirror builds, [Troy Denton] finally caved in and started building one for his girlfriend for Christmas. These popular builds are all pretty much bespoke, and this one is no different.
His victim TV didn’t have the ability to be switched on and off by the Raspberry Pi using HDMI/CEC, so he came up with an alternative. He got a couple of opto-isolators and soldered one to the on/off button on the TV’s control board. The Pi didn’t know whether it was switching the TV on or off, it just knew it was switching it. To solve this, [Troy Denton] connected another opto-isolator to the TV’s LED, this one the other way around. When the TV is turned on, the Pi now detects it.
The enclosure is fabbed from 2×4 lumber, the mirror is one-way acrylic which runs somewhere in the $75-100 range for this 27-9/16″x15-1/2″ application. The top and bottom rails include lines of holes to encourage airflow to keep things cool. the face plate is picture framing which makes it easy to mount the mirror. An ultrasonic range finder finishes off the build and when someone stands in front of this magic mirror, the Pi senses it and turns the monitor on.
Included in [Troy]’s post are the Python code and shell scripts he wrote as well as a bunch of pictures of the build process. We’ve seen Magic Mirrors builds before, including some small ones. They’re a cool addition to the house and a fairly simple build.
Gaining popularity in recent months, it’s not that difficult to make a smart mirror. In fact, it’s really just an LCD monitor with a one-way mirror slapped on top. Similar to how Infinity Mirrors work.
The build makes use of an older LCD monitor [Tmonaco189] had laying about. He went to the hardware store and picked up some wood to build a frame that would fit the aspect ratio of the monitor perfectly — and of course to be large enough to cover up the rear casing of the monitor. Once built, it was time to make it smart! Continue reading “Smart Mirror Notices You And Turns On”→