8051 based project That can save up to 60 codes with max of 6 combination of numbers
Wed Nov 24 2010, 01:07 pm
hi onyot, the program i posted has a save function and compare. Meaning, if u enter the correct passwrd it will check the user inputed password and activate p3.4 if password is correct. . Just check the code and get an idea from there.
the default password of the system is in the array 12345. U can add more combination f u want.
the default password of the system is in the array 12345. U can add more combination f u want.
Wed Nov 24 2010, 01:15 pm
it would be easy f u use 16x2 lcd than 7segment and do multiplexing. Less wiring and less ports to be use in using 4bit programming of lcd. The advantage of lcd is u can display words before and after the user enter the code. Hence, 8 s more presentable than 7segment
Wed Nov 24 2010, 01:27 pm
then how can I put another password, am I going to put passworda,passwordb or in that array, I'll just put a comma beside that "12345", 23456"?
Wed Nov 24 2010, 01:31 pm
yes, u can declare another password inside the array then do a checking algorithm in the array location f user enters a passwrd.
Wed Nov 24 2010, 01:32 pm
do you have any recommended reference on how to interface a 16x2 lcd on at89c2051?
Wed Nov 24 2010, 01:39 pm
hi onyot, we r n the philippines hehe so u can order lcd in rsphilippines or egizmo. Gpa himu ka ana sa companya? Asa ka ng ojt?
If i were u, do a simple password program first before moving into lcd interfacing
If i were u, do a simple password program first before moving into lcd interfacing
Wed Nov 24 2010, 02:13 pm
Naa ko pilmico, Okay. I've understand the program but I am not sure if it will coincide to what you've know, that is why I've ask so many questions. Sorry if I'm a disturbance to you guys. hehehehe.....
Wed Nov 24 2010, 02:18 pm
is it correct?
unsigned char displayb [4][3]={1,2,3, 4,5,6,7,8,9, 0,0,0}
[ Edited Wed Nov 24 2010, 02:19 pm ]
Wed Nov 24 2010, 02:30 pm
hi
here u r going to declare array of 4*3
4 rows and 3 column array no need here
simply do
if u want two seperate passwords then
as reference to ur 7-seg multiplexing schmetic u r right there
code will enable the piece to display using transistors
unsigned char displayb [4][3]={1,2,3, 4,5,6,7,8,9, 0,0,0}
here u r going to declare array of 4*3
4 rows and 3 column array no need here
simply do
unsigned char code displayb[]="123456789000";
if u want two seperate passwords then
unsigned char code displaya[]="12345";
unsigned char code displayb[]="6789000";
as reference to ur 7-seg multiplexing schmetic u r right there
code will enable the piece to display using transistors
[ Edited Wed Nov 24 2010, 02:31 pm ]
Powered by e107 Forum System