Smart Mirror

This project is a mirror that has an lcd panel behind it, that is connected to a raspberry pi, that is running the Smart Mirror Application.

Tawfik Ahmed

Computer Science

Cristo Rey Brooklyn High

Incoming Senior

Reflection

I have a learned a lot through my time in BlueStamps, I can finally say with pride that I have experience coding with python, and building projects with a Raspberry pi. I also learned how to use word press, word press is a useful program to know in the tech field.  Although I have had a lot or trials and errors, I have learned how to self troubleshot in which I think is a great skill to have, especially as a high school kid. BlueStamp has truly been a blessing for me, it has helped so much in expanding  my knowledge in hardware and programming. I will forever be honored and great full to be apart of such a marvelous program.

Final Milestone

Module code
var config = {
address: “localhost”, // Address to listen on, can be:
                      // – “localhost”, “127.0.0.1”, “::1” to listen on loopback interface
                      // – another specific IPv4/6 to listen on a specific interface
                      // – “”, “0.0.0.0”, “::” to listen on any interface
                      // Default, when address config is left out, is “localhost”
port: 8080,
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”], // Set [] to allow all IP addresses
                                                       // or add a specific IPv4 of 192.168.1.5 :
                                                       // [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.5”],
                                                       // or IPv4 range of 192.168.3.0 –> 192.168.3.15 use CIDR format :
                                                       // [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.3.0/28“],
language: “en”,
timeFormat: 12,
units: “metric”,
modules: [
{
module: “alert”,
},
{
module: “updatenotification”,
position: “top_bar”
},
{
module: “clock”,
position: “top_left”
},
{
module: “calendar”,
header: “US Holidays”,
position: “top_left”,
config: {
calendars: [
{
symbol: “calendar-check-o “,
}
]
}
},
{
module: “compliments”,
position: “lower_third”
},
{
module: “currentweather”,
position: “top_right”,
config: {
location: “New York”,
locationID: “5128638”,  //ID from http://www.openweathermap.org/help/city_list.txt
appid: “11584108df890b59578ce863bab9d3c2”
}
},
{
module: “weatherforecast”,
position: “top_right”,
header: “Weather Forecast”,
config: {
location: “New York”,
locationID: “5128581”,  //ID from http://www.openweathermap.org/help/city_list.txt
appid: “11584108df890b59578ce863bab9d3c2”
}
},
{
module: “newsfeed”,
position: “bottom_bar”,
config: {
feeds: [
{
title: “New York Times”,
}
],
showSourceTitle: true,
showPublishDate: true
}
},
                {
              module: ‘MMM-Astrology’,
              position: ‘bottom_left’,
              config: {
      starSign: “Cancer”,
      hScope: “daily”,
      maxWidth: “350px”,
}
               },
               {
                     module: “MMM-NowPlayingOnSpotify”,
                     position: “top_center”,
                     config: {
                     showCoverArt: true,
                     clientID: “1c74dd780bb44323bf30aa793443d070”,
                     clientSecret: “c14e73f6cbbf45eea1295263b9173a0d”,
                     accessToken: “BQANqy7Lv0PYnZvAG4HB-Y1jWf6kIRtKeKO5QMPELx9KvU9XxlQCc0sDHWsKBZIq63TXqWExvjaGcI7UbPY6W3N5mVRny1Iqtlu85LKmob2_0Hwbuc_Y83MC1XPda7waKiPUT6VmMtyjFFDBHNPAwfBFvcyE”,
                     refreshToken: “AQBKj7bSDK24KiEndWrlIkLne2BH6eATRS4W-ae_NeyA4CBeKeqEjPSke55qbaCKBJz5j_CFP7HsTuapnIUrPuZyfoSSq7SnShq8OUI14ON0w7k4Rypun-Cwunn1Apox7q4”
  }
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== “undefined”) {module.exports = config;}

My Third Milestone was to complete at least one modification, I completed the weather modification buy cloning the application for the module from git hub, I then took the code and put in to my Config file that is located in my modules folder, that is in the Magic Mirror Application. after a couple of trial and errors I finally got it to work. I then changed the placement of the module to “upper right”

Second Milestone

Build of Materials

1080 p Monitor

2 by 4 wood for the frame-  Local Home-depot

hdmi cable

Transparent  Mirror-

Raspberry Pie Kit

My second mile stone was to officially finish the building part of the Magic Mirror. I accomplished this by measuring the Mirror to the exact size of the frame. I then tweaked the sides and edges of the mirror to make it fit perfectly within the frame. I then worked on putting the monitor in the frame. I accomplished that with several pieces of 2 by 4 wood pieces, I measured the exact length of wood that I needed, I then used a wood cutter saw, and cut them. Then by using several small pieces of 2 by 4 wood I held the monitor in place. I tested it several times and it held perfectly. Now my next milestone is to finish the modifications on my main project.

First Milestone

My First Mile Stone was for me to actually set up the  raspberry pi, I accomplished that by going to the raspberry pi website and downloading Noobs on my sd card, I then installed it on my raspberry pi, and choose Raspbian as my operating system and it booted it up. I then learned how to use the raspberry pi through the SSH, Which allowed me to use my raspberry pi through my computer. I then downloaded the magic mirror installation package, and now I’m working on programming it

Starter Project

My beginner project was the “Minty Boost”. On a difficulty level 1 to 10, I would say it’s a solid 3, it really wasn’t hard,l. It just consisted of me soldering on the right components on the right spots on the “PCB”, such as “IC Socket, which protects the LT1302 chip, which maintains high efficiency over a wide range of output currents by storing the power through a magnetic field using inductors. The Power inductor which adds a kind of momentum to the current and boost the voltage to maintain that current, and the Electrolytic capacitors which helps smooth both the input and output voltages, also the schottky diode which Is a part of the boost converter that regulates the transfer energy from input to output, which basically makes sure that energy is transferred only in one direction from batteries to usb port. After that I soldered on the 2xAA battery holder”, and then tested it, and it worked. Over all I learned a lot from it, can’t wait to learn more.

Leave a Comment

Start typing and press Enter to search

Bluestamp Engineering