free 8051 Microcontroller Projects AVR PIC Microcontroller Projects Tutorials Ebooks Libraries, interfacing tutorials, lcd tutorial, stepper motor, dc motor 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems

 
8051 microcontroller 8051 microcontroller
Forums

Go to page  [1] 2
Moderators: Ajay, Junied , abbas1707, Arun Kumar V, pdi33, Shailesh NAYAK, ۞ TPS ۞, shyam, sashijoseph
Author Post
kunal
Wed Jun 27 2007, 09:03AM
 User Offline
Registered Member #1785
Joined: Mon Jun 25 2007, 10:42PM

Posts: 5
Thanked 0 times in 0 posts
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?



Back to top

LCD simulation in Keil   debugging LCD code in keil   keil software LCD simulation   LCD simulation   


Ajay
Thu Jun 28 2007, 04:31AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4042
Thanked 752 times in 711 posts
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.

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


kunal
Thu Jun 28 2007, 09:40AM
 User Offline
Registered Member #1785
Joined: Mon Jun 25 2007, 10:42PM

Posts: 5
Thanked 0 times in 0 posts
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...
Back to top


Ajay
Thu Jun 28 2007, 01:15PM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4042
Thanked 752 times in 711 posts
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

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


kunal
Fri Jun 29 2007, 09:37AM
 User Offline
Registered Member #1785
Joined: Mon Jun 25 2007, 10:42PM

Posts: 5
Thanked 0 times in 0 posts
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
Back to top


Ajay
Sun Jul 01 2007, 05:25AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4042
Thanked 752 times in 711 posts
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:



www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top

LCD simulation Keil   debugging LCD code in keil   keil software LCD simulation   LCD simulation   


kunal
Mon Jul 02 2007, 10:15AM
 User Offline
Registered Member #1785
Joined: Mon Jun 25 2007, 10:42PM

Posts: 5
Thanked 0 times in 0 posts
hey i trust you dude......but its not working with me
pls chk the sample program........is it ok?
Back to top


Ajay
Mon Jul 02 2007, 11:00AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4042
Thanked 752 times in 711 posts
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

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


darshini
Wed Oct 03 2007, 07:01AM
 User Offline
Registered Member #4055
Joined: Wed Sep 19 2007, 03:59AM

Posts: 23
Thanked 0 times in 0 posts
i need a LCD simulator..help!!!
Back to top


Ajay
Wed Oct 03 2007, 08:59AM
Rickey's World Admin

 User Offline

Registered Member #1
Joined: Fri Feb 24 2006, 04:56AM

Posts: 4042
Thanked 752 times in 711 posts
darshini wrote ...

i need a LCD simulator..help!!!

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

www.rickeyworld.info
If you feel satisfied with the user's forum reply please click on the thank button.

Obey forum rules!
Respect others!
Back to top


Go to page  [1] 2  

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System

8051 Microcontroller Projects 8051 AVR tutorials PIC microcontroller, 8051 assembly language programming electronics and communication ECE CSE pdf ebooks library BE final year project ideas Embedded systems