Ovládání grafického displaye EL16032A pomocí linky RS232

Loading...
Thumbnail Image

Downloads

4

Date issued

Authors

Matoušek, Miroslav

Journal Title

Journal ISSN

Volume Title

Publisher

Vysoká škola báňská - Technická univerzita Ostrava

Location

Signature

Abstract

This bachelor labour presents dealing operation of graphic LCD display controlled by microchip ATtiny2313 from ATMEL. Another task is to create application for Linux operating system. This application communicates with the microchip via the serial interface RS232. With this application is possible to show simple graphic elements on the display. This work was built on the application from Ing. David Seidl, that allows communication with the display in the text mode. This application was designed for 4-bit parallel mode. For graphics mode it was necessary to select 8-bit parallel mode, because the 4-bit did not work correctly. For serial communication was used function of microchip UART and also integrated circuit MAX232 for voltage conversion. Application for the serial port uses termios.h library, which allows the required serial port settings. Applications for the Linux operating system and program for the microprocessor was programmed in C. The final program for the microchip is able to communicate with the LCD display both in text and in graphics mode. Original text mode has been extended by loading data from the display, graphics mode includes function to draw one point.By use this method is possible to draw a simple graphical elements through the servicing application.

Description

Import 11/07/2012

Subject(s)

LCD, graphic display, microprocessor, programming, communications via serial interface

Citation