Electronic combination lock with ATMEL AVR
CodeLock AVR
     
Uvod

Programator

Alarm

GSM alarm

CodeLock 10b

CodeLock AVR

C-Lock 3000

CodeLock-s

Ugodno

Download

BIOCAV lock

 


CodeLock AVR electronic combination lock is realised with Atmel AVR microcontroller AT90S2313 or ATtiny2313. Program in hex code is 2 kB long. User code is consisted of 1 to 4 digits. If you buy the chip than user code is consisted of 1 to 8 digits. If the code is entered in the correct sequence, then after 1 second the relay and the electric striker (in the door) switch on for 1 second and then switch off again. User code can be changed via 3x4 matrix keypad. Keypad for CodeLock can be bought at local electronic shop.
Initial user code (1234) is set up with a jumper. The jumper must be inserted before the voltage (12V) connection. The jumper must be removed after 2 beeps (after 5 to 15 seconds).
LCD display is an option! CodeLock AVR DIY, Electronic combination lock CodeLock AVR, DIY

 


Signaling: Each pressed key is immediately confirmed with one short beep. Two short beeps follow after entering the right user code. One long beep appears when entering the wrong user code. The keypad is blocked for 20 seconds for each incorrect action. User code is retained even in the event of a power failure.
You can use a LED diode instead of a Beeper. Look at the codelock electric circuit diagram.
The third row of the keypad (numbers 7, 8 and 9) can be unpluged. In that way you get 3x3 matrix keypad.
If the additional row (the second one) of the keypad is also unpluged you get 3x2 matrix keypad.
In that way you can use only: 1, 2, 3, *, 0 and # keys.

That is CodeLock AVR LT version. (1 user code - 1 to 8 digits - LCD is an option)
For CodeLock AVR LT project downloading click here.
Program for AT90S2313 => hex1 and for ATtiny2313 => hex2.

Price list: 
Programmed AT90S2313 or ATtiny2313 (1 user code - 1 to 8 digits - LCD is on) = 8 EUR.
Programmed AT90S2313 or ATtiny2313 (8 user codes - 4 to 6 digits - LCD is off) = 12 EUR. 
Programmed AT90S2313 or ATtiny2313 (40 user codes - 4 to 6 digits - LCD is off) = 29 EUR. 

PCB CodeLock Tiny1 that can be used also for CodeLock AVR = 6 EUR.

Programmed AT90S2313 or ATtiny2313 (10 user cards - LCD is off) = 12 EUR. 
Programmed ATmega8 or ATmega88 (8, 16, 24 or 32 user cards - LCD is on) = 15 EUR. 

PCB SmartCard4 Lock AVR that can be used also for SmartCard10 Lock AVR = 6 EUR.
PCB SmartCard15 Lock AVR that can be used also for SmartCard30 Lock AVR = 6 EUR.


Post (via registered mail) & Package:   4 EUR (SI), 8 EUR (EU), 16 EUR (OTHER).

For information about 40 user codes code lock version C-Lock 3000 click here.

e-mail: kripa.puri@avr.4mg.com


 




 

 

In short:

1. OPENING (For the first time):   1 2 3 4 #
     CodeLockAVR-LCD: The relay RE1 is activated 1 second.
     CodeLockAVR-LCD-M: The relay RE1 is activated.  SwitchOpen deactivates RE1. After 16 seconds the relay RE2 is activated. SwitchClosed deactivates RE2. SwitchBarrier deactivates RE2 and activates RE1.

2. WRITING YOUR CODE (For the first time):   * 1 2 3 4 # 5 5 1 0 #
     Two short beeps indicate that new user code is written.
     For opening the door press:   5 5 1 0 #   (5 5 1 0 is your code)
     CodeLockAVR-LCD: The relay RE1 is activated 1 second.
     CodeLockAVR-LCD-M: The relay RE1 is activated.  SwitchOpen deactivates RE1. After 16 seconds the relay RE2 is activated. SwitchClosed deactivates RE2. SwitchBarrier deactivates RE2 and activates RE1.

3. CHANGING THE CODE:   * OldCode # NewCode #
     Example:   * 5 5 1 0 # 6 6 1 0 #
     Two short beeps indicate that new user code is written.
     For opening the door press:   6 6 1 0 #
     CodeLockAVR-LCD: The relay RE1 is activated 1 second.
     CodeLockAVR-LCD-M: The relay RE1 is activated.  SwitchOpen deactivates RE1. After 16 seconds the relay RE2 is activated. SwitchClosed deactivates RE2. SwitchBarrier deactivates RE2 and activates RE1.


___   DEMO files   ________________

For AT90S2313 codelcd-D1.bas program downloading click here.
For ATtiny2313 codelcd-D1.bas program downloading click here.

You can test the program on the virtual LCD and keypad in Bascom AVR Simulator.
For codelcd-D1SIM.bas program downloading click here.

For AT90S2313 codelcd-LCDdemo.hex program (Q=4MHz) downloading click here.
For ATtiny2313 codelcdtiny-LCDdemo.hex program (Q=8MHz) downloading click here.

___   DEMO files   ________________



For CodeLock AVR electronic lock project downloading click here.
PCB

For AT90S2313 codelcd-D.hex program downloading click here.
For ATtiny2313 codelcdtiny-D.hex program downloading click
here.
For AT90S2313 codelcdM-D.hex program downloading click
here.
For ATtiny2313 codelcdtinyM-D.hex program downloading click
here.


For CodeLock AVR LT electronic lock project downloading click here.
PCB

For AT90S2313 codelcdLT.hex program downloading click here.
For ATtiny2313 codelcdtinyLT.hex program downloading click
here.


_______________________________________________________________________________________________________  





For CodeLock 8051 electronic lock project downloading click here.
PCB

For AT89C2051 code11eng.bas program downloading click here.
For AT89C2051 code11-1.hex program downloading click here.
For AT89C2051 code11-2-D.hex program downloading click here.


________________________________________________________________________________________




For SmartCard4 Lock AVR electronic lock project downloading click here.
PCBjpg PCBpdf PCB* PCB*pdf

For AT90S2313 smart.hex program downloading click here.
For ATtiny2313 smarttiny.hex program downloading click here.
For AT89C2051 smart8051.hex program downloading click here.


 


 

For SmartCard10 Lock AVR electronic lock project downloading click here.
PCBjpg PCBpdf

For AT90S2313 smart10-D.hex program downloading click here.
For ATtiny2313 smart10tiny-D.hex program downloading click here.

 

 


 

For SmartCard30 Lock AVR electronic lock project downloading click here(slo) and here(eng).
PCBjpg PCBpdf

For ATmega8 smart30-D.hex program downloading click here.
For ATmega88 smart30mega88-D.hex program downloading click here.


 
   
 

________________ Uvod Programator Alarm GsmAlarm CodeLock10b C-Lock3000 E-design Download Ugodno