This code lock is useful for appliances requiring exclusive or authorised use by those who know the preset code. If desired, the code can be changed. The circuit doesn’t require additional AND or NOT gate operations at the outputs. It uses two pairs of 4-way DIP switches. The code is set using DIP switches DIP3 and DIP4. Then these two switches are hidden inside the assembly. With DIP3 and DIP4, up to 256 code combinations are possible. The unlocking code is set by the user using DIP switches DIP1 and DIP2, which is compared with the preset code entered earlier via DIP3 and DIP4. If the two codes match, transistor T1 conducts. 8-Digit Code Lock for Appliance Switching Circuit Diagram The codes are compared using two cascaded 4-bit magnitude comparator Ics (IC1 and IC2). If the input nibble present at DIP1 matches with preset DIP3 nibble, output pin 6 of IC1 (connected to input pin 3 of IC2) goes high. Now if nibble present at DIP2 matches with the preset nibble at DIP4, pin 6 of ...