Creating electronic lock

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
tompzone
Posts: 23
Joined: Mon May 23, 2011 4:30 pm
Has thanked: 4 times
Contact:

Creating electronic lock

Post by tompzone »

hi i am trying to create a electronic lock, using a keypad, using 3 numbers (170 by the way), but i am not able to "memorize" each pulse and it's value, and i dont know how to make the comparison so it can accept or reject the password, (i am using 2 leds as outputs)

medelec35
Matrix Staff
Posts: 9520
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times
Contact:

Re: Creating electronic lock

Post by medelec35 »

Here is a four digit version:
http://www.matrixmultimedia.com/mmforum ... 253#p19233

It can be adapted for 3 digits, instead of four.
Have a go at altering it, as that's the best way to learn.
Someone will help you when you get stuck.

Martin
Martin

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Creating electronic lock

Post by DavidA »

Hello,

Sean also did an article on an electronic door lock with a MIAC. It may be of some use to you.

http://www.matrixmultimedia.com/article.php?a=53

tompzone
Posts: 23
Joined: Mon May 23, 2011 4:30 pm
Has thanked: 4 times
Contact:

Re: Creating electronic lock

Post by tompzone »

thanks alot!

SkeeterB11
Posts: 3
Joined: Thu Jun 30, 2011 3:00 am
Location: Mississippi, United States
Been thanked: 1 time
Contact:

Re: Creating electronic lock

Post by SkeeterB11 »

I created an electronic lock that uses 3 digits. It's got a simple bit where it reads the code stored in the EEPROM of the uC and compares it to the one you just entered. If the code is correct, you get the door unlocked , a green LED illuminated, and a prompt to enter quickly before it returns to its previous state. It's also got a remote open function where it unlocks if the pushbutton is depressed. It also clears the variables in order to increase the security of the lock.
Attachments
KeylessLock.fcf
My Keyless Lock.
(42.52 KiB) Downloaded 358 times
This is the way the world ends,
This is the way the world ends,
This is the way the world ends,
Not with a Bang,
But With a Belch
BURRRRRRPPPPPP

Post Reply