We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I want a digital lock based on the 8051 variant AT89C2051 with proteus simulation.
The basic user lock is of 5 Digits and Master Lock is of 10 digits. The input is taken from a 4x3 Keypad and the user input is shown on a 2x16 LCD. Pin 15 (P1.3)is assigned as output for activating and deactivating the lock. An LED is connected to that pin for testing.
The # key acts as "ENTER" key and * as "BACKSPACE" key. The default code for activating the lock is 56712. To change it first enter 54321 and then enter the master key code of 8776934265. Then it will ask you to enter the new 5 digit key unlock code which will be stored for future.
The lock has to be opened within 3 tries else it gets blocked.
Has anyone done it yet? Yes? Let me know where I can download it from(rapidshare is esiest).
ENJOY.
You require this as a free download; ie, you are not prepared to pay for it?
What licence terms will you accept?
This specification (including default lock codes - something no real company would dream of mention) does sound exactly like a school assignment.
You are not trying to cheat on your school work, are you?
The whole thing is just screaming "school work". I'd be willing to wager that it is.
Same assignment as this, perhaps: http://www.keil.com/forum/docs/thread10679.asp
"default lock codes - something no real company would dream of mention"
Not just the defaults, but also the Master code to change it!!
Might as well not bother with any lock at all for that level of security!!
:-0
While this might be an interesting exercise purely in 8051 development, it is clearly a very poor example of the issues that need to be considered in real security systems!!
Wow ...
It was only just yesterday that decided to break all my previous design habits and come up with a functional spec for PIN entry using fixed (as opposed to programmable) values. I opted to use the very same processor with it all running under Proteus simulation.
I designed, coded and tested it - Success!
But ... One difference ...
Instead of having a default activation code of 56712, I use a code of 65712.
Oh well, sorry, obviously of no use to you.
Guess you'll have to do it yourself. (Or pay me big money to modify my code to match your requirement)
"Hey, that's the same code I use on my luggage !?"
Plz tell me where I can find your code.
TQ.
Yes, the change of the activation code to match the OP specification is an expensive operation.
I wonder if the school assignment also specified the matrix layout of the keypad, and on what pins they should be connected - and how the display is connected. It's so darn hard to do school assignments this day, especially since the teachers so seldom attaches full source with the requirements. After all, the source is the ultimate code specification, so who can manage without access to the source?
"Plz tell me where I can find your code."
ppa 88,
Sorry, but I don't really have any code for you.
You must consider doing your own assignments.
Actually, it's "sarcasm"
" does have a certain appropriateness to it...
chasm/casm
Maybe it was a parapraxes?
No, just me being stoopid - Back I go to skool.
Plz give me any code you have and I will modify it to work.
TQ
"Plz give me any code you have and I will modify it to work."
Wow, you're one talented guy!
An acquaintance of mine designed a code lock for a company as a consultant. When he presented his bill he was told "we are just starting up, short of cash and can not afford to pay you, will you accept $5 per lock we make instead?". well, he figured, if I just take my code back I will get nothing. The rest of the story is the lock was a succes and sold more than 50,000 units.
Erik