How to Make a Raspberry Pi Smart Mirror
HTML-код
- Опубликовано: 4 сен 2016
- In this video, we give you some detailed instructions on how to make an easy raspberry pi powered home smart mirror. A smart mirror displays applications so that you can check the weather, local news, etc. while you are getting ready in the morning. It's also modular, so you can easy move it around or hang it on the wall if you like. We've created a basic application that you can run on the smart mirror, but it's totally customizable if you want to write some of your own code. We use a Raspberry Pi 3 in this video, but you can also use an A, B+ or any other Pi.
Check our hackaday.io page for a full parts list: hackaday.io/project/13466-ras...
Get the 3D printable part files for this project on our Patreon: / smart-mirror-37732540
LINKS:
Github project: github.com/HackerShackOfficia...
To Subscribe: / @hackershack
Get our 3D printer: robo3d.myshopify.com?rfsn=1004615.c5abe
MATERIALS:
1 x Raspberry Pi 3
Amazon Affiliate Link - goo.gl/oVJcxK
1 x Low profile monitor (we used an old led display)
Amazon Affiliate Link - goo.gl/a4HeP5
12 ft - 1x2
12 ft - 1x3
1 x Wood glue
1 x Low profile HDMI cable
Amazon Affiliate Link - goo.gl/BzBTT8
1 x 18" - 24" Acrylic See-Through Mirror, 1mm
Amazon Affiliate Link - goo.gl/mpvZWE
You could also use a piece of one way film and a clear acrylic sheet
Amazon Affiliate Link - goo.gl/pTgUQy
NOTE - The above mirror might be too flexible and cause some distortion if it is not sandwiched properly. You could also use a thicker piece of clear acrylic and apply some one way mirror film: www.amazon.com/Mirror-Window-...
We did not experiment with this, so results may vary.
Subscribe to Hacker Shack: / @hackershack
Follow Hacker Shack on Instagram:
hackershack...
MUSIC:
DJ Quads - Stop: / lady-vlog-music
Disclaimer
The methods shown in this video should be used
as a guide only.
HACKER SHACK ACCEPTS NO RESPONSIBILITY FOR
ACCIDENTS OR INCIDENTS ARISING FROM INDIVIDUALS
UNDERTAKING ANY OF THE TASKS DESCRIBED. IN
PARTICULAR, IF UNSURE YOU SHOULD ALWAYS CONTACT
A QUALIFIED TRADESMAN BEFORE PROCEEDING. Наука
great project. i wish you showed the final product at the end for more than 3 seconds. you worked hard on that. show it off.
agreed
+1
YOu do know that the beginning of the video was that mirror...?
They show it a few times at the start, including how it looks installed and in use.
Ashley Sommer
Would have been cool to put proximity sensor built into the frame so when you stand in front of the mirror, the display turns on
Nickolas Jackson Brilliant!
Nickolas Jackson I thought so too!
+Mike Hunt .....
Nickolas Jackson couldn't you use just use a motion sensor and some how put some kind of delay on it so when your stood in front of the mirror for about 3 seconds or something
Charlie Jones g
Only am 17 seconds in to this video and I can already tell this channel is amazing.
A few pointers (I'll write as I watch):
A corner clamp can save you a lot of effort and time. They're not hard to make and there are some great tutorials here on RUclips for them. They'll allow you to get perfect clamps on 90 degree angles with minimal effort, so you don't have to spend time to try and match the pieces up like you did early in this video.
A ruler and a knife is better for cutting plexi and similar plastics. You slide the knife along the ruler to make a grove in the plastic, pull the grove over the edge of the table (with a weight, like a board, where you put the tape in this video) and just bend it. The plastic will break off without leaving any broken pieces.
If you can't get a low profile monitor, you can take any flatsceen monitor apart. Most of it is plastic and if you don't disconnect any cables, you don't have to worry about what cable goes where. Then you can rearrange the circuit boards however you like and even get the ports where you want them. The screen is usually very thin, so this method allows you to very thin frames.
Thanks for the tutorial, I learned a lot!
To add to that in the beginning of the video there was a really nice saw in the mitre box that said husky and then you use a hacksaw made for metal to saw the wood pieces #facepalm the other saw would have been nicer and faster and please put some screws in the frame the glue is not going to hold over time make pilot holes first to prevent splitting the wood
for the rest nice tut maybe im going to make one also
this video would be more appealing if you'd add some arial drone shots and skateboarding quick cuts.
+Chabert Garmin you're not wrong...
or some music tbh it's kinda quiet at a lot of points, otherwise awesome idea and project :)
Chabert Garmin That sounds like Trainer tips
why the fuck would you want a ariel drone?
The influence of Casey Neistat's vlogs never fail to surprise me
This was a very cool idea! Now I know what to do with all of those extra TV's I have laying around!
DIY3DTECH.com lol
I am far more impressed by the design of the industrial yet comfy mirror frame design than anything else. Nice job!
This is one of the best magic mirror tutorials out there. Great work guys.
The best way to cut plexiglass is by scoring it with a sharp blade with a straight edge. Hold the section that's scored that you want to part off over the edge of a table and with gentle pressure push down. If it doesn't break, and the whole thing bends, score it some more and try again. Awesome project.
Yes, they had a Stanley knife there, that would have been ideal! Why use scissors?
It does provide an interesting contrast. Lots of tech savvy know how, yet no clue how to cut plexi lol. As much as I appreciate the video and their sharing of the project....DOH!
And using a hacksaw to cut wood - someone missed shop class. 🤔
Good Work, a video has to watch several times
Cool stuff. But a little of me died when you used a hack saw to cut the wood.
He even has a wood saw at the beginning of the video xD Cool project idea though
I came to the comments knowing someone would have mentioned this. haha
Glad I wasn't the only one haha
Wood saw wouldn't fit in the miter box. Lol.
I know inner cringe. Try a miter saw man haha
Made this build 4 years ago and still works great! Thanks
You guys should add a motion sensor so that it would turn on whenever you walk up to it.
I was thinking something more like a distance sensor instead, or a combination of the two.
No kidding!! Running a 23" monitor 24/7 is stunningly wasteful. STUPID mirror.
Caleb Jorgensen You meant proximity sensor :D
Avocat de la Musique Yeah that's what I meant. I couldn't remember the name of it.
motion sensor is correct.... its a class of sensors.
Great work. Keep it up, guys!
I like how casual and chill you all are about engineering.
Well explained, flawlessly constructed. Well done guys, keep them coming!
Brilliant build and concept, it's a wonder why smart mirrors haven't caught on. I, however, would make some changes with the monitor and disassembled it to reduce the overall thickness, after all, all's you needed is the display screen, HTML output and DC.
I'm gonna need you to share with me where you get those monitors with HTML outputs bro? :D
This needs WAY more views.
It looks like it got that
super awesome! I think this may become a winter project for me. Great video!
You guys rock. This was pretty fun. Great work and great use of 3D printers!
You had me til "then we just 3D printed these parts*
great job guys, i love ur vids
Wow this video is great! I would love to see more projects like this.
Very good and detailed explanation, awesome!!! I have never seen a hack saw used for wood cutting, also a framing square is handy when continuing your cutting mark down the side of the board.
That was incredibly impressive. If you do decide to give it an AI aspect, might I suggest it's name be "Mirror Mirror"? It just seems like the poetic choice for anyone talking to their mirror.
Or, going back to Grimm, "SpiegleinSpieglein"!
GlaciusTS I think you meant "magic mirror"
Mister Fish Not at all, I meant Mirror Mirror. Most adaptation of the tale refer to it as such.
+GlaciusTS in Snow white the quote is "magic mirror on the wall". It's a common misconception that it's "Mirror Mirror"
AppleAssassin In the Disney film, yes. But that was not true to the source material. In the Original Grimm tale, it was Mirror Mirror. Calling it Magic Mirror may as well be slapping a Disney sticker on it. :P
This is so cool your amazing man I hope to do things like this
An amazing creation.. you guys did better than any company out there that makes tech.
And you comment section is full of ideas ! they keep comming , great job guys
This is really amazing Sir. I'll definately try this for my third year project. Thankuh So Much!
I'm SO going to build this!
Good luck
I'm StackOverflow going to build this!
Did you build it?
Preeeeetty clever :D
Thank you for show every detail. it's really helpful!
Keep up the great work...really like what the finished product looks like.
You Should Start a Kickstarter Campaign ...Maybe you'll beat Pebble's record ... :)
Thats A really cool product!!Btw
I am questioning if I should start making these and selling them
don't do mostly DIYs but I'm definitely doing this
Did you??
wow!
ich habe mein abschlussprojekt an der technikerschule mit einem raspberry pi und einem einfachen display realisiert aber das hier ist echt handwerklich richtig nice.
das verdient mal wirklich einen daumen nach oben.
you guys make it seem so easy or maybe its just me being completely clumsy when it comes to glueing things together etc. lol! great video!
Hello Sheldon!
could we use a smaller monitor and just have it in the corner of the screen?
Yes
Yup!
Dr porkchop7854 of course no. it uses camera. try to imagine what is going to happen when u do what you said. whole mirror reflects you and a smaller copy of you in the corner reflected by camera.
hakan akdag wtf?! xdd
hakan akdag or a lcd screen over a mirror
This gave me an great idea for my sister's birthday gift. I will start working on this in the spring.
Very cool stuff you are doing. Its making me wanna do it myself right now. Subscribed!
Very cool!
can tell these guys are coders and not carpenters lol. Your cutting wood with a metal hacksaw, and only gluing the corners with no nails. Would not trust the strength long term
If they screwed in those corner 3d-printed corner pieces it will hold together good enough.
tomar5e115 I was thinking exactly the same 😂
tomar5e115 hopefully they used harambe glue...that thing literally held this country together.
15 Sierra the coding and playing with the tiny computer literally broke my brain. So much respect for people who understand that shit. I could build a better surround out of the right tools but the computing part I wouldn't stand a chance!
Nick Jones It's like learning a new language ! It seems daunting and impossible if you never try but it's actually just vocabulary and simple concepts !
You guys should get an award for creativity!
great video, first time I've ever heard of this raspberry pi mini pc, looks like this thing has an endless list of uses, very exciting age we are in
If I do this any day. I would add a light sensor and a IR transmitter. So when the Room Light is off, it would turn off the monitor, saving energy this way.
Does this Application of Smart Mirror always executed or opened automatically when the pi is switched off and then switched on or should we manually execute the. py file everytime pi is switched on??
sambhav jain I believe you should add it as a start up program if you can. I believe you can do this via power commands, at least on unix you can I'm Not too familiar with raspberry pi yet
Spot on with this video, I really think this youtube video wants much more consideration. I’ll in all probability be again to see far more, thanks for that info.
Reading the comments of pretentious carpenters and programmers. It's a great video man.
I'm happy enough to see the mix of actual DIY and programming coming together in one project.
To cut plexi use a razor to score and snap.
you're supposed to score of the film and then snap it not cut it with scissors
OMG! This is so cool! Thanks a lot for posting this. Its really helpful. I will surely try it out. TYSM!
Going to try this. Thank you for providing all the information.
I'm going to modify this and integrate this into my wall and create a smart info wall
RandomVideos but you need the transparency so you would need a see through wall
CyclesArtz use that ridiculous thin tv lg just released
If you want the monitor to be lower profile remove the case and bezel
And potentially damage the monitor.
Its covered with the wood and they have aluminium sub-frames, it is unlikely to damage anything unless you are super clumsy.
As I was watching this, I thought the very same thing. I do it all the time for arcade cabinets. As long as it is mounted securely, you're all set.
Hyss Its the people on the internet were talking about.
Acer makes a super cheap monitor with zero bevel that works great for this. just make sure to get the one that has inputs on the bottom not the back
Motion activation would be a good idea too.
Love the mirror!
Great job guys!!! You'll go far in this world.
I'm sure letting Cortana run wild on it would do wonders for you :)
you should put this project on kickstarter and make it a real product
Schinkenzeit They already stole this idea, i saw it a while back
this was done by tons of people ages ago. there are better implementation open sourced out there.
Besides that would have to design and make their own monitor
I made a similar project this spring. I added script for the mirror to open up the mirror homepage at power-up, so you just had to put power in and no more! Also I made the raspberry turn the screen of at night and during the day when at work for power save.
But nice work with the frame, looks good.
Tommy Frejd hi Tommy. I will like to do same. I really need your help and advise on how u did yours
This is amazing. Thank you guys for sharing!
Hey guys, I'm planning to make this as a gift to my parents for christmas when I return to my country for holidays but I wanted to ask something. I have an old monitor at my house but it doesn't have and HDMI input is it possible to use that for this project? It only has dvi and vga.
+Kostas T. Definitely. We used a dvi to hdmi adapter on ours
Okay then, thanks for the quick answer! Also great video keep it up :D
Kostas T. Either use a dvi to composite or dvi to HDMI
Any one else came here after seeing the tweet on Twitter?
That's so cool and creative, I loved it!
Not a Woodworking expert, but i see the mirror pretty neat. good job guys.
I did this with an old Android tablet last year.
what size was the tablet
You shouldn't cut plexiglass with scissors. Just score it with a utility knife and it will snap off nice and clean.
Very cool. I do plenty of DIY but never include IT like that. Might need to get someone to help me but great post guys!
best raspberry pi project I've seen in days!!
unable to get the weather details,showing error message like No JSON object could be decoded can not get weather,please help
ELECTRICALTOPICS4ALL did ypu find any solution?
Did you find a solution? Having the same problem.
when you are going to be adding to other AI components and what not to the smart mirror.
also, i assume that you could use a larger video monitor for a larger smart mirror.
i also wish that i could add this to the existing mirror in my master bathroom. do you think you could do a project like that in the near future?!?
that would be AWESOMENESS!
We're probably going to post that AI video in about two weeks. We're working on a few things simultaneously right now including our automated bartender. We're going to try to post that video on Sunday.
You could definitely use a larger monitor, you would just have to scale the frame properly.
i cant wait to see the next installment...this is something that i have been pondering in my head for a while.
the project that you posted about drawing inspiration from is very awesome. if you could mimic that with google maps (and traffic) with alexa integration....that would be killer
Alexa integration is too easy. We're making our own AI. >:D
cant wait...you are going to have google maps overlays with traffic?
It would be better to use multiple small
great build would like to mention for cutting the mirror all i did was put my skill saw blade on backwards and it cut perfectly just go slow and it will melt its way though like a factory cut and its quicker
Awesome video! Love this idea and will recommend it to my friends. If you ever decide to sell it as a product i recommend 3 things:1- make it user friendly for the average person (the minute they realize they have to code, they'll panic even if it's easy!) some buttons on the side, or simple application that does those things with a few easy steps from any other device will do the trick!😁 2- A boot file for start up. This is a given cause you don't want break the cool illusion of seamlessness you've created, by having to set up the application from scratch.3- plenty of firewall and security installed. Last thing ya need is a nasty hacker fidling with your beautiful work and causing trouble!
Surely you could get the external ip address dynamically every few minutes, that would be much better.
+Clive Flint already updated on github
Clive Flint www.icanhazip.com
Clive Flint to
So its not good as gift because once reset/power loss will appear there will be raspberry desktop, not our weather?
You can program your raspberryPi to open up automatically at start-up. You should be able to google this. That is how I did it.
Thanks for info.
Im not into linux OS xD
Arek R. you can also get a backup battery for the Pi
Tommy Frejd The program only runs correctly when I open the in-folder command prompt. What command did you use to launch it from the normal terminal?
Nice one! :) Love those gadgets
Very cool guys. Keep on the good job. Cheers!
Is this how the guy created the apple mirror?
Trying to follow this video with my raspberry pi but having a lot of issues. Anyone else discover this? I can install the initial code (HackerHouseYT/Smart-Mirror.git) but can not run the requirements, nor the vim.smartmirror.py. Furthermore, I receive an error when trying to download the python-imaging-tk and it says there is no file or directory 'smartmirror.py'
thoughts?
You might need to install some other things. try "sudo apt-get install vim" and "sudo apt-get install pip". Make sure you also use sudo when downloading python-imaging-tk. Also, are you in the Smart-Mirror directory?
I think I was able to get vim, but when I try the pip command it acts like its downloading it but at the end says " E: Unable to locate package pip". I am using a new raspberry pi 3 Jessie and when I hit " ls -lah" I see that .pip is already a directory (does that mean I have pip installed already? Note, I don't see vim anywhere).
As far as the directory, when I install the first thing in your readme section (sudo pip install git+https:..github.com...) then I find a HackerHouseYT directory but no Smart-Mirror directory. The HackerHouseYT directory is also virtually empty.
**Update**
I have pip and vim installed. I do not find a directory for Smart-Mirror.. however, I found a smartmirror directory under the following address in my pi: /usr/local/lib/python2.7/dist-packages/smartmirror-1.0.0.egg-info
when I hit ls -l in this directory I find the following:
dependency_links.txt
installed-files.txt
PKG-INFO
requires.txt ------- note: this is not requirements.txt as in your video or source code
SOURCES.txt
top_level.txt
when I enter vim smartmirror.py a screen pops up but there is no text at all (as in your video)
when I enter python smartmirror.py my pi says there is no such file or directory.
thoughts?
Viktor Hoogstoel Good to hear that you have pip and vim installed. Okay, I see what the problem is now. Someone submitted a PR to make smartmirror a module, but didn't structure the project properly. Let me fix the Readme.
For now, use the same instructions as the video. You can also download the project as a zip file on the repository page(should be a green button)
Updated repository readme
I have a RPI 4 that is just sitting in my room and this is a great project to use it.
Just got this to work. Marvelous!! Next is the A.I. on mac
You should make these mirrors and sell them
whats up with that weird username pal?
This guy Tryna spam people lol
Can I ask the mirror on the wall who's the most handsome of them all?
masso172 it aint u
dangit
masso172 make it a Voice Command, please! xD
you couldbprobably get google now or cortana working on it
+Ali Williams lmao
I got a Pi Zero from Micro Center for a dollar. I 3D printed a case for it, but had no project ideas for it. Well... nothing more practical than a robot that pushes me down stairs, or one that screams when you turn off the lights... anyway, I can't see a better application for a $1.00 computer than this! Thank you for such an awesome idea and a thorough guide!
This needs more recognition
why would anyone want to build it..just sell it, i will buy it :D
How do You get the mirror to sell it tho
8:30 anyone else thought it cracked
amazing project. you've earned yourself a sub 👍
cool project guys. keep up good work
Maybe add some kind of voice assistant to it rather than having to tap/touch it
Michael Lovell it will be harder to program
Egoin Nitram u could copy some code, but I think it might be a little slower? idk I'm still new to this kinda thing...
Cayden Watkins I tried it brush it off. Twice. 😑
Use the nails.. lol..
Rob Elliott yea I was thinking the same thing .ever move it and something falls against it or drop it and it will come apart
Screws are much better for this.
John Doe I wouldn't recommend screwing into end grain.
great idea. so many possibilities.
Nice one... Good stuff!
this video was 4 months ago.
if you did not put this product in to production at the same time, China is already eating your lunch and they are probably after your dinner now.
Loppo Moreno but China's model will cost more because it will have a hidden camera.
the mirror lol
literally moved the wood saw out of the way to use the hacksaw.
Our wood saw was too big to fit in the miter box. We lost the original.
Hacker House that's usually the time that I go to Harbor Freight or Home Depot and pick up a new mitersaw. But, that's just me.
Good job guys! Another useful feature for the mirror might be to show the fastest route to work
guys seriously that was awesome
great job! if you don't mind i will be giving you a shoutout on my channel!
+Novaspirit Tech Thanks for the support! You are more than welcome to.
Hacker House Hi,
At the first git clone step it says me I've no permission, do you know how to fix it?
Novaspirit Tech a
First thought: Oh! A smartmirror built by a girl! Cool!
Second thought: Aaahhh, okay :D
Great video ! I made myself a bigger one for my bedroom last year that ca regulate temperatures , windows opening and all electronical systems that can be bluetooth controlled .
cool project but i think ill stick to using my smatphone as mirror lols