Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] LCD 4 rows -

2007-02-22 by John Samperi

At 05:20 PM 22/02/2007, you wrote:
>I'm using Atmega8535 and Atmega8515L.

Then you have 2 choices, 8 bit mode and 4 bit mode as you
have lots of pins to play with.

In 8 bit mode just wire 1 of the 8 bit port to the data pins
of the lcd, then you need power, a contrast pot and 3 additional
pins for the control of the LCD (RS,R/W and E).

For 4 bit mode the diagram on my website will work and for 8 bit mode
you will just need to wire the 8 bits of the I/O port to your lcd
as well as the other pins.

How are you planning to program your chip? If you use Codevision C
compiler you already have a code template built in and don't have to
do too much work, I think there is also a lcd driver with Bascom (basic).

There are also lots of sample code for WINAVR GCC and should be able to
get some code for assembler, there may be one on www.avrbeginners.net
in fact you should be able to get all the info there.




Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
Website  http://www.ampertronics.com.au
*Electronic Design * Custom Products * Contract Assembly
********************************************************

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.