Introduction
Smart mirrors and interactive displays are becoming common in homes, hotels, and retail spaces. PIR sensors provide an elegant way to activate these displays only when someone is present, saving energy and preserving the mirror effect when not in use.
How It Works
A PIR sensor mounted on or near the display detects approaching people. When motion is detected, the system wakes up the display (turns on power, activates backlight). After a period of inactivity, the display returns to standby or powers off completely.
Applications
Smart Mirrors
Displays information (time, weather, calendar) only when someone is looking. Otherwise, functions as a normal mirror.
Digital Signage
Activate displays only when people are nearby, saving energy and extending display life.
Interactive Kiosks
Wake up kiosk when someone approaches, starting the user experience immediately.
Retail Displays
Activate product information displays when customers are near.
Sensor Placement
- On mirror frame: Bottom or top edge, facing outward
- Behind mirror: For smart mirrors, sensor can be hidden behind IR-transparent material
- On display bezel: Discreet placement on edge of screen
Technical Implementation
// Smart mirror activation with Raspberry Pi
import RPi.GPIO as GPIO
import subprocess
import time
PIR_PIN = 4
DISPLAY_POWER_PIN = 17
GPIO.setmode(GPIO.BCM)
GPIO.setup(PIR_PIN, GPIO.IN)
GPIO.setup(DISPLAY_POWER_PIN, GPIO.OUT)
display_on = False
last_motion = 0
TIMEOUT = 60
def monitor_on():
global display_on
if not display_on:
GPIO.output(DISPLAY_POWER_PIN, GPIO.HIGH)
subprocess.run(['vcgencmd', 'display_power', '1'])
display_on = True
def monitor_off():
global display_on
if display_on:
GPIO.output(DISPLAY_POWER_PIN, GPIO.LOW)
subprocess.run(['vcgencmd', 'display_power', '0'])
display_on = False
while True:
motion = GPIO.input(PIR_PIN)
if motion:
last_motion = time.time()
monitor_on()
if display_on and (time.time() - last_motion > TIMEOUT):
monitor_off()
time.sleep(0.5)
Energy Savings
Smart mirrors and interactive displays can consume significant power. PIR-based activation can reduce energy consumption by:
- 80-90% for smart mirrors (display off most of the day)
- 60-70% for digital signage in low-traffic areas
- Extended display life (fewer operating hours)
Case Study: Hotel Smart Mirror Installation
A hotel chain installed smart mirrors in guest bathrooms. The mirrors display weather, news, and hotel information when guests approach. With PIR activation, power consumption dropped by 85% compared to always-on displays, while guest satisfaction improved due to the “magic” effect.
Design Considerations
- Sensor should be invisible or minimally visible
- Detection range should match display placement (0.5-2m typical)
- Timeout should be long enough to avoid cycling during use
- Manual override option for when sensors fail or user wants persistent display
Conclusion
PIR sensors enable smart mirrors and interactive displays to be both engaging and energy-efficient. When properly implemented, they create a magical user experience while significantly reducing operating costs.
