Keep your Raspberry Pi safe - Another Geek Moment | The Resident Geeks
This time on Another Geek Moment, Kyle demonstrates how a specialized solenoid is used to latch and unlatch the lid on a plastic Pi(e) case using a Raspberry Pi, a magnetic sensor and a few custom circuits.