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

Sat May 15 2021, 11:47 AM
Derek Wolcott
Geometric Energy Corporation announced the dogecoin-funded mission on Sunday, with DOGE-1 representing a 40 kilogram cube satellite flying as a payload on a Falcon 9 rocket.
Thu May 13 2021, 07:18 PM
Rufus
Pretty section of content. I just stumbled upon your weblog and in accession capital to assert that I get actually enjoyed account your blog posts. Any way I will be subscribing to your augment and even I achievement you access consistently quickly. https://mkfinstitute.com Trisha Trisha
Wed May 12 2021, 01:23 PM
Jed Roan
Now you can promote your site all over the internet for FREE: http://www3.listofsitesthatacceptfreeads.club
Wed May 12 2021, 08:20 AM
Edgardo
If some one wants to be updated with most recent technologies afterward he must be visit this web page and be up to date every day. annual credit report https://creditscoresetf.com
Wed May 12 2021, 06:11 AM
Laurinda
Great website. A lot of useful information here. I'm sending it to some pals ans also sharing in delicious. And of course, thanks on your effort! annual credit report https://creditscorecheckn.com

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 122, Members: 0 ...

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

Members: 38215
Newest member: Mirza123