| About: |
An LCD demo for a 16x2 monochrome liquid-crystal display with the Hitachi HD44780 or compatible controller IC |
| Start date: |
03/03/2011 |
| Last changed: |
27/09/2012 |
Index
All YOU NEED TO KNOW ABOUT THIS PROJECT
This sketch is used for testing the lcd.createChar function. It first
shows some text and than scrolls a space-invader pixel by pixel.
So Guess what I came up with. :-D Ok, so it might be possible to drive
every pixel on the LCD screen. Not really, it's more like a code for
every 5x8 pixels. The Lcd has 16 characters on 2 lines. So one could
move the character over the first line, by redrawing every character 1 pixel to the right. This means that for a character moving you'll
need more then 5 drawings. I'll show you for better comprehension, with a
space invader.
I'll put the bit code underneath it. (only the bit part)
 As you can see, you'll need more than 8 individual characters. But you only have room for, you say? Well that's way we won't put them in memory in setup, but in the loop, when we need them.
HARDWARE REQUIRED
- Arduino Board
- LCD screen (compatible with Hitachi HD44780 driver)
- 10k Potentiometer
- breadboard
- hook-up wire
CIRCUIT OR SCHEMATIC
image developed using Fritzing. For more circuit examples, see the Fritzing project page
VIDEO
LINKS
The ARDUINO forum post where you can discuss this project: http://arduino.cc/forum/index.php/topic,54195.0.html
A website with an LCD character generator: http://mikeyancey.com/hamcalc/lcd_characters.php
Tutorial on Arduino and monochrome LCD: http://tronixstuff.wordpress.com/2011/01/08/tutorial-arduino-and-monochrome-lcds/
FILES TO DOWNLOAD
|