Project: PIC16F84A Code Lock

Thread Starter

profahmet

Joined Oct 14, 2008
2
sklt84.jpg

LED1 = New password
LED2 = Enter password
LED3 = Error password
LED4 = OK. password
RA4 BUTTON = Change password

1. step
No password LED1 aktive ► Enter New password (max. 10 digit) ► [#] Button OK.

register password →► 2. step ►

2. step

[*]
Button ► LED2 aktive ► Enter password ► [#] Button OK. ► LED2 aktive (open lock) ►
[*]
Button. reset.

password error →► LED3 aktive ► reset.
thrice error password →► LED3 nonstop aktive (lock password) ► 2. pin code enter ► New password

2.pin code = 45 step [1] button, ► 10 step [0] button, ► [#] button OK.

New Password (Change) =

[*]
Button ► LED2 aktive ► Enter password ► [#] Button OK. ► LED2 aktive (open lock) ► [RA4 BUTTON] 1. step

nots:
* password code EEPROM register.
* xtal 8Mhz necessary
* filter coil 100uH < ...
* relay coil 5 volt
* ►= next →= if
* I don't know english :)

google English language translate page :
http://translate.google.com/translate?u=http://320volt.com/pic16f84-ile-sifreli-kilit/&langpair=tr|en&hl=en&ie=UTF8

video:
http://www.youtube.com/watch?v=TsjjSmAxb2s

.asm, .hez, proteus .DSN + pcb, all source files:
 

Attachments

Last edited:

mitcheboi

Joined Dec 2, 2008
1
nice idea thank you it helps me a lot, but the PIN CODE > 45 steps [1] button then 10 steps [0] button how do i do it? thank ou once again
 

seti75

Joined Feb 7, 2009
2
hello

the code asm and the password s' you like it? c' is possible?

thank you

(sorry for my English I am French)
 
hello!

i actually dowloaded the file but the problem is that i can't open it..

im using a winrar. is there any software i can use to open the attach file?

Please help....
 
hello

i already open the file

ahm, can somebody help me to translate what's the meaning of these words:

YENI ÞIF

ÞIF GIR

HATALI ÞIF

ÞIF DOÐRU


Im really confused that label... I know its a LED but i dont understand the label on it.
I think it plays a significant role on the circuit..

PLease help me..
Thanks in advance
 

seesy123

Joined Mar 14, 2008
13
anyone have idea how to install this project in door..if no mistake it's connect the motor to relay.i mean here is what things should i need in order to make the door open once correct key is enter
 

R!f@@

Joined Apr 2, 2009
9,918
anyone have idea how to install this project in door..if no mistake it's connect the motor to relay.i mean here is what things should i need in order to make the door open once correct key is enter
Please see the date and follow the thread.
I suggest you open a new thread
 

SgtWookie

Joined Jul 17, 2007
22,230
I'd glanced at this a couple years ago, but had not tried to download the attachment and open it before today.

The filename of the attachment includes a "+" which makes it impossible to open using several different utilities. I've attached it with a more standard filename, and it does open.

The translation from Turkish to your language is up to you. I do not know other languages besides English.
 

Attachments

bertus

Joined Apr 5, 2008
22,277
Hello,

Removing the + sign will not help much as inside the zip-file there is the same name (with the + sign) again.
This will lead to a directory that can not be openend (on my system, and can not be removed as the system says it does not exist).

Bertus
 

coldpenguin

Joined Apr 18, 2010
165
Hi Bertus,
What OS are you using? I have opened it in windows XP (and viewed the contents in editors), and + is a valid symbol in linux.
I can re-post it if necessary.
 

bertus

Joined Apr 5, 2008
22,277
Hello,

I am using Suse 11.2 linux.
Ark looks like unpacking it and creating a directory, but this can not be viewed and removed.
I just looked at it if I could unpack it and rename files to pack it again so others can make use of it.

Bertus
 
hello all,

i made it work. It is simpe and interesting.

Once you power up the first time, lights up the first LED. then you press your specific code. For example you press 12345.

then the first light goes off.

Then you press the * button in order to use your code 12345. Once you press the right code you entered the last LED GREEN light up.

So the code works.

If you make a mistake 3 times in a row then you need to do the following.

Lets say you pressed 3 times the code wrong. So the 3rd LED light up and the only thing you can do is:

press 45 times the number 1 key and then # key,

then press 10 times the 0 key and then#.

Now lights up the first LED again to enable you change the password.

regards.
 

Georacer

Joined Nov 25, 2009
5,182
Can you post some pictures of your version too?

Υ.Γ. Καλωσήρθες στο φόρουμ

P.S.2: Excuse my momentary "bending" of the language rule. I find compatriots so rarely in AAC.
 
Dear Georacer,

i will do it yes, please give me some time.

First of all please have in mind that the keyboard used on the proteus might not working properly.

So you need to fix your own. i've attached the files for your reference.

The only thing that i cannot find out is the KEY 5 how it works.

otherwise all the other operations works just fine.

When the first time you load the code to the pic16f84a and power up the circuit BLUE LED lights up.

then you press the code you like and then press #.

then for entering the code you need to press * button.

You can see now that the yellow LED lights in order to have the advantage to enter the code.

Once you enter the code press #.

The green button lights up. That's it.

If you make 3 times a mistake then you need to type 45 times the number 1 followed by # button and then 10 times the number 0 followed by the number #.

Remember on the proteus you need to go on chip and change the frequency to 4mhz otherwise on mine didnt work.

I have to simulate the software-hardware on breadboard.

If you have any questions please let me know.

I would also like to have the code in PIC BASIC PRO if someone has it.

I have fixed a lot of keylocks and this one i can say that it is the best one.

ευχαριστω.
 

Attachments

Last edited:
Top