Raspberry Pi Scary Movie
Bruce Campbell for President!
The Raspberry Pi "brain" of this project is playing one of my all-time favorites, " Evil Dead " through a video projector. A marathon of Zombie related films and shows will play non stop until the little ghouls and ghosts arrive. Then the fun begins. (Evil laughter)
When the time comes, a python code will be initiated that will capture video of the trick or treaters and project video preview for them to see their scary costumes. This is only when motion is detected by the PIR motion sensor.
The Raspberry Pi and the Skull.
One eye is a Raspberry Pi 8MP NoIR Camera and the other is a PIR Motion Detection Sensor
A flexible camera tripod will serve as the body.
The PIR Sensor looks a bit like a dead eye bulging out of the socket, and that eye is watching you.
Not sure which is more creepy, this project or my workshop.
It was necessary to surgically remove the back of the cranium in order to gain access.
PIR Sensor Output Pin is connected to GPIO 4. Plenty of GPIO Pins still available. Loctite Fun Tac is blue stuff.
Kapton Tape has been used to secure the Pi 3 to a piece of foam project board, and that foam board has been electrically insulated with black electrical tape on the side.
All contacts on the bottom side of the Pi 3 has been covered by Kapton Tape as well.
Base of Cranium is attached to 3M Command and Camera Tripod until a more suitable body is built.
Python Code for detection of intruders with Pi Camera and PIR Sensor without camera preview.
from picamera import PiCamera from gpiozero import MotionSensor camera = PiCamera() pir = MotionSensor(4) while True: filename = "Intruder.h264" pir.wait_for_motion() camera.start_recording(filename) pir.wait_for_no_motion() camera.stop_recording()
Python Code for detection of intruders with Pi Camera and PIR Sensor with camera preview.
from picamera import PiCamera from gpiozero import MotionSensor camera = PiCamera() pir = MotionSensor(4) while True: filename = "Intruder.h264" pir.wait_for_motion() camera.start_preview() camera.start_recording(filename) pir.wait_for_no_motion() camera.stop_recording() camera.stop_preview()
Raspberry Pi NoIR Camera v2 test
Raspberry Pi NoIR Camera v2 and PIR Sensor test
Sample of Video captured with the Raspberry Pi NoIR v2 Camera and PIR Sensor
My costume for this year.
Happy Halloween from Trent
Top Comments