Yahoo Groups archive

AVR-Chat

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

Thread

lcd with atmega16

lcd with atmega16

2008-09-14 by kostas panakis

i am new to avr and i want to use an lcd 2x16

i use atmega16 with 4mhz clock  
i use the portB as an output with 

RS--> B.0

R/W-->B.1

E-->B.2

AND I HAVE ALSO THE DATABITS OF LCD FROM (0-7) TO PORTC

ALSO 

lcdbit1-->+5V

lcdbit0--> gnd

i take temprature from adc and i put it in a variable t

also speed from encoder to a variable s

can you help me a little 

i want to know how it works the lcd

and an easy way to send the temprature & speed to the lcd and to see them

i have made alot of programs but they didnt work





	
	 
	
	








	


	
	


      

[Non-text portions of this message have been removed]

Re: [AVR-Chat] lcd with atmega16

2008-09-14 by John Samperi

At 02:23 AM 15/09/2008, you wrote:
>AND I HAVE ALSO THE DATABITS OF LCD FROM (0-7) TO PORTC

What language are you using for the controller?

If you are using portc you MUST disable JTAG or pc2-pc5
cannot be used.

Regards

John Samperi

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

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.