Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

hd44780 interface ATMEL microcontroller

Discussion about LCD's and other related hardware

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351, hydrolisk1792

Post Reply
myrto
Posts: 1
Joined: February 23rd, 2006, 6:33 pm

hd44780 interface ATMEL microcontroller

Post by myrto »

hi there, i just started workin on me project, i'll be getting data from an atmel microcontroller and what i have to do is the to write a code in C language to display this data on an LCD screen, so far i've only connceted the lcd to the atmel evaluation board, it's me first time using c language, so i just started learning it from scratch today, what part do i have to know the most in C for me to write the program, The evaluation board am going to use is AT91EB55 and the processor is AT91M55800A, using the ecos real-time operating system with redboot on linux, any help would be appreciated..

thank you

ReverseEngineered
Plugin Author
Posts: 192
Joined: January 18th, 2006, 11:09 pm
Location: Saskatoon, Saskatchewan, Canada

Post by ReverseEngineered »

Wow, talk about an undertaking. If you check the Hardware Discussion forums we have a very active post about making an AVR serial backpack. I have used both an ATmega16 and ATmega8 to create a serial-to-LCD adapter. All of the C code you need for initializing and accessing the LCD can be found there. Of course, you'll need to change the pin names and such, since you aren't using an AVR. Also, I'm not familiar with any real-time operating systems.

It sounds like you are diving head first into a very complicated project. Skip the RTOS for now, and start with writing basic C programs to write to LEDs and read from switches on your evaluation board. Then start using the timers, interrupts, and PWM. Once you have that, then write code to initialize and display a line on the LCD. Finally, get the RTOS setup and do it all again in there. If you can do all of that, you're set.

For information on using LCDs, do a quick search on Google for HD44780. You will find several webpages (though unfortunately incomplete) that will describe all of the signals and processes involved.

Post Reply