+ Reply to Thread
Page 1 of 2
1 2 Last
Results 1 to 15 of 16

Thread: Digital code lock using 12F629

  1. #1
    shankarsha Newbie
    Join Date
    Mar 2009
    Posts
    8

    Exclamation Digital code lock using 12F629

    Hi,
    I found this simple code lock for my alarm project.

    Security Keypad. This Electronic Code Lock uses a 12-keys keypad is used to enter a password and open an electrick lock or any other device with a signal. Uses an 8-pin PIC 12F629. (11/17/2004)

    Works fine but the LED glows dim during standby!!!

    Any idea from PIC experts would be appreciated:-)


  2. #2
    shankarsha Newbie
    Join Date
    Mar 2009
    Posts
    8

    Default

    Dear Nigel Goodwin,

    I am novice to pic, help me to sort this problem out of my project.
    My efforts to rectify this by anything is not worked.

  3. #3
    Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent
    Join Date
    Oct 2006
    Location
    Colombo
    Posts
    1,664
    Blog Entries
    1

    Default

    Reduce the 1K resistor to 220 ohms.

  4. #4
    shankarsha Newbie
    Join Date
    Mar 2009
    Posts
    8

    Smile

    BINGO It's working.

    But power consumption on standby is 1.2 mA which is high for my battery operated project.
    Any modification on hex code would possible to solve this problem?

  5. #5
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,709
    Blog Entries
    5

    Default

    Slow down the internal osc or put it to sleep.
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  6. #6
    shankarsha Newbie
    Join Date
    Mar 2009
    Posts
    8

    Smile

    BINGO It's working.

    But power consumption on standby is 1.2 mA which is high for my battery operated project.
    Any modification on hex code would possible to solve this problem?

  7. #7
    Help us help you blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent blueroomelectronics Excellent
    Join Date
    Jan 2007
    Location
    Toronto, Canada
    Posts
    10,709
    Blog Entries
    5

    Default

    Do you have the source code?
    Bill
    Smart Kits build Smart People

    http://www.blueroomelectronics.com/

  8. #8
    be80be Excellent be80be Excellent be80be Excellent be80be Excellent be80be Excellent be80be Excellent
    Join Date
    Aug 2008
    Location
    morristown,tn
    Posts
    2,000

    Default

    He using a hex he down loaded from the site I say he didn't disassemble But if he did I hope he will post the code. I look at it last night and tried disassembling it it's big take some time to do. I imported to mplab I no there got to be a better way then that to disassemble.

  9. #9
    shankarsha Newbie
    Join Date
    Mar 2009
    Posts
    8
    Last edited by shankarsha; 4th March 2009 at 08:40 AM.

  10. #10
    Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent
    Join Date
    Oct 2006
    Location
    Colombo
    Posts
    1,664
    Blog Entries
    1

    Default

    You said the "power consumption on standby is 1.2 mA" is this with the LED on?

    It is hard to adjust the disassembled code.Better use high capacity NIMH cells.

  11. #11
    shankarsha Newbie
    Join Date
    Mar 2009
    Posts
    8

    Default

    No, Actually the LED is off during standby but glows when a key pressed.

  12. #12
    shankarsha Newbie
    Join Date
    Mar 2009
    Posts
    8

    Default

    Quote Originally Posted by shankarsha View Post
    No, Actually the LED is off during standby but glows when a key pressed.

    The watchdog is also off

  13. #13
    be80be Excellent be80be Excellent be80be Excellent be80be Excellent be80be Excellent be80be Excellent
    Join Date
    Aug 2008
    Location
    morristown,tn
    Posts
    2,000

    Default

    And it's hard to add that to hex
    watchdog
    Last edited by be80be; 4th March 2009 at 12:35 PM.

  14. #14
    Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent Gayan Soyza Excellent
    Join Date
    Oct 2006
    Location
    Colombo
    Posts
    1,664
    Blog Entries
    1

    Default

    Can't tune more than that.disabling built in modules doesn't make such a big different.

    Try adding 330ohms resistors to pins 5,6,7 & see.I don't know much about joepinos technic regarding where the GND path follows for the switches?

  15. #15
    shankarsha Newbie
    Join Date
    Mar 2009
    Posts
    8

    Default

    Hi, Let me check your idea then I will PM here

+ Reply to Thread
Page 1 of 2
1 2 Last

Similar Threads

  1. small code 16f628 to 12f629 data in hex
    By n4y in forum Micro Controllers
    Replies: 3
    Latest: 20th September 2008, 09:50 AM
  2. Replies: 1
    Latest: 13th August 2007, 05:45 PM
  3. 7-digit code lock
    By amogh in forum Electronic Projects Design/Ideas/Reviews
    Replies: 1
    Latest: 21st August 2003, 01:25 PM
  4. Code lock with Pic
    By marcioeld in forum Micro Controllers
    Replies: 2
    Latest: 28th June 2003, 01:58 PM
  5. code lock keypad questions....
    By eyevancsu in forum Electronic Projects Design/Ideas/Reviews
    Replies: 7
    Latest: 10th April 2003, 07:17 AM

Tags for this Thread