Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Raspberry Pi powered smart mirror
Rating: 4.0 out of 5(28 ratings)
305 students
Last updated 12/2016
English

What you'll learn

  • Setup their very own Raspberry Pi powered smart mirror
  • Write basic HTML and CSS code for a smart mirror web page hosted on an Apache 2 HTTP server
  • Write JavaScript code to create a digital clock element for aforementioned web page
  • Write PHP code to read and display RSS feeds
  • Setup Chromium browser on the Raspberry Pi to autostart on boot

Course content

3 sections15 lectures59m total length
  • What will you learn from this course?3:23

    This lecture will focus upon the course itself. It will act as an introduction to the course content, and will also talk about what you will learn from this course.

  • Smart mirror project requirements2:40

    This lecture talks about the various hardware and software requirements of this course. 

    This lecture also contains an brief introduction to the Apache HTTP server application.

  • Getting started - setting up your Pi7:21

    The beginning of our smart mirror project, this lecture deals with setting up your Pi. This involves installing Apache HTTP server and PHP5 on the Pi, and making changes to the Raspberry Pi boot and timezone configurations.

  • Section 1 Quiz:

Requirements

  • You should know how to setup and work on a Raspberry Pi
  • You should understand basic Linux commands and utilities
  • Rudimentary knowledge of HTML and CSS is necessary to understand the project and to develop the project further
  • Elementary knowledge of JavaScript and PHP code is also necessary if you wish to understand and develop/modify the project
  • While this course does not teach or include any woodwork involved in completing the mirror, carpentry skills can be of use in crafting your mirror frame/cabinet

Description

This course is meant as a active learning/DIY project to learn the basics of scripting languages, while working on something fun.

This course will focus upon teaching you to setup and build your own smart mirror display. This involves creating and coding a custom web page and hosting it on a Raspberry Pi using the Apache HTTP server application.

To learn how to build your own magic mirror, we will first focus on writing a base HTML script for the website, and adding basic elements - a clock, a periodically updating news feed, and a periodically updating weather feed, to it. Once this is done, we will create a cascading style sheet (CSS) doc and customize our web page to give us the required display for a smart mirror.

 This course involves the use of basic concepts from multiple programming languages. We will be using JavaScript to program the clock display. We will also be using PHP for the two RSS feeds - news and weather. Finally, we will put all this together in our HTML script and edit the presentation of our HTML document using a CSS file to make the display visible through a partially mirrored surface.

Who this course is for:

  • This course is meant for anyone interested in setting up their own Raspberry Pi powered smart mirror
  • This course is also meant for programmers with a very basic working knowledge of HTML, CSS, JavaScript, or PHP, to learn the basics of the smart mirror and then customize/improve it as a learning experience