Smart Mirror

Using the MagicMirror open source, modular smart mirror platform for the HUD. Modules include: Synced Google Calender, Local Weather, Daily Quotes, and more.

 

Motion Detection using RCWL-0516 Doppler Radar Microwave Sensor. Offers omni-directional detection, longer range, and can detect through glass (vs. PIR: limited detection angle, cannot detect through glass, and the biggest offender, looks like a wart). Minor caveat with RCWL-0516, it detects too well. False positives from movement in adjacent rooms can occur. To adjust the range, I replaced a specific SMD resistor with a Trim Pot (learn more in links below).

 

Custom written Python scripts: Primary script provides communication between Motion Sensor, LEDs, Monitor, and Pi (see video demo). Another script to automate Cooling Fan, integrated Transistor and Flyback Diode to control on/off state. Scripts run continuously on boot using cron jobs.

 

16″x45″ Two-way glass mirror sourced locally.

CategoryDescriptionAmount
CanaKit Raspberry Pi 3 B+ w/ Case and 2.5A Power Supply $60.00
SanDisk 16GB MicroSD $6.00
RPI Cooling Fan $5.00
PIR Motion SensorsDetects Infrared Radiation from body$16.00
Jumper WiresFor GPIO connections$7.00
RPI Camera Module $13.80
5m WS2812B LED Strip. 30p$18.99
5v 10a PSU$22.50
Female DC Power Adapter 10pcs $8.45
90deg HDMI Adapter 6pack $9.00
Frame Hardware  
3M VHB 4910 Heavy Duty Mounting Tape – 0.75 in. x 15 ft $21.00
Wood Screw #6 3/4″ 100pcs $4.68
Corner Brace 1.5″ 24pcs $14.00
1×3″ 6ft Pine Boardx2$15.00
16×45″ Two Way MirrorAlamo Glass ATX$155.00
French Cleat hvy duty Hangman Z-Hanger $13.43
   
 Total$389.85

RPi 3B+

  • 5.1 Volts
  • Recommended PSU Current Capacity – 2.5A
  • Max Total USB Peripheral Current Draw – 1.2A
  • Typical Bare Board Active Current Consumption – 500mA

WS2812B LED. 5meters. 30p/m –

  • 5 Volts
  • 9amps
  • 9w/m, total 45 Watts

“LED under full load (= maximum brightness) needs about 60mA. At 5m and 30 LEDs / m, this is 9 amps.”

Power Supply

  • 5 Volts
  • 10 Amps 

“AC/DC Converter 100-240V AC to DC 5 Volt 50W 10Amp 9A 8A 7A 2A Transformer”

Barrel Connector

 

  • PSU, Rewiring for LEDs.
    • 114in = 9.5ft = 3m.
      • 60leds/m. 180 total. 
      • Max draw per = 60mA
  • 10.8amps at max
  • Mini power strip to socket in:
    • Pi, Monitor, LEDs
  • Motion Detection sensitivity adjustment
  • Cronjob for turning off and on during day and night
  • Pi fan install w/ resistor
  • Determine size of wood for frame
  • Depth of wood
  • Determine location of vertical monitor
  • How to attach frame to mirror?
    • 3M VHB Double Sided Tape
  • How to hold monitor?
    • Disassemble Monitor, electrical tape edges
    • Screw in L brackets
  • How to hang frame?
    • French cleat
    • Ikea Brackets
    • L Bracket
  • Black out backing?
    • Black Vinyl/Paper?
    • Paint Wood Black with BASICS Black Acrylic paint
  • Minimize Frame Depth – 90 Deg HDMI 

Inspiration