Securepoint USB LCD using EA-DOG

In difference to the original, i've added two more keys. Because LCDproc won't interpret the Keys as bitmap, i've changed the firmware to return scancodes directly (1 = Key1 [ESC], 2 = Key2 [UP], 3 = Key3 [ENTER], 4 = Key4 [DOWN]) to keep it all compatible to the existing hardware. If you press two keys at the same time, this could not be recognized anymore. (But since LCDproc will only generate a "keypress" on each single key this makes no sense.)

Configuring LCDproc:
The two line LCD is completely compatible.
If you want to use the three line display you have to change some parameters in LCDd.conf.
Because the second line starts directly after the first in DDRAM it is linear addressed. You have to enable Extended_Mode.
Extended_Mode=1

Every next line starts 16 Dec or 0x10 Hex positions forward.
Default in Extended_Mode is 0x20. This setting may be overrided with the new (since version 0.5-dev) added parameter Line_Address.
Line_Address=0x10

Default settings for the contrast value are 440 (3 line LCD) and 200 (2 line LCD).
Contrast=440

All other settings are well described in the LCDproc user guide.

Attention: If you compile the Atmel firmware you may have to set the number of display lines in the ea-dog.h. (#define LINES 2)

Downloads:
- Layout, schematics, pictures
- Firmware for Mega48


Picture: LCD inside a piranja

Todo:
- Test stability
- Change the charset for umlauts
- Write more documentation


To be continiued :-)
Last changed 27. May 09

Prev Page

Optimiert für Mozilla Firefox bei einer Bildschirmauflösung von min 1024x768 | (c) 2001 - 2010 by www.MALTEPÖGGEL.de    
de
en
Bookmark and Share