vincent7128 / RaspberryPi-Magic-Photo

Raspberry pi magic photo system, use PIR sensor to activate photo to be like as "Harry Potter" magic photo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raspberry Pi - Magic Photo

Work on Raspberry Pi use GPIO listen PIR sensor send command through WebSocket, Make photo live to be like as "Harry Potter" magic photo.

📺 Demo On Youtube

System Environment

Raspberry Pi 3
OS: RASPBIAN STRETCH WITH DESKTOP - 2017-11-29
nodejs: v4.8.2
pigpio: 1.64-1

Wiring diagram

Wiring Diagram

Install

$ git clone https://github.com/vincent7128/RaspberryPi-Magic-Photo.git
$ cd RaspberryPi-Magic-Photo
$ npm install --save
$ sudo node index.js

*** Open browser http://localhost:8000, it show be done! ***

Full screen mode

*** before you run under command, close all browser window ***

$ chromium-browser --kiosk http://localhost:8000

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Raspberry pi magic photo system, use PIR sensor to activate photo to be like as "Harry Potter" magic photo.

License:MIT License


Languages

Language:JavaScript 77.1%Language:HTML 16.2%Language:CSS 6.7%