Halloween project - jack-o-lantern vision

I thought I’d post progress here as I’ve a few interesting bits to share so far. So, my idea was to use a Pi with a wide angle night vision camera to detect the motion of passers by and use this to trigger a jack-o-lantern to watch/follow them as they walked past. Hopefully in a kind of spooky/creepy manner! Then maybe I can add lighting effects/sounds too depending on how well that first part goes.

I started devising some kind of mechanism to sit my pumpkin on that would allow it to rotate. I think I’m going to keep the camera fixed (rather than mount it on the rotating part) as it should simplify the tracking part to start with.

I came up with this (CAD in Fusion 360):

The idea being that the scary-looking spikes will stick into the pumpkin to hold it in place, then the plate sits in a bearing and can be rotated by a stepper motor with belt drive pulley underneath.

About 32 hours of printing later I had the following. The bearing might be a little over spec as I think it’s a wheel bearing from a truck, but it works! :smile::

Now to work on the software and electronics!

3 Likes

Zero marks for effort on the pumpkin carving aspect of this project (so far):


IMG_1289
IMG_1290

IMG_1301

1 Like

I got some basic tracking working (just following a light). Next up is to move this to person/pedestrian detection!

2 Likes

OK so I have done a bit more work (time is running out!).

Got all the electronics to a prototype stage and off the breadboard:

And actually carved a pumpkin, which now has a Sense-HAT for lighting purposes!

5 Likes