Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: kupter on January 06, 2011, 12:32:02 AM

Title: (ASK)interface LCD2x16 to atmega32
Post by: kupter 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
Title: Re: (ASK)interface LCD2x16 to atmega32
Post by: KurtEck 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

Title: Re: (ASK)interface LCD2x16 to atmega32
Post by: TrickyNekro 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 (http://www.societyofrobots.com/robotforum/index.php?topic=11081.msg84161#msg84161)