Raspberry Pi starring in " Zombie Pi " The Movie

Raspberry  Pi Scary Movie 

 

This video is unavailable.

 

        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.

 

image

The  Raspberry  Pi  and the Skull.

image

     One eye is a Raspberry Pi 8MP NoIR Camera and the other is a PIR Motion Detection Sensor

 

image

A flexible  camera  tripod  will  serve  as  the  body.

image

The  PIR  Sensor looks a bit  like  a  dead eye bulging  out  of  the  socket, and that eye is watching  you.

image

     Not sure which is more creepy, this project or my workshop.

image

It was necessary  to  surgically  remove  the  back of the  cranium  in order  to  gain  access.

image

     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.

image

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.

Project Iron Pi Zero Mark II

 

 

Happy Halloween from Trent

 

Parents
  • Hey Trent, the pictures show that it is really cool, but I am not sure what is it doing?

  • I'm guessing that it records video when the PIR detects motion and ceases recording when no motion is detected anymore . . . . . . .

  • Looks like it, now that I have read the code.

    Trent have you thought about triggering something on the screen when people walk by, you could film their reaction to a jump scare!

  • This is  what  the  python  code is for. A preview  of what  is  seen  by the  camera is displayed  by the  projector when  motion  is detected  and a video  is captured  until  motion  is no longer  detected.

     

    And by omitting the  camera preview, video  can be  be captured  without  alerting  the  intruder as well.

     

    The video  is a demonstration  of  one  of  it's  other capabilities  as the  media  source  for  the  projector.

    It is  playing  a scene  from  the  movie  " Evil Dead ". There is  about 20GB  of  Zombie  related  movies  and shows  on the  microSD. This  will  only  play  until the ghosts  and  ghouls  arrive  for  the  candy.

     

    I was working  on  the  addition  of some  code for   a   sound  effect  and IR LED flash to  be triggered  when  motion  is detected. Unfortunately  there  was  not  enough  coffee  to  continue  work  on  the  code early  this  morning.

Comment
  • This is  what  the  python  code is for. A preview  of what  is  seen  by the  camera is displayed  by the  projector when  motion  is detected  and a video  is captured  until  motion  is no longer  detected.

     

    And by omitting the  camera preview, video  can be  be captured  without  alerting  the  intruder as well.

     

    The video  is a demonstration  of  one  of  it's  other capabilities  as the  media  source  for  the  projector.

    It is  playing  a scene  from  the  movie  " Evil Dead ". There is  about 20GB  of  Zombie  related  movies  and shows  on the  microSD. This  will  only  play  until the ghosts  and  ghouls  arrive  for  the  candy.

     

    I was working  on  the  addition  of some  code for   a   sound  effect  and IR LED flash to  be triggered  when  motion  is detected. Unfortunately  there  was  not  enough  coffee  to  continue  work  on  the  code early  this  morning.

Children
Related
Engagement
Recommended