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.
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)
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
"give me any code you have and I will modify it to work."
If you are that certain that you can modify any code to work to your requirement, wouldn't it be simpler to just write the code for yourself in the first place.
Then you could honestly hand it in to your teacher as your own work!
That would be a cool project.
A CVS repository containing a step-by-step rewrite of a hello-world application into the required, fully working and tested software.
That would not only show that you can handle embedded development, but also that you have knowledge of some development tools, and know about iterative development.
Here is a good starting point (note that the main() prototype is normally different for an embedded project since it isn't expected to return.) Also, you must Retarget the project to get printf() etc to work, if you want every single commit step to be runnable:
#include <stdio.h> int main(void) { printf("Hello world!\n"); return 0; }
Happy rewrite.