Author Topic: (ASK)interface LCD2x16 to atmega32  (Read 2485 times)

0 Members and 1 Guest are viewing this topic.

Offline kupterTopic starter

  • Jr. Member
  • **
  • Posts: 18
  • Helpful? 0
(ASK)interface LCD2x16 to atmega32
« on: January 06, 2011, 12:32:02 AM »
 I want to connect lcd to micro, for lib i use lcd.h and rprintf.. my question is what port i use to send command and can somebody give me schematic how connect between them......

sory for my bad english

best regard's

Offline KurtEck

  • Robot Overlord
  • ****
  • Posts: 217
  • Helpful? 12
Re: (ASK)interface LCD2x16 to atmega32
« Reply #1 on: January 06, 2011, 08:55:10 AM »
A lot depends on what type of LCD are you using?  Are you using a parallel one which requires either 4 or 8 signal pins plus some other IOs, or are you using a serial LCD.  In that case you typically need 1 signal pin outputting data at some specific baud rate.  With a serial LCD it is easiest to hookup to the one hardware serial port on the Atmega32.  If that one is taken for other things than you need to generate the appropriate serial data yourself...   Or you could use libraries like webbotlib to do this for you.

But again this all depends on what LCD you are using.

Good Luck
Kurt


Offline TrickyNekro

  • Contest Winner
  • Supreme Robot
  • ****
  • Posts: 1,208
  • Helpful? 15
  • Hardware and Firmware Designer
    • The Hellinic Robots Portal
Re: (ASK)interface LCD2x16 to atmega32
« Reply #2 on: January 07, 2011, 06:42:33 AM »
Take a look here... This is a library I developed...

It's pretty strain, no funny stuff... and such...

But will do the trick.... It should be also easy enough to read through it...

http://www.societyofrobots.com/robotforum/index.php?topic=11081.msg84161#msg84161
For whom the interrupts toll...

 


Get Your Ad Here