You are on page 1of 3

INTERMEDIATE PROJECT

Aseries of projects for the not-so-experienced constructor. Although each article


will describe in detail the operation, use, construction and, where relevant, the
underlying theory of the project, constructors will, none the less, require an
elementary knowledge of electronic engineering. Each project in the series will be
based on inexpensive and commonly available parts

BUILD THE OPTICALOCK - PART 2


by Michael Swartzendruber

Test procedures for the


key assembly
1) Construct the circuit shown in Fig. 7.
key under test 2) Enable one of the emitter circuits at a time
by leaving a11DIP switches off, except the
channel currently on test: that channel's
SV
switch should be turned on.
+}-~--"t--,
3) Aim the emitter on test at the test circuit.
4) Look at the voltage or logic level of test
eh.noel under point A.
lei' (on)
5) fithe emitterpasses test, disable thischan-
.n ether nel and proceed to the next channel until
channela oH
a11 have been tested.
6) Trouble-shoot as necessary. If all emitters
fail, double-check the battery connections,
or check the device polartty for correct
installation on to the board, or check the
device with a [unction tester.
* Radioshack Type 276-142
IRamltter
.rray
av e.e. Test procedures for the
910091 -11-14
detector/amplifier array
1) Aftertheassemblyiscompleted and passes
all visual inspections and voltage tests,
install the two transistor arrays and con-
Fig. 7. Auxiliary circuil tor lesting Ihe key assembly. nect the assembly to a 5-V d.c. supply.
2) The assembly is tested with the aid of the
key assembly. Enable a11emitters on the
key by setting all DIP switches to 'on'.
break In the alarm loop added connecllon 3) Locate the test node for the first arnplifier
channel and place the probe of the volt-
o---/o~--4/o~~/ a-------l- - - - l/t€ meter or logic probe at this node.

I Ne
j9
com
::::::;:
relay coir driven
by alarm trigger
4) Aim the key at the completed detector
array (these two assemblies should have
O---/O>---/,~ o~-------e. N~
1 been constructed so that the key array

"' "
mates with the detector array) and enable
normally closed loop
the key bycJosing the push-button switch.
addition 01
5) The voltage or legte level at the node of

o----rrn 'branch' '~~d'd


eennecucn the channeion test should swing to logic
~ - 1 NO level 1 or about 4 V and should rernain at
_~_ relay CQiI d.rlven this level as Iong as the key is aimed at
_ 9' 9" 9" I com -- by.'"rn",,,,, the detector. When the key is rernoved,
:\
~ __ -.J the logic or voltage level should return to
zero.
normally open loop
6) Proceed to the next channel of the array
910091 - fI - IS
and repeat the test. Trouble-shoot as nec-
essary.
7) lf all detectors fail the test. check the wiring
Fig. 8. How 10 use relays as Irigger swilches. of the supply, all polarized devices for

ELEKTOR ELECTRONICS OCTOBER 1991


INTERMEDIATE PROJECT

Fig. 9. Mounting method of the optional bypass capacitors con- Fig. 10. View of the Opticalock's main logic board and the 'key-
nected across each photodetector of the infra-red detector hole' connected by a ribbon cable.
array should they be required to remove fluorescent interfer-
ence.

Fig. 11. Two views of the Opticalock's 'key'. The one on the right shows a detail of the method used to mount the infra-red array
at a right angle to the board. A 20-pin, O.I"xO.l" connector is soldered to a right-angle header assembly and the array is inserted
into the socket.

Fig. 12. General view of the key and keyhole. Fig. 13. General view of the entire Opticalock system.

ELEKTOR ELECTRONICS OCTOBER 1991


correct placement with particular atten- load isolation and control.
ßUILD THE OPTICALOCK - PART 2

ideas to make the project a useful addition


