Author Topic: LCD INTERFACING WITH AVR  (Read 15785 times)

0 Members and 1 Guest are viewing this topic.

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: LCD INTERFACING WITH AVR
« Reply #30 on: April 10, 2008, 11:07:13 AM »
sooner or later some c programmer will reply, anyway thanks for all the help ,hope someone who has done lcd interfacing with help of c will post :)
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline pomprocker

  • Supreme Robot
  • *****
  • Posts: 1,431
  • Helpful? 16
  • Sorry miss, I was giving myself an oil-job.
    • Nerdcore - Programming, Electronics, Mechanics
Re: LCD INTERFACING WITH AVR
« Reply #31 on: April 10, 2008, 03:42:02 PM »
just include the lcd header file in the SoR utils header.


then in your main you would just use a


printf("blah blah blah");

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,165
  • Helpful? 111
    • Webbot stuff
Re: LCD INTERFACING WITH AVR
« Reply #32 on: April 10, 2008, 06:21:19 PM »
Quote
sooner or later some c programmer will reply, anyway thanks for all the help ,hope someone who has done lcd interfacing with help of c will post
I doubt it!

So you have an LCD  that you don't know if its serial/parallel, don't have spec sheets, don't know how it works, can't give much info - but you expect us 'mere programmers' to tell you how to make everything work!

My only advice would be to have an infinite number of monkeys with an infinite number of keyboards and eventually they may be able to create something that works. Code monkies  ;D

Ask specific questions: not 'I have a really cheap something - how do I make it work'. Quick answer is "buy something that is known to work"
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: LCD INTERFACING WITH AVR
« Reply #33 on: April 11, 2008, 12:02:24 AM »
man give relevant answers , i know it is parallel lcd and i know that i have to initialize everything myself , i was justt looking for someone who knows c and has one it bfore so that ill be knowing what to do just not merely doing a hit and trial analysis with the lcd
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline JesseWelling

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 707
  • Helpful? 0
  • Only You Can Build A Robot!
Re: LCD INTERFACING WITH AVR
« Reply #34 on: April 11, 2008, 06:46:56 AM »
If you want to learn you are going to have to take an active part in your own education.

I don't mean to be a prick, but I'll always think twice now before helping you.

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: LCD INTERFACING WITH AVR
« Reply #35 on: April 11, 2008, 11:01:28 AM »
sorry man , well what i meant is that i go through some code esamples in C so that i would atleast have an idea of what iam doing, i didnt meant to be harsh its just that iam highly tensed doing this project which requires lcd, uart and also rf communication , sorry if i have hurt anyone..
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline benji

  • Supreme Robot
  • *****
  • Posts: 830
  • Helpful? 0
Re: LCD INTERFACING WITH AVR
« Reply #36 on: April 11, 2008, 01:59:33 PM »
as i said before , googling such a thing would help you better

-search for lcd.h
-dowload it
-if you want to know how it works read whats inside the functions and the lcd driver datasheet

you can post an lcd funcion here if you dont uinderstand how it works and we may help
good ol' BeNNy

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: LCD INTERFACING WITH AVR
« Reply #37 on: April 11, 2008, 02:02:23 PM »
yes ill do that thanks for all ur help jesse did get angry on m for my useless bragging , really sorry abt that
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: LCD INTERFACING WITH AVR
« Reply #38 on: April 20, 2008, 03:04:44 PM »
superchiku, all the answers are in the datasheet, and my tutorials explain exactly how to do it.

My code does it all for you.

You just need to think and do it. Spend a good 30 min trying to solve your problem before asking a question - that way you don't ask 'dumb' questions, and not get 'useless' answers.

Just take the time -> only you can build your own robot :P

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: LCD INTERFACING WITH AVR
« Reply #39 on: April 27, 2008, 07:32:05 AM »
well iam doing it all because i dont want to be dependant on your given functions , there is no problem in learning it myself and thats why my question sounds dumb coz all the people here are so dependant on the admin's function that they are telling me just use rprintf and you will get your answers , i dont wanna do that , i want to learn it myself which i will eventually even if no on helps me..

sorry if i sounded rude on that ... i just dont want to spoon feed myself
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: LCD INTERFACING WITH AVR
« Reply #40 on: April 29, 2008, 02:55:49 PM »
Under that same logic, why are you buying sheets of plastic when you can manufacture your own by mixing chemicals? Why not make your own homemade capacitors and LEDs? At some point, you need to decide that you are making a robot and not the individual components.

If your goal is to learn how the uart works, by all means read the AVR datasheet for details. But if your goal is to get an LCD to work, use someone else's serial code :P

(btw, I didn't write rprintf, its from AVRlib ;))

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: LCD INTERFACING WITH AVR
« Reply #41 on: May 01, 2008, 12:27:16 AM »
well we can keep something for ourselves isnt it sir , the serial code is for serial lcd's but mine isnt one so that was the problem but ill get it to work somehow no worries :)
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: LCD INTERFACING WITH AVR
« Reply #42 on: May 03, 2008, 05:13:31 PM »
well...
I have the answer which is not mine... but from a fellow guy back at the old days of prototyping at my old forum...
He got the attiny2313 to fully control an LCD via UART... and well it's easy (using BASCOM... there is a ready to use piece of code as an example...)

The bad thing for you is that it's documented in Greek... ha... sorry translate it...
I may have a tutorial about how's this is done... on AVRs but in summer...

I got my board exams in 16 days... ha!!! And I'm done with school... yea!

Well, I always talk too much... here is the link... enjoy people...
http://www.ptyxiouxos.net/greekbotics/e107/news.php?extend.62
« Last Edit: May 03, 2008, 05:14:44 PM by TrickyNekro »
For whom the interrupts toll...

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: LCD INTERFACING WITH AVR
« Reply #43 on: May 04, 2008, 06:18:47 AM »
hmm mine is a parallel lcd  :-\
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: LCD INTERFACING WITH AVR
« Reply #44 on: May 04, 2008, 08:31:53 AM »
But yes... that's the concept!!!

He gets a parallel LCD and they via a attiny2313 makes serial connection possible...
it's an add on the parallel LCD... not an LCD...
For whom the interrupts toll...

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: LCD INTERFACING WITH AVR
« Reply #45 on: May 04, 2008, 10:19:17 AM »
is it in english?
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: LCD INTERFACING WITH AVR
« Reply #46 on: May 04, 2008, 11:02:09 AM »
nope... use babel fish man...
Although it's a nice tutorial... it will show you even how to change the fuse bit in the Attiny2313...

Cheers,
Lefteris
For whom the interrupts toll...

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: LCD INTERFACING WITH AVR
« Reply #47 on: May 04, 2008, 11:36:50 AM »
babel fish?
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: LCD INTERFACING WITH AVR
« Reply #48 on: May 04, 2008, 11:47:05 AM »
Well, there is a word named google but... never mind... :P

look here:
http://babelfish.altavista.com/
For whom the interrupts toll...

Offline superchikuTopic starter

  • Supreme Robot
  • *****
  • Posts: 952
  • Helpful? 5
  • cooll
Re: LCD INTERFACING WITH AVR
« Reply #49 on: May 05, 2008, 11:48:14 AM »
nice 1  ;)
JAYDEEP ...

IT AND ROBOTICS ENGINEER

"IN THE END IT DOESNT EVEN MATTER"

 


Get Your Ad Here