Discussion in "8051 Discussion Forum" started by    romel_emperado    Nov 3, 2010.
Sat Nov 06 2010, 10:33 AM
i think i need some help with this. .. help! i dont know how to simulate this codes.. :/

i want to make a proteus model from this code but my problem is i can not find the pins used in this code.. i dont know which port i will connect the lcd since i cant understand what is in the code.. :/


[ Edited Sat Nov 06 2010, 10:41 AM ]
Sat Nov 06 2010, 10:36 AM
sorry i forgot to attach the code..
Sat Nov 06 2010, 04:01 PM
hi romel port pins are in code
in fact 3310 lcd accept data serially is different from normal lcd
2 or 3 pins are needed for this lcd
Sun Nov 07 2010, 01:27 AM
halu majoka. I see the ports now its declared in LCD.h but why is that i cannot compile it? it always shows this error.

i cannot trace what is causing this such error. i change this to #inlcude<reg51.h> , #inlcude<reg52.h> but no luck.. huhu

*** WARNING C318 IN LINE 16 OF NOKIA3310DRIVER\LCD.H: can't open file 'AT89X51.H'

*** WARNING C318 IN LINE 16 OF NOKIA3310DRIVER\LCD.H: can't open file 'AT89X51.H'
NOKIA3310DRIVER\LCD.C(127): error C202: 'P2_1': undefined identifier
NOKIA3310DRIVER\LCD.C(129): error C202: 'P2_2': undefined identifier
NOKIA3310DRIVER\LCD.C(131): error C202: 'P2_2': undefined identifier
NOKIA3310DRIVER\LCD.C(133): error C202: 'P2_1': undefined identifier
NOKIA3310DRIVER\LCD.C(142): error C202: 'P2_3': undefined identifier
NOKIA3310DRIVER\LCD.C(143): error C202: 'P2_4': undefined identifier
NOKIA3310DRIVER\LCD.C(145): error C202: 'P2_4': undefined identifier
NOKIA3310DRIVER\LCD.C(151): error C202: 'P2_3': undefined identifier
NOKIA3310DRIVER\LCD.C(152): error C202: 'P2_4': undefined identifier
NOKIA3310DRIVER\LCD.C(154): error C202: 'P2_4': undefined identifier
NOKIA3310DRIVER\LCD.C(177): error C202: 'P2_5': undefined identifier
NOKIA3310DRIVER\LCD.C(178): error C202: 'P2_4': undefined identifier
NOKIA3310DRIVER\LCD.C(179): error C202: 'ES': undefined identifier
NOKIA3310DRIVER\LCD.C(181): error C202: 'ES': undefined identifier
Target not created

i did editing the ports assignment whatever comes my mind but no luck

[ Edited Sun Nov 07 2010, 01:30 AM ]
Sun Nov 07 2010, 08:41 AM
hi romel
here is the required headerfile
copy it in ur folder where all files are
then error will be remove
this file is in keil folder that i give u the link there is a header folder where all files r u can copy from there

 romel_emperado like this.
Sun Nov 07 2010, 09:30 AM
thanks majoka. it is now okay..
questin. where did u get that file?

i can now edit and simulate the code i want.. thanks...
Sun Nov 07 2010, 09:46 AM
hi romel
this file is in keil setup which i give u
open that keil folder goto header file there is a file
copy from that location to where ur making a keil project
u can download it from atmel side too
Sun Nov 07 2010, 10:24 AM
ah okay majoka.. thanks very much your my hero.. hehe


thanks i have now my custom display on the 3310 LCD.
my next goal is to make a digital clock with this type of LCD.. im working on it now.. thanks guys....
Sun Nov 07 2010, 10:47 AM
hi romel
i collect three mobiles from scratch
one is T210i of sony ericsion
nokia 1100
nokia 3310

T210i was not getting on i open it clear its all part replace battery noe it is ok i am using it now as a 2nd mobile
1100 is ok
i think 3310 is dead so i will put out its lcd for experiments
also tries these for controlling devices

[ Edited Sun Nov 07 2010, 10:48 AM ]
Sun Nov 07 2010, 11:14 AM
weeee!! i will wait for your projects soon ..... good health majoka ! stay the same..

by the way do u know how to repair mobile phones?

Get Social


Powered by e107 Forum System


Wed Jan 22 2020, 01:16 PM
I m getting errors while simulation process during interfacing socket output and lcd... Can i get the report of ur project which is same as us.
Tue Jan 14 2020, 02:08 AM
shubham kharade
when i am trying to simulate the program in Proteus 8 professional, I am getting some errors as cannot find module file dhtxx.md can u help me
Tue Dec 17 2019, 08:44 AM
hello..i am programming industrial timer using 8051 with 24lc64 eeprom. i have query in storing the 3 diff value in eeprom with enter button. can anyone share c code ?
Tue Dec 17 2019, 05:30 AM
Hello. Can anyone share the code in Bascon and scheme in Proteus?
Thu Nov 21 2019, 07:30 AM
how to interface 8051 microcontroller with NRF24L01+ module
Sat Oct 12 2019, 05:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 05:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 02:37 AM
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 03:48 PM
Caryn Kover
Thank you for your time,
Mon Aug 05 2019, 02:09 PM
@Ismail ..post in forum, give details



Thu Jan 23 2020, 11:47 AM
Sun Jan 19 2020, 02:13 AM
Sat Jan 11 2020, 10:42 AM
Tue Jan 07 2020, 06:53 PM
Tue Jan 07 2020, 12:42 PM
Sun Dec 29 2019, 05:54 AM
Fri Dec 27 2019, 06:14 PM
Sat Dec 14 2019, 12:31 PM


Guests: 42, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38117
Newest member: brucewilliams20
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jan 17 2020, 10:24 PM
We will need the circuit diagram.A Proteus simulat...
Billz Avatar
Posted By Billz
Sat Jan 11 2020, 05:43 PM
hi everyone please attached files are my c code fo...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Jan 07 2020, 08:18 PM
Not a stupid question.Setting up "Eclipse" can be...
elt Avatar
Posted By elt
Tue Jan 07 2020, 07:06 PM
So i have just began learning programming micros a...
Billz Avatar
Posted By Billz
Mon Jan 06 2020, 09:22 PM
I think it would be better if you guys try to come...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Jan 06 2020, 12:22 AM
Can you post a circuit diagram and any code you ha...
Billz Avatar
Posted By Billz
Sun Jan 05 2020, 08:17 PM
Need help regarding C code (specifically for PIC 1...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Dec 30 2019, 06:42 PM
Can you give more details of your problem.
Rupeshpatil Avatar
Posted By Rupeshpatil
Fri Dec 27 2019, 06:21 PM
How to copy program my old microcontroller to new ...
ilylily07 Avatar
Posted By ilylily07
Thu Dec 12 2019, 02:26 PM
wil do.thank you for your advice!