Communicating with LK202-25 using Atmega32

LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT Series

Moderators: Henry, Mods

Post Reply
aouarra
LCD?
Posts: 1
Joined: Sun Nov 11, 2007 5:39 pm

Communicating with LK202-25 using Atmega32

Post by aouarra »

Hi,

I trying to communicate with the LCD LK202-25 using the Atmega32. I wrote a simple code but I am getting the wrong data. I know that the atmega32 delivers TTL data. do i need MAX232 in order to connect to the LCD ? another question if I don t need the MAX232 what is the problem ?

Best Regards,

Amen
Raquel
Matrix Orbital
Matrix Orbital
Posts: 834
Joined: Thu Aug 19, 2004 3:37 pm
Location: MO Office

Post by Raquel »

Hello aouarra,

Thanks for your post.

The LK202-25 has the ability to communicate in RS232, TTL or I2C. I have not checked the data sheet for the ATmega32 but I am certain that the output of its USART are at TTL levels. If you put the LK202-25 in TTL mode (please section 2.3 of the manual), then you can connect the display directly to the RX and TX pins of the uC.

Please let me know how it turns out.
Raquel Malinis
Design and Development
Matrix Orbital
Post Reply