I
non to the infra-red detector array, to an existing security system or to help for-
Example2. Haw to use the relays ss tnggerswitches. tify some accessible doorway by providing a
Test points for the infra-red detector/am- pick-proof lock system.
plifier can be found at the following points To Interface the alarm relay into an existing Toaugment a security system, the contacts
of the circuit. alarm loop, usethe appropriate relay contacts of thealarm relaycan be interfaced easily with
and insert them into the loop=-see Pig. 8. an existing alarm 100p, or its contacts can be
Channe! JC Pin For instance, to hook the Opticalock's alarrn used as a switch for an alarm horn circuit.
1 1 12 relay into a parallel, normaIly dosed loop, con- The lock relay may be used to drive a
2 1 3 nect the the normally dosed and common con- solenoid-driven lock system such as an elec-
3 1 5 tacts of the relay into the loop and simply triccardoor lock or it may simply be connected
4 1 10 add the relay contacts as another parallel to any solenoid (modified for use as a dead-
5 2 12 branch. bolt) with a spring return latch assernbly.
6 2 3 Tointerface the relay intoa series (normally With these approaches, the lock will always
7 2 5 open in most cases), break the loop at some be in a locked mode unless the relay is actu-
8 2 10 convenient point and splice the relay into ated. The lock relay may also be tied to an
the series by using the normally open and existing alarm as the arml disarm switch
Interfacing the logic driver common contacts. using the contacts of the relay to toggle a
bistable (flop a Flip-flop).
board Example 3. How to use the unlcck: relay to pro- A word of caution: you may void any
The relay driver outputs of the logic driver vide an alarm enableldisnrm switch. warranty of a professionally instalIed alarm
circuit can be used in a number of ways. system by attempting to connect the opticalock
Some simple examples are given to aid any To use this technique, a method must be de- to it. Consu1tyour professional installer if you
custorn applications. veloped to hold a voltage level high or low are not sure or have any questions regarding
without having to excite the relay continu- connection of the device to this type of alarm.
Example 1. How 10 use Ihe lock re/ay 10 drive a ously One very easy way of dotng this is to Experienced computer enthusiasts may
solenoid deadbolt. use the normally open and common contacts want toconsider the following com puter I op-
of a relay to trigger a Flip-flop (bistablel-c- ticalock interface possibilities, The lock driver
A) Solenoid coil can be driven by 24 V d.c. at see Fig. 9. output and the alarm driver outputs may be
250 mA. Directly power a solenoid coil with used to drive a bistable and this Flip-flop can
PwrDrv-l by conneding the solenoid coilleads
Programming and initial be monitored by a monitoringcontrol system.
to 'Ioad +' and 'load -' pads next to leB, In addition. the 8-position DIP switch on the
which becomes actuated by the lock driver system testing main logic board can be driven by a parallel
circuitry Set the combination of the DWswitch on the output port on a ccntrol system.
key to match thecombination ofthe DIPswitch As for security, the detector array can
B) Load is high voltage or high eurrent load. on the rnain logic board. Align the key with be located at any remote Iocation in rela-
Use 'Ioad +' and 'load .: pads adjacent to keyhole and press the push-button key. The tion to the rest of the system. If the d is-
leg or lC7 to actuate a 24 V d.c. coil relay or LED indicating that the lock is 'unlocked' tance between the detector and logic board
trtac. Use the switch contacts or device for should light. exceeds more than a coupie of feet (about
Change the setting of one a metre}, additional pull-up and bypass cir-
ofthe DIPswitches and press cuitry may be required at each end of the
the push-button on the key connecting cable.
three times, whereupon the The detector should be well-armoured
logle alarm drive should become against vandals and attempted intrusions.
board actuated. If you wish, you However, its destruction will not give ac-
mayeJecttousealogicprobe cess to any unauthorized persons; bear in
~ +5V
on the Q outputs of the JK mind, though, that access may also be de-
bistables (flip-flops) while nied then to authorized persons. So you
NO .r: S- perforrning the three ille- may consider a rather beefy metal plate
mono
relay debounee gal-entryattempts to moni- assembly to guard it.
eom stebte
tor the counting action of The lockdisableswitch should be located
this chip. i.nside at a convenient position.
In These tests should give a The alarm reset switch should be situ-
pretty good idea as to how ated in a semi-secure area that is easy to
JK MS
flip-flop the system works. Switch get to should it have to be used by those
'(btstabte) 55 may be used to disable who should know its whereabouts.
the 'unlocked' output al- Should you opt to use a solenoid-driven
I together to prevent the cir-
cuit from providlng an un-
dead-bolt, or indeed any electric lock, that
may be located at a remote position also.
locksignal even when some- The system can easily be made to work
eurrent
ampllfler one has the IR key with the in many different situations. You may wish
correct combination. to experiment with it on some inner-struc-
ture door, such as a eloset, or your labora-
I Finishing touches tory door, to find out the finer points of a
possible application.
and The opticalock makes an innovative use
load
installation of opto-electronics, and with the numerous
910091 • n- 16
benefits of this type of lock system, it would
Now the electronic part of not be surprising to see more designs like
the combination lock has this very soon. Who knows. perhaps you
Fig. 14. How 10 use Ihe unlock relay 10 provide an alarm been completed. we need have just built the key of the future. •
enable/disarm swilch. to look at same installation

ELEKTOR ELECTRONICS OCTOBER 1991

You might also like