I teach how to build controls panels and PLC programming at my local community college. I start every new cohort with building a latching relay circuit, both physically and in PLC ladder Logic, as this is the building block of Industrial Controls Systems (ICS).
This project is designed to give my students some fun and practical experience on working with latching relays.
The aim of this project is for the students to carry out all the wiring themselves, and in the process set-up their own unique combination for the Logic Lock.
To make it more interesting there is a timer in the circuit that prevents the lock from opening when it reaches zero. The timer activates as soon as the clear cover is removed and the microswitch activates. With the count drown dropping every second (at 1 Hz) it adds a bit more pressure to the code breaking challenge.
And in a sneaky twist I have made the Timer so you can control it with your phone. The Pico works as an access point and also hosts a website where the controller can manipulate the timer. This means even if some smart student works out how to bypass the micro switch the timer can still be activated remotely.
There's a full description of the build below but if you just want to see it in action take a look at this video.
Tom Goff


FiZiX
timlindquist
Jamie
osharuda