Discussion in "Project Addition or Changes" started by    tahirmaqsood    Sep 26, 2010.
Mon Nov 29 2010, 08:26 pm
#71
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

Tue Nov 30 2010, 03:02 pm
#72
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..

//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.
Tue Nov 30 2010, 09:32 pm
#73
Dear Ajay Bhargav

Sorry for my mistake
i upload the right code
Wed Dec 01 2010, 06:47 am
#74
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.
Thu Dec 02 2010, 12:25 am
#75
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
Thu Dec 02 2010, 12:31 am
#76
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


[ Edited Thu Dec 02 2010, 12:59 am ]
Thu Dec 02 2010, 01:10 am
#77
i am remove the 16*2 lcd portion in second code and use only 3310 lcd

but not work eeprom
Thu Dec 02 2010, 10:33 am
#78
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
Thu Dec 02 2010, 11:19 pm
#79
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
Thu Dec 02 2010, 11:27 pm
#80
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

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

ArnoldDiant
Fri Apr 26 2024, 03:53 am
RodneyKnorb
Thu Apr 25 2024, 07:08 pm
Williamjef
Thu Apr 25 2024, 02:08 pm
SamuelSmise
Thu Apr 25 2024, 09:56 am
DustinErele
Thu Apr 25 2024, 08:44 am
ztaletpzca
Wed Apr 24 2024, 11:19 pm
IrardlPex
Wed Apr 24 2024, 08:42 pm
Charlestehed
Wed Apr 24 2024, 05:20 pm