Project: PIC16F84A Code Lock

Discussion in 'The Completed Projects Collection' started by profahmet, Oct 14, 2008.

  1. profahmet

    Thread Starter New Member

    Oct 14, 2008
    2
    0
    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:
     
    Last edited: Jun 3, 2009
  2. mitcheboi

    New Member

    Dec 2, 2008
    1
    0
    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
     
  3. ajith_b88

    New Member

    Jan 10, 2009
    1
    0
    HAI I MADE THE LOCK WITH PIC16F84A .BUT I CANT ENTER THE PASSWORD PLS REPLY
     
  4. seti75

    New Member

    Feb 7, 2009
    2
    0
    hello

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

    thank you

    (sorry for my English I am French)
     
  5. gracevillalyn

    New Member

    May 26, 2010
    2
    0
    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....
     
  6. R!f@@

    AAC Fanatic!

    Apr 2, 2009
    8,754
    760
    this was 2 years ago
     
  7. gracevillalyn

    New Member

    May 26, 2010
    2
    0
    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
     
  8. R!f@@

    AAC Fanatic!

    Apr 2, 2009
    8,754
    760
    we cannot help since the original file is corrupt years ago. Only the OP has it, we don't have it here.
     
  9. seesy123

    Member

    Mar 14, 2008
    13
    0
    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
     
  10. R!f@@

    AAC Fanatic!

    Apr 2, 2009
    8,754
    760
    Please see the date and follow the thread.
    I suggest you open a new thread
     
  11. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    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.
     
  12. bertus

    Administrator

    Apr 5, 2008
    15,649
    2,348
    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
     
  13. coldpenguin

    Active Member

    Apr 18, 2010
    165
    9
    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.
     
  14. bertus

    Administrator

    Apr 5, 2008
    15,649
    2,348
    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
     
  15. Oupajohn

    New Member

    Sep 6, 2010
    3
    0
    Thanks, I've been trying for a week now to write my own code, you've saved me days.
     
  16. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    With winrar for windows, the files may be unziped with no problem at all
     
  17. mahdimohammad

    New Member

    Oct 12, 2010
    1
    0
    thanks so much in fact i always say that most of projects in the net are not good
    but here the good thing is that the files are so so good
     
  18. astanapane

    New Member

    Oct 12, 2010
    2
    0
    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.
     
  19. Georacer

    Moderator

    Nov 25, 2009
    5,142
    1,266
    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.
     
  20. astanapane

    New Member

    Oct 12, 2010
    2
    0
    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.

    ευχαριστω.
     
    Last edited: Oct 17, 2010
Loading...