Magnetic Door Lock

Hey,

Looking to control a Magnetic door lock. Looking at the following Magnet: http://www.screwfix.com/p/mortice-magnet-door-lock-12-14v/49066
I'm guessing I'll need a 12V supply, I've read somewhere that 12V @ 500mA, and 24V at 250mA, so will need to use a resistor. ( http://www.ebay.co.uk/itm/12V-1A-12W-Power-Supply-our-Door-Access-Systems-/120702710517 )

Next, I will need a relay. http://www.ebay.co.uk/itm/2-Channel-12V-Relay-Shield-Module-for-Arduino-ARM-PIC-AVR-DSP-SRD-12VDC-SL-C-New-/220950554434

Am I going a long the right tracks? Anything else I should take into consideration when connecting all this together, any extras needed between the relay and Arduino?

I really don't fancy spending money on stuff I really don't need to spend it on :slight_smile:

Many thanks.

Whoops,

Am I right in thinking that the Relay I've just provided, requires a 12V voltage to turn the relay on and off, so the Arduino won't be able to switch it on and off? or am I right in thinking that this Relay will accept a 12V input (I.E the adapter I said above)

or, would this: http://www.ebay.co.uk/itm/120931923504 be what I'm looking for. (as it can take 10A at 30VDC)

Thanks again

xerof,
You won't have to use any resistors as the lock seems to be able to run at both voltages.

I don't know why you choose relays in pairs ... do you need more than one?

Yes, there may be an issue around the current available on an arduino-pin to run the relay. They shouldn't make the advertizing as they do (the 5V relay), unless it would work right away from the arduino though. The alternative is to control a transistor from arduino, and that in turn is connected to the 12V. It's no big deal and it's cheep.

my 5ps worth

Hey,

Thanks for the quick response. I ordered the 5V Relay last night. If I'm right, what you are saying is that the Arduino might not have the power to operate the Relay correctly?

I just brought it as a pair just because of the price and wasn't sure if I needed the second one for anything at the time.

xerof:
If I'm right, what you are saying is that the Arduino might not have the power to operate the Relay correctly?

Check the specs for the arduino-pin max current (I think it's around 20 mA [micro?]) and the expected current for the relay (or the wattage = amp*5v if I'm not mistaken)

Just to save bother, I've orderd another one of these: Panel Mount Ssr 4-32vdc, 0-240vac 25a Load with Led, Zero Cross | Rapid Online - Works perfectly as I already have one. Will be a bit safer too :slight_smile:

For an in depth discussion of an Arduino door lock, with various things relevant to your wants...

Well, That didn't work too well. I should of rememberd that the Solid state relay, will only control AC input and not DC input. blahhh

Will have to create a small extension lead to control the power plug for the Magnet hmmm

This is really what I should of got: Panel Mount Ssr 4-32vdc, 0-110vdc 20a Load with Led | Rapid Online - but that is very pricey

No that will only control AC as well.