Digital Code Lock With 3310 LCD
Mon Nov 29 2010, 08:26 pm
Dear MAJOKA
89s52 pins p2_0 , p2_6 , p2_7 uesd for eeprom
I am run “with_eeprom “ hex file in proteus and save new password then 89s52
Send data pin p2_0 and p2_7.
If I run “ with_eeprom + 3310_lcd “ hex file in proteus and save new password
then 89s52 not send any data on Pin p2_0 and p2_7
89s52 pins p2_0 , p2_6 , p2_7 uesd for eeprom
I am run “with_eeprom “ hex file in proteus and save new password then 89s52
Send data pin p2_0 and p2_7.
If I run “ with_eeprom + 3310_lcd “ hex file in proteus and save new password
then 89s52 not send any data on Pin p2_0 and p2_7
Tue Nov 30 2010, 03:02 pm
wawa, what is your update now? I would like to have that project uploaded here on site. Please share it with us
@Tahir maqsood,
Are you sure you're able to compile your code? see this..
see the for loop carefully. You've used a variable 'f' which is not defined anywhere and loop is working around 'i' not f so please check your code again and make sure you upload the right code.
It will be better if you can create your own thread and ask doubts there.
@Tahir maqsood,
Are you sure you're able to compile your code? see this..
//File Lock.c in archive with3310.rar void store_code(){ unsigned char i; for(i=0;f<5;i++) { userlock[i]=input[i]; // to write userlock write_ee(i, userlock[i]); } }
see the for loop carefully. You've used a variable 'f' which is not defined anywhere and loop is working around 'i' not f so please check your code again and make sure you upload the right code.
It will be better if you can create your own thread and ask doubts there.
tahirmaqsood like this.
Wed Dec 01 2010, 06:47 am
wawa, are u there? I think your problem b4 about the lcd image is scrolling is because u didnt use 84x48 pixel in fastlcd. And ajay is right u cannot use unsigned char in array coz it will not reach 502.
Did u implement ur codelock to touch screen ? Hehe share with us.
Did u implement ur codelock to touch screen ? Hehe share with us.
Thu Dec 02 2010, 12:25 am
Thanks Romel Emperado
actually I want password save in eeprom and used 3310 lcd
I am try tow code for eeprom
In First code used only 2x16 lcd and
in second code used 2x16 lcd and 3310 lcd
I am chalking in proteus in first code work with eeprom
but in second code not work with eeprom
if you have any experience of eeprom used with 8951 plz help me
thanks
actually I want password save in eeprom and used 3310 lcd
I am try tow code for eeprom
In First code used only 2x16 lcd and
in second code used 2x16 lcd and 3310 lcd
I am chalking in proteus in first code work with eeprom
but in second code not work with eeprom
if you have any experience of eeprom used with 8951 plz help me
thanks
Thu Dec 02 2010, 12:31 am
hi tahirmaqsood
in second code remove the 16*2 lcd portion and use only 3310 lcd
as when u use both a confusion create and i hope when u do it simple it will run too
anyhow do this and modify ur code and Proteus file if after that u still face problem then upload all here
in second code remove the 16*2 lcd portion and use only 3310 lcd
as when u use both a confusion create and i hope when u do it simple it will run too
anyhow do this and modify ur code and Proteus file if after that u still face problem then upload all here
[ Edited Thu Dec 02 2010, 12:59 am ]
Thu Dec 02 2010, 01:10 am
i am remove the 16*2 lcd portion in second code and use only 3310 lcd
but not work eeprom
but not work eeprom
Thu Dec 02 2010, 10:33 am
hi tahirmaqsood
ru doing simulation or trying it on hardware
i do not see any 93c46 model in Proteus then how u simulate it
if proteus has this model then where it is
ru doing simulation or trying it on hardware
i do not see any 93c46 model in Proteus then how u simulate it
if proteus has this model then where it is
Thu Dec 02 2010, 11:19 pm
Dear MAJOKA
i am not trying it on hardware
i am used proteus but not 93c46 model in Proteus
i am see only 89s52 pins p2_0 , p2_7
89s52 pins p2_0 , p2_6 , p2_7 uesd for eeprom
I am run hex file in proteus and save new password then 89s52
Send data pin p2_0 and p2_7.
If I run “ with 3310_lcd “ hex file in proteus and save new password
then 89s52 not send any data on Pin p2_0 and p2_7
i am not trying it on hardware
i am used proteus but not 93c46 model in Proteus
i am see only 89s52 pins p2_0 , p2_7
89s52 pins p2_0 , p2_6 , p2_7 uesd for eeprom
I am run hex file in proteus and save new password then 89s52
Send data pin p2_0 and p2_7.
If I run “ with 3310_lcd “ hex file in proteus and save new password
then 89s52 not send any data on Pin p2_0 and p2_7
Thu Dec 02 2010, 11:27 pm
it may be a possibility that when u use 3310 lcd library it check any pin and that signal not comes and program wait at any point
use ant at24cxx eeprom it is in proteus and can be simulated in proteus
ready made library is in download section for this eeprom
use ant at24cxx eeprom it is in proteus and can be simulated in proteus
ready made library is in download section for this eeprom
Powered by e107 Forum System