smrubin / pensieve

A real-life Pensieve from Harry Potter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pensieve

This project is a real-life recreation of the Pensieve from Harry Potter. Using a Raspberry Pi, water level sensors, and other components, the final product plays a custom video beneath glowing water when a vile of water is poured into the basin.

Check out the blog post on the project here

Demo of the Pensieve in Action

Materials

To recreate the Pensieve as outlined in this repo, you'll need the following:

Water Level Detection with the Raspberry Pi

The core of this project's setup revolves around the Raspberry Pi being able to detect a water level change digitally so that it can trigger the playing of a video.

I used an adhesive strip to attach the water level sensor to the inside of one of the plastic containers, with the sensor flush against the bottom. I then connected the Raspberry Pi, GPIO breakout board, breadboard, analog-to-digital converter, and water level sensor as shown in the schemasitc below. Also checkout the fritzing file.

I also added the python script to the Raspberry Pi and had it running in the background. When water is detected by the sensor, the script can perfrom an action, in this case the playing of a video I also added to the Pi.

Pictures of Development and Final Product

Sketch of Pensieve Mechanics

Water Detection with the Raspberry Pi

Pensieve Basin Resting on Mount

Pensieve Mounted and Ready for Action

About

A real-life Pensieve from Harry Potter


Languages

Language:Python 100.0%