Do I Need a Relay for My Digital Lock?

  • Thread starter Thread starter manshuk89
  • Start date Start date
  • Tags Tags
    Relay
AI Thread Summary
A digital lock operating on 12V DC can be connected directly to mains power, and a keypad can be integrated to control access through a code. Using a relay is recommended for added isolation and to manage inductive current from the lock solenoid, despite concerns about relay reliability due to moving parts. The user successfully implemented a password-protected lock with a relay and plans to enhance the system by changing the password every two days and sending SMS notifications to selected individuals. They seek advice on incorporating a GSM device for SMS functionality. This discussion highlights the importance of relays in digital lock systems and the potential for advanced features.
manshuk89
Messages
7
Reaction score
0
i have just purchased a digital lock that works on 12v dc...
the lock has a transformer and a rectifier , hence i connect it directly to the mains...
when i switch the button on, the lock opens...

now i want to connect a keypad to this digital lock such that it opens only when a correct code is entered...
my question do i need a relay to operate this mechanism..? if yes then why?
 
Engineering news on Phys.org
If the keypad runs on 12V dc (regulated), then you could use an npn open collector (common ground) to operate the lock. A relay does provide an extra layer of isolation, however, in case the lock solenoid requires a lot of inductive current.
Bob S
 
A relay is an old fashioned device which does a lot for you. It provides very good isolation (it can switch AC, for example) and, effectively, very high signal amplification. You may need a diode and capacitor to deal with switching spikes with an inductive load but that is not a problem. The only thing wrong with relays is reliability, because they have moving parts (and, of course, they are non-linear). Nonetheless, they are a very effective low-cost way to achieve just what you seem to want. Reliability is not really an issue.
 
thanks a lot for the reply guys...
i have successfully made a password protected lock using a relay... i think i will add the diode for protection against spike just in case...

i am now thinking about takin this module to the next step...
i want the password to change every 2 days and a notification 2 be sent via an sms to the mobile phones of some predetermined individuals...

i know a few mechanisms of password generation...
can anyone tip me as how to incorporate a gsm device for the sms purpose?
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...

Similar threads

Back
Top