Discussion in "Project Doubts" started by    kunal    Jun 27, 2007.
Wed Jun 27 2007, 04:03 PM
#1
hey guys,

i m not able to use the lcd addon for keil.
i have installed it properly and even the option in the peripherals option is visible.
but i m not able simulate it.
i have tried different configurations.
is there some configuration error or something else?

Tags LCD simulation in Keildebugging LCD code in keilkeil software LCD simulationLCD simulation
Thu Jun 28 2007, 11:31 AM
#2
you first need to add an LCD module and then.. do step by step execution, it will show you the commands you send etc.. it help you analyze the programming is ok or not.
Thu Jun 28 2007, 04:40 PM
#3
i have installed it correctly.
what shall i write in the configuration box?
and i am using a special header for lcd, hope that is not a problem.
it is in 4-bit mode.
pls help its urgent.
can u show a demo or a complete step by step procedure with an example code.....that will surely solve my problem...
Thu Jun 28 2007, 08:15 PM
#4
well.. download the all in one LCD library as example for LCD. configure the port you are going to use..
after that...
when you debug...
--
1. right click and add LCD.
2. select the make.. simple to select
3. set the ports you are using.. in the boxes.. set them as.. D:0x... some number the port you are using for LCD. e.g if you are using P0 then you can set as. D:0x80 etc.
there is a yellow '?' button is there.. to help you out.
4. start debugging.

Note: it has only 4-bit interface.. not 8-bit
----
hope this helps you
Fri Jun 29 2007, 04:37 PM
#5
i downloaded d library...n i added the foll prog

void main()
{
lcd_init();
disp_str ("hello");
while(1);
}

still not working.....

have you personally tested this addon ?
i have been working with a lcd header very often
i need this simulator badly....please help

do you have any messenger id.....n at wat time wil u b der
Sun Jul 01 2007, 12:25 PM
#6
its working for me.. please make sure you set the ports.. correctly.. and of course the coding.. that does matter...!!

here is the screen-shot for 8-bit LCD Simulation


4-bit LCD simulation Screen-shot:

Tags LCD simulation Keildebugging LCD code in keilkeil software LCD simulationLCD simulation
Mon Jul 02 2007, 05:15 PM
#7
hey i trust you dude......but its not working with me
pls chk the sample program........is it ok?
Mon Jul 02 2007, 06:00 PM
#8
actually it will be better if you write program in your own way. i give you steps..!
send first init value - 0x30
send second init value - 0x30
send third init value - 0x30
Set the data width - 0x20
then send function set - 0x28
after that other commands.

after that it will give you the desired results just want to say.. check coding
Wed Oct 03 2007, 02:01 PM
#9
i need a LCD simulator..help!!!
Wed Oct 03 2007, 03:59 PM
#10


i need a LCD simulator..help!!!

darshini


sure i am here to help.. what is the problem?

Get Social

Information

Powered by e107 Forum System

Conversation

Sun Oct 13 2019, 02:02 AM
Aline Hutchinson
Hey there,
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.
ExperimenterUK
Thu Jul 11 2019, 07:55 PM
@ramos https://www.theengineeringprojects.com/2017/09/l298-motor-driver-library-proteus.html

Downloads

Comments

Sat Oct 05 2019, 02:38 PM
zexalo
Thu Oct 03 2019, 09:53 AM
thanhle12345
Thu Oct 03 2019, 07:37 AM
ramon_vsc
Fri Sep 20 2019, 04:53 PM
youssoufba
Thu Sep 19 2019, 11:57 AM
Taiphan000
Tue Sep 17 2019, 04:21 AM
mawantha
Fri Sep 13 2019, 10:42 AM
jonelily954
Mon Sep 02 2019, 12:34 PM

Online

Guests: 54, Members: 0 ...

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

Members: 38095
Newest member: [email protected]
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Oct 13 2019, 06:10 PM
This code does some scrolling.You will need to fin...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Oct 12 2019, 10:19 PM
This code does not scroll, that will be complicate...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sat Oct 12 2019, 06:44 AM
Sir, Please share code, i m unable to scroll messa...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Oct 12 2019, 02:45 AM
Okay I got it !Data is not automatically passed on...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Fri Oct 11 2019, 05:36 AM
please find below attachment. Att...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Oct 11 2019, 02:33 AM
You seem to be 95% of the way there.Can you post y...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Thu Oct 10 2019, 07:49 AM
sir, i m trying to scroll message on dot matrix di...
ExperimenterUK Avatar
Posted By ExperimenterUK
Thu Oct 10 2019, 01:31 AM
max 7219 dout pin not giving serial out data.Try t...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Wed Oct 09 2019, 08:48 AM
Dear sirall dot matrix display scroll same data.
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Wed Oct 09 2019, 08:46 AM
please find below attachment of circuit diagram. ...