1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

[DISCUSSION] Electronic combination lock based on PIC

Discussion in 'Electronic Projects Design/Ideas/Reviews' started by alkoko111, Jul 14, 2009.

  1. Chippie

    Chippie New Member

    Joined:
    Mar 8, 2003
    Messages:
    991
    Likes:
    9
    Location:
    Good 'ole England
    The source code for this is on his site at the bottom of the page showing the schematic...

    The job is almost done for you.....
     
    Last edited: Jul 16, 2009
  2. Pommie

    Pommie Well-Known Member Most Helpful Member

    Joined:
    Mar 18, 2005
    Messages:
    10,022
    Likes:
    317
    Location:
    Brisbane Australia
    ONLINE
    I posted some simple keyboard code on this thread. I now realize that this same technique can be used to make a combination lock with an 8 pin pic. Just not had time to play with it yet.

    Mike.
     
  3. birdman0_o

    birdman0_o Active Member

    Joined:
    Feb 23, 2009
    Messages:
    1,370
    Likes:
    18
    Location:
    Montreal, Quebec
    Nigel uses all of PORTA which leaves port B, 3x4 = 7 pins and one left over to control a transistor to control the lock relay. The 16f628/a would work fine.
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. Boncuk

    Boncuk New Member

    Joined:
    Nov 10, 2007
    Messages:
    5,382
    Likes:
    88
    Location:
    Phetchabun,Thailand

    Here is the 4X4 matrix for the keypad.

    E.g. if button "6" is depressed row2 and column 3 are shorted.
     

    Attached Files:

    Last edited: Jul 16, 2009
  6. alkoko111

    alkoko111 New Member

    Joined:
    Jun 29, 2009
    Messages:
    23
    Likes:
    0
    Location:
    yemen / aden city
    i know it's all done , but i prefer to discuss it with all of you to increase our knowledge together. what is the benefit of taking something already prepared? thank you
     
    Last edited: Jul 16, 2009
  7. alkoko111

    alkoko111 New Member

    Joined:
    Jun 29, 2009
    Messages:
    23
    Likes:
    0
    Location:
    yemen / aden city
    well done , I've take a look to your thread , well done ,
    thank you .
     
  8. alkoko111

    alkoko111 New Member

    Joined:
    Jun 29, 2009
    Messages:
    23
    Likes:
    0
    Location:
    yemen / aden city
    I REALLY need to understand the algorithm of keypress scannig . i hope if someone could help ?

    thank you
     
  9. Chippie

    Chippie New Member

    Joined:
    Mar 8, 2003
    Messages:
    991
    Likes:
    9
    Location:
    Good 'ole England
    So what was the point of your initial post then...? :(

    Most of the respondants here probably already have the necessary skills and knowledge to be able to construct a project like this...so discussion is pointless..
     
  10. alkoko111

    alkoko111 New Member

    Joined:
    Jun 29, 2009
    Messages:
    23
    Likes:
    0
    Location:
    yemen / aden city
    yes...Chippie , you are right. I missed that point. but i was hoping if someone could help to explain the algorithm. that is what i need.

    thank you :)
     
    Last edited: Jul 18, 2009
  11. birdman0_o

    birdman0_o Active Member

    Joined:
    Feb 23, 2009
    Messages:
    1,370
    Likes:
    18
    Location:
    Montreal, Quebec
    Hmmm do you want to discuss it here, through PM, on MSN or something? I feel up to it.
     
  12. alkoko111

    alkoko111 New Member

    Joined:
    Jun 29, 2009
    Messages:
    23
    Likes:
    0
    Location:
    yemen / aden city
    OK ..... this is will be great . accept my invitation in MSN .
    thank you
     
  13. ROKE2009

    ROKE2009 New Member

    Joined:
    Feb 5, 2009
    Messages:
    2
    Likes:
    0
    thank you

    :)thank you
     

Share This Page