At Tog Hackerspace, we love helping artists bring their visions to life by combining technology with creativity. One recent project, led by me, Jeffrey Roe, involved modernizing an older artwork that originally used a film camera, and upgrading it to use a digital projector and new sensors. The high-level concept was simple but striking: if a person was detected in front of the screen, the video should stop, and the screen should go black.

This collaboration took place over several months, working around the artist’s availability and my own time outside my day job. We began by choosing a Raspberry Pi as the brains of the project. Initially, I used an ultrasonic distance sensor to detect when a person was present. I wrote the control software in Python, using VLC Player to handle video playback. The script managed VLC through subprocess calls, ensuring that the video would start and stop as needed. To make the setup more seamless, the Raspberry Pi was configured as a server to auto-start, log in the user automatically, and hide the mouse cursor from the screen.