Coder Social home page Coder Social logo

smart-mirror's Introduction

smart-mirror (work in progress)

##Intro Couple of months ago I've seen this Magic mirror project somewhere on Youtube. I've really liked the idea and it got me really interested in building my own. It would include some programing, hardware, wood working... So I decided to build it.

##Hardware

I bought/collected/borrowed the folowing things and started working.

  1. Raspberry Pi 3 Model B
  2. Keyboard
  3. Mouse
  4. Screen (an old VGA one)
  5. HDMI 2 VGA adapter
  6. DHT11 sensor

###Screen

Got an old screen and striped it to bare bones. Newer monitor would be better and there would be no need for HDMI2VGA adapter but this was easy and cheap.

Also I taped it with ductupe just for good measure (and to hold all components together). Later I reused the metal holder because it just simplified everything.

##Software

This was the easiest thing. There is an awesome Magic Mirror library that gives you everything to start with to build your own Smart/Magic/Awesome Mirror.

There is also a lot of modules that can be installed and shown on the screen. All about different modules that other people built can be found here.

After some fiddling with configurations and Github repos for different modules and trying different setups this was the first satisfactory result.

Temperature and humidity monitoring

I used DHT11 sensor to monitor environmental (in the apartment :)) temperature and humidity.

Steps:

  1. Found the sensor on Amazon
  2. Tutorial on how to connect everything properly.
  3. Implemented my own module for Magic Mirror library to show the data.

##Glass

This also proved to be chalenging. For this project you need 'two way mirror' or otherwise called 'spy glass'. It can be a bit hard to find and it's very expensive.

I needed 40x60 cm glass because my screen was 31x50 cm and I wanted the mirror to be a bit bigger that that.

I live in Berlin and had couple of options to choose from. They were all equaly expensive and everything seemed quite similar expect the thickness so I choose the smallest one of 4 mm that could be delivered reasonably fast and paid for it 60โ‚ฌ.

###Issues The glass is nice and light and very reflective. However the problem is transparency from the other side. It definitelly is transparent but also darkens the screen quite a bit. I need to take in account that my screen is old and not very bright but this was a bit of setback. I need to play a bit more with different birghtnesses and settings to get the best of it.

##Frame

This was the fun part - I had almost no tools. I bought a hand saw and borrowed a drill from a friend. These were all the tools that I used and everything came out quite nice. So this shouldn't be a reason not to build it on your own.

Even if you have no experience, with some planing, meassuring things 5 times before cutting - everything will work out great.

Also, some elbow grease, glue and screws helps a lot.

I was really happy with how it turned out.

##Final product

After tweeking the CSS and screen brightness this is what I've ended up with. Prety happy with the result I must say.

TO DO

smart-mirror's People

Contributors

bernardpletikosa avatar

Stargazers

Sorin Petrus avatar

Watchers

James Cloos avatar  avatar

Forkers

charanya13

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.