Discussion in "Project Doubts" started by    onyot    Nov 23, 2010.
Wed Nov 24 2010, 01:07 pm
#41
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.
Wed Nov 24 2010, 01:15 pm
#42
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
#43
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:28 pm
#44
so, do you know where to buy a 16x2 lcd? hehehhe
Wed Nov 24 2010, 01:31 pm
#45
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
#46
do you have any recommended reference on how to interface a 16x2 lcd on at89c2051?
Wed Nov 24 2010, 01:39 pm
#47
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
Wed Nov 24 2010, 02:13 pm
#48
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
#49
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
#50
hi

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 ]

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Clydehet
Wed May 01 2024, 06:44 pm
Davidoried
Wed May 01 2024, 06:11 pm
KevinTab
Sun Apr 28 2024, 05:35 am
Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am