Discussion in "General help Guidance and Discussion" started by    majoka    Jan 1, 2011.
Sat Jan 01 2011, 07:16 PM
#1
hi all members
as u all knows new year starts on this occasion i want to give a gift to this forum
in Proteus 40x4 LCD is modeled as MDLS40466
according to data sheets and manuals of lcd it is just like a 2 lcds of 20x4
and its memory map is as described in link
http://web.alfredstate.edu/weimandn/lcd/lcd_addressing/lcd_addressing_index.html
40x4 lcd has two enable pins as E1 is for ROW1 and ROW2
E2 is for ROW3 and ROW4
40x4 lcd has two controller in it first controller controls the ROW1 and ROW2 and 2nd controller control ROW3 and ROW4
when i make a code and send these strings to lcd in Proteus it not show ROW2 and ROW4 properly as there is a problem in Proteus model
i send these strings


lcdcmd1(0x80);
wrt_string1(" Hello Rickey's World ");
lcdcmd1(0xc0);
wrt_string1(" Happy New Year 2011 ");
lcdcmd2(0x80);
wrt_string2(" May This Forum Live Long ");
lcdcmd2(0xc0);
wrt_string2(" Happy New Year to all Friends ");



and Proteus result is as




it is not displaying the ROW2 and ROW4 properly but according to its manual it should be ok
after two days struggle i came to know that Proteus has problem with this model
i really thankful to my friend Fragrance on www.edaboard.com
he make a Proteus model for this 40x4 lcd i use that model with LCD2X.MDF and MDLS40466.Lib file in fact he make these files but i see once problem there also that is ROW2 and ROW3 uses same location and ROW2 and ROW3 overlaps as shown below but now i able to show it on line 2 properly





then i open the file LCD2X.MDF with notpad and see this properties

*PARTLIST,2    
U1,HD44780,HD44780,CLOCK=<CLOCK>
,ELEMENT=0,MODDLL=LCDALPHA,
NUMCOLS=<NUMCOLS>
,NUMROWS=<NUMROWS>
,PRIMITIVE=DIGITAL,
ROW1=<ROW1>
,ROW2=<ROW2>
U2,HD44780,HD44780,CLOCK=<CLOCK>
,ELEMENT=1,MODDLL=LCDALPHA,
NUMCOLS=<NUMCOLS>
,NUMROWS=<NUMROWS>
,PRIMITIVE=DIGITAL,
ROW2=<ROW3>
,ROW3= <ROW4>


i edit it a little as

*PARTLIST,2    
U1,HD44780,HD44780,CLOCK=<CLOCK>
,ELEMENT=0,MODDLL=LCDALPHA,
NUMCOLS=<NUMCOLS>
,NUMROWS=<NUMROWS>
,PRIMITIVE=DIGITAL,
ROW1=<ROW1>
,ROW2=<ROW2>
U2,HD44780,HD44780,CLOCK=<CLOCK>
,ELEMENT=1,MODDLL=LCDALPHA,
NUMCOLS=<NUMCOLS>
,NUMROWS=<NUMROWS>
,PRIMITIVE=DIGITAL,
ROW3=<ROW3>
,ROW4=<ROW4>


and save the file after editing now again run the Proteus
wow this was the output on lcd





now it is ready to using with Proteus
now u will think how we can create own libraries in Proteus
for that download Proteus vsm SDK that can be downloaded from here i yet not read it
http://rapidshare.com/files/69946430/Proteus_VSM_SDK.rar
here is a complete code and files used for this lcd
as i also doing it on hardware and will post the result of hardware working soon...
hope so on this occasion u all like this


Attachment


[ Edited Sat Jan 01 2011, 07:30 PM ]
 kirangowle like this.
Tags 40x4 lcd simulation proteusproteus lcd simulation4 line lcd simulationalphanumeric lcd simulation proteus
Wed Jan 05 2011, 03:20 PM
#2
wow what a find Majoka

great work..!
Sun Jan 16 2011, 06:03 AM
#3
Nice work mojaka
Sun Jan 16 2011, 06:24 PM
#4
thank u ajay and kiran
Mon Jan 17 2011, 04:25 AM
#5
Majoka nice job ...

Get Social

Information

Powered by e107 Forum System

Conversation

Sun Dec 08 2019, 04:50 PM
Marti Ogrady
Take advantage of this great service today:
Thu Nov 21 2019, 12:30 PM
raj2555
how to interface 8051 microcontroller with NRF24L01+ module
ExperimenterUK
Sat Oct 12 2019, 10:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 10: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, 07:37 AM
Nathaniel
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, 08:48 PM
Caryn Kover
Thank you for your time,
ExperimenterUK
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 04:33 PM
Ismail balghmi
Hello. Please I won't download
ExperimenterUK
Wed Jul 24 2019, 12:47 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 06:13 PM
BUSTER123
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.

Downloads

Comments

nabiha_anaya
Sun Dec 08 2019, 09:16 AM
ananyagupta
Tue Dec 03 2019, 07:53 AM
wells
Mon Nov 25 2019, 08:25 PM
auwal
Tue Nov 19 2019, 03:13 PM
ANKITPATEL
Mon Nov 18 2019, 11:00 AM
Casmir
Wed Nov 13 2019, 06:25 AM
DeepakBGattani
Mon Nov 11 2019, 01:31 PM
Jeanbusatta
Sun Nov 10 2019, 04:42 AM

Online

Guests: 58, Members: 0 ...

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

Members: 38108
Newest member: nabiha_anaya
Forum Activity
ilylily07 Avatar
Posted By ilylily07
Sun Dec 08 2019, 01:24 PM
Hi .im humbly ask for your advice as i wrongly pur...
nabiha_anaya Avatar
Posted By nabiha_anaya
Sun Dec 08 2019, 09:19 AM
My teacher assign me a project on "voice control h...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Nov 29 2019, 04:24 AM
" Is it possible to interface a fingerprint scanne...
ilylily07 Avatar
Posted By ilylily07
Thu Nov 28 2019, 03:50 PM
You will not find any code for an 8051 as no one w...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 26 2019, 05:44 PM
You will not find any code for an 8051 as no one w...
ilylily07 Avatar
Posted By ilylily07
Tue Nov 26 2019, 04:13 AM
I tracked down a OV7670 data sheet.The OV7670 puts...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 26 2019, 12:08 AM
I tracked down a OV7670 data sheet.The OV7670 puts...
ilylily07 Avatar
Posted By ilylily07
Mon Nov 25 2019, 04:38 PM
The 8051 has too little memory to do anything us...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Nov 19 2019, 10:44 PM
The 8051 has too little memory to do anything us...
ilylily07 Avatar
Posted By ilylily07
Mon Nov 18 2019, 09:54 AM
0v7670 camera interfacing with stc 8051.using asse...