Create a Programmable Timed Circuit for Electric Locks | Step-by-Step Guide

  • Thread starter Thread starter shahmeer
  • Start date Start date
  • Tags Tags
    Circuit
Click For Summary
SUMMARY

This discussion focuses on creating a programmable timed circuit for electric locks using a microcontroller, specifically a PIC. The circuit design includes three switches that activate sequentially after 5, 10, and 15 minutes following an initial button press. The user seeks guidance on the necessary components and programming for the microcontroller to manage the timing and control the electric lock. The implementation requires a basic understanding of programming in languages like BASIC or C.

PREREQUISITES
  • Understanding of microcontroller programming (e.g., PIC programming in BASIC or C)
  • Basic electronics knowledge, including circuit design and components
  • Familiarity with electric locks and their operational requirements
  • Experience with timing circuits and relay control
NEXT STEPS
  • Research the Microchip PIC microcontroller and its programming capabilities
  • Learn about relay circuits and how to interface them with microcontrollers
  • Study timing circuits and how to implement delays in microcontroller programming
  • Explore electric lock specifications and integration with control circuits
USEFUL FOR

Electronics enthusiasts, hobbyists, and developers interested in building programmable circuits for security applications, particularly those working with electric locks and microcontroller programming.

shahmeer
Messages
6
Reaction score
0
Hi,

First I'd like to say that I'm a complete noob so please excuse my ignorance.

What I'm trying to achieve is essentially a switch that opens after a certain time. In my circuit, I want to have three of these "switches", the first switch set to open after 5 mins of a button press, the second switch 5 minutes after the first switch, and a third switch 5 mins after the second switch. To achieve this I was thinking that, at the initial button press, the "timer" for each switch would be set to 5 mins, 10 mins, and 15 mins respectively. At the push of another button, the "switches" would be reset to "listen" for the push of the start button (the first button press).

My question is what can do I use for this "switch"?

http://syntaxdonors.org/circuit.PNG

Here is a really simple diagram to help illustrate what I want (Sorry for the weird symbols). The empty rectangles represent the "switch", ideally they would be programmable so that the times can be changed. The dotted square with the triangle (similar to play symbol) is the push button that initiates the timers. The dotted square with the circle is the reset push button, the button that resets the timer. the rectangle with the zigzag lines represents a load, in this case and electric lock (fail-safe). When the time is up, the switch opens causing the electric lock to open.

Again sorry for my lack of knowledge. Thanks
 
Last edited by a moderator:
Engineering news on Phys.org
shahmeer said:
Hi,

First I'd like to say that I'm a complete noob so please excuse my ignorance.

What I'm trying to achieve is essentially a switch that opens after a certain time. In my circuit, I want to have three of these "switches", the first switch set to open after 5 mins of a button press, the second switch 5 minutes after the first switch, and a third switch 5 mins after the second switch. To achieve this I was thinking that, at the initial button press, the "timer" for each switch would be set to 5 mins, 10 mins, and 15 mins respectively. At the push of another button, the "switches" would be reset to "listen" for the push of the start button (the first button press).

My question is what can do I use for this "switch"?

http://syntaxdonors.org/circuit.PNG

Here is a really simple diagram to help illustrate what I want (Sorry for the weird symbols). The empty rectangles represent the "switch", ideally they would be programmable so that the times can be changed. The dotted square with the triangle (similar to play symbol) is the push button that initiates the timers. The dotted square with the circle is the reset push button, the button that resets the timer. the rectangle with the zigzag lines represents a load, in this case and electric lock (fail-safe). When the time is up, the switch opens causing the electric lock to open.

Again sorry for my lack of knowledge. Thanks

One of the simplest and most flexible ways to do this would be with a small microcontroller like a PIC:

http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2519&param=en025315&page=wwwPICmicroDemo

You would write a simple program to sense the switches, do the timings, and drive the relays. Do you have any programming experience? The PICs can generally be programmed in simple BASIC or C languages...
 
Last edited by a moderator:
Ya I have lots of experience with Java and learning how to program the chip shouldn't be a problem. Would you mind detailed the circuitry of this implementation? (would I need any capacitors and resistors, etc)

The locks I plan to use are fairly similar to these: http://www.sdcsecurity.com/docs/DBDocs/MicroCabinetLock_Datasheet.pdf

Thanks a lot.
 
Last edited by a moderator:

Similar threads

  • · Replies 5 ·
Replies
5
Views
929
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
6
Views
1K
Replies
3
Views
2K
Replies
4
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K