Raspberry Pi powered smart mirror

person icon Venkatesh Varadachari

Raspberry Pi powered smart mirror

Learn how to build, design, and Customize your very own Raspberry Pi powered smart mirror!

updated on icon Updated on Sep, 2023

language icon Language - English

person icon Venkatesh Varadachari

architecture icon IT & Software,Hardware,Raspberry Pi


30-days Money-Back Guarantee

Training 5 or more people ?

Get your team access to 19,000+ top Tutorialspoint courses anytime, anywhere.

Course 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


What will you learn in this course:

  • 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


What are the prerequisites for this course?

  • 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

Raspberry Pi powered smart mirror


Check out the detailed breakdown of what’s inside the course

Smart mirror - getting started
4 Lectures
  • play icon What will you learn from this course? 03:23 03:23
  • play icon Smart mirror project requirements 02:40 02:40
  • play icon Getting started - setting up your Pi 07:21 07:21
  • play icon Course Resources and Quiz
Smart mirror - coding the web page
4 Lectures
Smart mirror - cleaning up
4 Lectures

Instructor Details

Venkatesh Varadachari

Venkatesh Varadachari

Course Certificate

User your certification to make a career change or to advance in your current career. Salaries are among the highest in the world.

sample Tutorialspoint certificate

Our students work
with the Best

Related Video Courses

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
People having fun around a laptop

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
People having fun around a laptop

Talk to us